What is bumpbox?

Bumpbox is another lightbox clone with a few advantages over other lightboxes - it supports not only all common media types but also PDF's.

Yet, the integration and implementation on your own site is pretty simple. Just add the scripts to your head section, add classes to your links that should use bumpbox, define a rel tag with the size that the bumpbox should have and you're ready to roll.

Bumpbox automatically detects what kind of filetype you wish to show in the box, so you do not need to specify the type, easing the process of integration.

Bumpbox works in all major browsers, including IE6.

Update 22-05-2010: No more PDF plugin required! PDF's are included by google docs viewer. Make sure your PDF is available online and add a full path.

Try the demos:

 

 

 

Inline content

This is some inline content which is hidden onload, and then displayed in the bumpbox accordingly

Simply give your inline content an ID, fill it with content. Reference the hidden content by using the bumpbox, assigning the href tag with a "^".

For example, this content's DIV ID is "myDIV" and the bumpbox link href has the content href="^myDIV". That's it.