Looking for lightbox alternitive that can...

General Discussion about Mootools 1.2

Moderator: 1.2 Moderators

Looking for lightbox alternitive that can...

Postby dayv2005 on Mon Mar 23, 2009 3:24 pm

Hi, new to the forum.

I am looking for a mootools lightbox alternitive (or anything that can do this). That can display a hidden div (preferably not in an iframe) in the lightbox effect. The other thing i need to be able to do is to have it displayed via javascript.

I can't find one that can do this or i can't find good enough documentation to do it correctly with the ones that i tried (ie. milkbox, slimbox, etc...).

Similar to this.

  1.  
  2. <script>
  3. function addNode(){
  4. //display lightbox
  5. }
  6. </script>
  7.  
  8. <body>
  9.  
  10. <div id="hiddendiv" style="display:none;">
  11. this is the hidden dive i want to display when addnode is ran.
  12. </div>
  13. </body>
  14.  



This is just a sample markup not syntactically correct. Just wanted to get a better idea out there.

Any help is appreciated and thanks in advance.
dayv2005
 
Posts: 3
Joined: Wed Mar 18, 2009 4:55 pm

Re: Looking for lightbox alternitive that can...

Postby pmk65 on Mon Mar 23, 2009 8:35 pm

Not written in Mootools, but check out Shadowbox.
http://mjijackson.com/shadowbox/

It's compatible with *ALL* Javascript frameworks, using an adapter system.
And I haven't seen any lightbox clones with as many features as this.. (You can view images, html pages, flash, video and script content inside the lightbox. And the lightbox window is template based, so you can create new templates with different buttons/positions etc.)
User avatar
pmk65
 
Posts: 10
Joined: Wed Mar 11, 2009 9:31 pm
Location: Denmark

Re: Looking for lightbox alternitive that can...

Postby dayv2005 on Mon Mar 23, 2009 9:10 pm

Thank you very much. I ended up finding FLoatbox and it worked perfect for me and what i needed to accomplish.
dayv2005
 
Posts: 3
Joined: Wed Mar 18, 2009 4:55 pm


Return to General

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest