I bought a template, that I’ve been editing in Dreamweaver.
I wanted to add the pop-up function that lightbox has, and tried on my own but can’t figure it out.
I could use some step-by-step instructions explained to an idiot..(i.e. a ‘this code goes in line 26’ type deal)…if you feel like explaining why, that’d be awesome too, so this way i can learn what’s going on in my template’s coding…
The jquery lightbox plugin I was using is the leandro vieira one, and below is the code for one of the particular pages on my site. I don’t know if you need to also edit any of the .js files .css files? am i providing enough info for you to help me? Anyway, any help is really appreciated.
Download the zip file from
http://leandrovieira.com/projects/jquery/lightbox/
Find the file jquery.lightbox-0.5.pack.js and stick it in your js folder in your project.
After the existing line
put the line
Find the css file in the zip, jquery.lightbox-0.5.css, and put it in your css folder.
After the existing line:
put the line
Replace the line:
with
(you have to create the thumbnail image yourself)
Then, just above the closing body tag add the following: