Skip to content

Zoombox is an easy to use Javascript class that allow you to overlay images and videos on the current page.

Notifications You must be signed in to change notification settings

oussama-aitmi/Zoombox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zoombox

Zoombox is an easy to use Javascript class that allow you to overlay images and videos on the current page.

Set up

First, place the whole directory "Zoombox" at the root of your website :

1- Zoombox uses 2 different Javascript scripts that you will have to import in this exact same order (in or just before ) <script type="text/javascript" src="/zoombox/jquery.js"></script> <script type="text/javascript" src="/zoombox/zoombox.js"></script> 2- Link the CSS file to your page in the

How it works ?

1- add rel="zoombox" onto your links in order to add the Zoombox effect Link 2- if you would like a group of pictures, you will have to mention a group name in brackets image 1 image 2 image 3 3- You can also mention a length and a height to the Box, rel="zoombox 800 600", in case of a link which is not a picture

Use

Dont hesitate to contact me if you have any other idea of additional links.

ChangeLog

** v1.1.0 (14/11/2009) ** New sourcecode (commented in english) New configuration variables You can customize the box editing both CSS and HTML Structure. You can now launch Zoombox with the function zoombox.open(url,largeur,hauteur) ** v1.0.1 (22/12/2008) ** Keyboard is now supported (you can use arrows to switch between images in a galery and echap to close Zoombox) ** v1.0.0 (09/03/2008) : ** Class Zoombox created Resizing pictures when the picture height is too big

FAQ

Can I modify the file ? Yes, but you will have to inform me of the changes you’ve done

About

Zoombox is an easy to use Javascript class that allow you to overlay images and videos on the current page.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 52.1%
  • HTML 30.2%
  • CSS 17.7%