-
Carousel II and Lightbox 2.03a
I'm also interested in how this can be done!
do I need to insert
onclick="myLightbox.start(this);return false;"
in the link section of the code or do I have to write somthing else in!
please advise!
Last edited by jscheuer1; 02-05-2009 at 07:04 AM.
Reason: moved from old thread
-
-
I'm sure what needs to be edited is this part of the code
for(var i=0;i<params.images.length;i++){
images[i]=img.cloneNode(true);
images[i].src=params.images[i];
if(params.links&¶ms.links[i]&¶ms.links[i]!=''){
images[i].onclick=new Function("window.location='"+params.links[i]+"'");
images[i].style.cursor=document.all?'hand':'pointer';
}
I tried
images[i].onclick=new Function("window.location='"+params.links[i]+"' rel="lightbox"");
and also
images[i].rel=lightbox
didn't work
oh yeah, also I'm using this version of carousel
http://www.dynamicdrive.com/dynamici.../carousel2.htm
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks