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 03-27-2009, 08:27 AM Litebox not working
Skilled Talker

Posts: 68
Trades: 0
Can anyone tell me why the litebox wouldn't be working on this - http://kayzoesolutions.com/client/la...ntitled-1.html Thanks.
kayla2 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-27-2009, 09:00 AM Re: Litebox not working
SolidEagle's Avatar
Experienced Talker

Posts: 30
Name: Arjan Nijmeijer
Location: Stadskanaal
Trades: 0
I've read the lightbox page (http://www.huddletogether.com/projects/lightbox/) and it said the following:

Add rel="lightbox" attribute to any link tag to activate the lightbox. For

example:
<a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>

when I looked at your source code I didn't found a rel="lightbox"

I hope this works ^^
__________________
The Eagle Soars Above You!

Please login or register to view this content. Registration is FREE
SolidEagle is offline
Reply With Quote
View Public Profile
 
Old 03-27-2009, 09:09 AM Re: Litebox not working
Skilled Talker

Posts: 68
Trades: 0
Sorry, I was just trying with that first picture (I have the rel="lightbox" there) and it's not working.
kayla2 is offline
Reply With Quote
View Public Profile
 
Old 03-27-2009, 09:16 AM Re: Litebox not working
SolidEagle's Avatar
Experienced Talker

Posts: 30
Name: Arjan Nijmeijer
Location: Stadskanaal
Trades: 0
Could you try to change:

<script type="text/javascript" src="lightbox.js" rel="stylesheet" /></script>

into:

<script type="text/javascript" src="lightbox.js" /></script>

See if something happens
__________________
The Eagle Soars Above You!

Please login or register to view this content. Registration is FREE
SolidEagle is offline
Reply With Quote
View Public Profile
 
Old 03-27-2009, 09:22 AM Re: Litebox not working
Skilled Talker

Posts: 68
Trades: 0
No, still a no go. Could the other script be interfering?
kayla2 is offline
Reply With Quote
View Public Profile
 
Old 03-27-2009, 09:26 AM Re: Litebox not working
SolidEagle's Avatar
Experienced Talker

Posts: 30
Name: Arjan Nijmeijer
Location: Stadskanaal
Trades: 0
Could be... but I don't thinks so....

btw there are a few other things which aren't legal:

<title><script language="php">include("$Home_Path/$Inc_Dir/metatitle.php");</script></title>
<script language="php">include("$Home_Path/$Inc_Dir/meta.php");</script>
<script language="php">include("$Home_Path/$Inc_Dir/style.php");</script>

to use php you have to use:

<?php //your php code goes here; ?> instead of <script language="php">



could you btw try to edit the src of the javascript in: http://kayzoesolutions.com/client/la...ks/lightbox.js

like:

<script type="text/javascript" src="http://kayzoesolutions.com/client/lawnstorks/lightbox.js" /></script>

Just to test if something will happen
__________________
The Eagle Soars Above You!

Please login or register to view this content. Registration is FREE
SolidEagle is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Litebox not working
 

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 1.00512 seconds with 12 queries