Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



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

Posts: 204
Name: David
Location: Minnesota,USA
Trades: 0
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.
__________________
Low cost, custom made web designs! Contact me for more information.
BrandBurnMedia is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-02-2008, 12:08 PM Re: Lightbox help
ooyes's Avatar
Skilled Talker

Posts: 55
Name: Web Design Company
Location: London
Trades: 0
do you supply the right image path??
__________________

Please login or register to view this content. Registration is FREE
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
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
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 !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

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: 204
Name: David
Location: Minnesota,USA
Trades: 0
I'll go try that in a little bit thanks.
__________________
Low cost, custom made web designs! Contact me for more information.
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: 204
Name: David
Location: Minnesota,USA
Trades: 0
Thanks LadynRed, I did what yea said and works great now! Thanks for the help.
__________________
Low cost, custom made web designs! Contact me for more information.
BrandBurnMedia is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Lightbox help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.32986 seconds with 12 queries