Monday, 4 June 2012

Adding Content - Posters

For my posters I wanted to have a lightbox gallery so the images wouldn't take up too much space, unless the user wanted to zoom in on them. I had to add jQuery for lightbox to my site, and then add some css for the gallery.
This is the HTML for the gallery. I made thumbnail images which then link to the full images. I then had to link it to the Javascript by adding rel="lightbox". The [roadtrip] part of the code is so the user can scroll through the light box using left and right arrows.
This the CSS for the lightbox gallery.

No comments:

Post a Comment