I have used the lightbox script on older versions of wsnlinks without problems.
I am now trying to set it up on the latest version and cannot get it to work. It's not the script, as it works fine on a static page, just not with wsnlinks anymore. I am guessing that there is now some sort of conflict with the latest version.
I am really desperate to either get this working or find a script that will do the same thing, including being able to view the next attachment without closing the window. I cannot afford to pay as it is for a non-profit club that is short on funds.
(EDIT) According to this thread www.webmastersite.net/forum...hreads/thickbox--9067.html thickbox (which appears to do the same thing) is included in WSNLinks - but I can't find any information on it and have no idea how to implement it. Searching the web I found that you need to put class="thickbox" in the a href tag - tried that but it stopped the image showing altogether!
jquery/thickbox-compressed.js is autoincluded everywhere already, yes. http://jquery.com/demo/thickbox/ tells me that thickbox is no longer being developed so I guess I'll have to eventually look for a replacement.
Are you using the lightbox jquery plugin -- http://leandrovieira.com/projects/jquery/lightbox/ -- or the regular lightbox? I'd recommend the jquery one since WSN uses jquery. Hopefully I can find a chance to play around with using it for WSN Classifieds or the like.
I'm playing around with the jquery one and I like it, so I'm going to replace the clunky slideshow option with it in 6.0. Here's what it's looking like so far:
Comments on lightbox
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
I have used the lightbox script on older versions of wsnlinks without problems.
I am now trying to set it up on the latest version and cannot get it to work. It's not the script, as it works fine on a static page, just not with wsnlinks anymore. I am guessing that there is now some sort of conflict with the latest version.
I am really desperate to either get this working or find a script that will do the same thing, including being able to view the next attachment without closing the window. I cannot afford to pay as it is for a non-profit club that is short on funds.
(EDIT) According to this thread www.webmastersite.net/forum...hreads/thickbox--9067.html thickbox (which appears to do the same thing) is included in WSNLinks - but I can't find any information on it and have no idea how to implement it. Searching the web I found that you need to put class="thickbox" in the a href tag - tried that but it stopped the image showing altogether!
HELP!
TIA
Jill
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
jquery/thickbox-compressed.js is autoincluded everywhere already, yes. http://jquery.com/demo/thickbox/ tells me that thickbox is no longer being developed so I guess I'll have to eventually look for a replacement.
Are you using the lightbox jquery plugin -- http://leandrovieira.com/projects/jquery/lightbox/ -- or the regular lightbox? I'd recommend the jquery one since WSN uses jquery. Hopefully I can find a chance to play around with using it for WSN Classifieds or the like.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
Hi Paul
It's the original regular version of lightbox. TBH I don't know anything about jquery (embarrassed to say never heard of it!!)
I'll take a look at that
(edit) oh blimey! that's beyond me I'm afraid
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I'm playing around with the jquery one and I like it, so I'm going to replace the clunky slideshow option with it in 6.0. Here's what it's looking like so far:
Attached Files:
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
I know it's me as I really don't understand the code, but I can't get it to work.
www.papillonclub.co.uk/papi...hampionship-show--406.html
I put the jquery.lightbox-0.5.js file in the jquery folder
In the morejavascript.txt file I added:
<script type="text/javascript" src="http://www.papillonclub.co.uk/jquery/jquery.lightbox-0.5.js"></script>
In the documentread.txt file I added:
$(function() {
$('a[@rel*=lightbox]').lightBox();
});
What have I missed or done wrong?
Jill
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Drop the $(function() { and });
Then use rel="lightbox" in the links. Also make sure you've added the CSS.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
[sigh] nope - that doesn't work either
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Well, it's pre-integrated in the current 6.0.0 Beta 4 release.