Reply
Lightbox help
Old 05-02-2008, 09:09 AM Lightbox help
BrandBurnMedia's Avatar
Extreme Talker

Posts: 193
Name: David
Location: Minnesota,USA
I recently downloaded Lightbox 2 (http://www.huddletogether.com/projec...tbox2/#example) so I downlaoded and saved all files/folders to the folder my website is in. I placed the 3 javascript lines right below my header and I placed the CSS style sheet file line right below the 3 javascript lines in the header.

Then I added the rel="lightbox" comment in my image tag which was (img src="name.jpg" rel="lightbox">Text Here</a>

But nothing shows, no image even appears, just the text title of image.

what am I screwing up on? I'm doing this all offline, i'm not doing any online updates on this project yet.
__________________
Hello!
BrandBurnMedia is offline
Reply With Quote
View Public Profile
 
Sponsored Links (We share ad revenue):
 
Old 05-02-2008, 12:08 PM Re: Lightbox help
ooyes's Avatar
Skilled Talker

Posts: 54
Name: Web Design Company
Location: London
do you supply the right image path??
__________________
Website design
ooyes is offline
Reply With Quote
View Public Profile Visit ooyes's homepage!
 
Old 05-02-2008, 12:42 PM Re: Lightbox help
LadynRed's Avatar
Super Moderator

Posts: 5,542
Location: Tennessee
You also need to be sure that all the JS files are in the same directory and the paths are correct in your html file.

You might also need to modify the lightbox.js, some configuration here:
Quote:
var fileLoadingImage = "images/loading.gif";
var fileBottomNavCloseImage = "images/closelabel.gif";
Also make sure your gallery linking is right on your thumbnails, the rel="lightbox" needs to go on the <a> tag, like this:

<a href="images/pic.jpg" rel="lightbox" title="xxxx"><img src="images/thumbnail.jpg" width="100" height="100" alt="photo" /></a>
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-02-2008, 03:38 PM Re: Lightbox help
BrandBurnMedia's Avatar
Extreme Talker

Posts: 193
Name: David
Location: Minnesota,USA
I'll go try that in a little bit thanks.
__________________
Hello!
BrandBurnMedia is offline
Reply With Quote
View Public Profile
 
Old 05-03-2008, 12:27 AM Re: Lightbox help
BrandBurnMedia's Avatar
Extreme Talker

Posts: 193
Name: David
Location: Minnesota,USA
Thanks LadynRed, I did what yea said and works great now! Thanks for the help.
__________________
Hello!
BrandBurnMedia is offline
Reply With Quote
View Public Profile
 
Sponsored Links (We share ad revenue):
 
Reply     « Reply to Lightbox help
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML


Page generated in 0.14685 seconds with 14 queries