Results 1 to 2 of 2

Thread: Carousel II and Lightbox 2.03a

  1. #1
    Join Date
    Feb 2009
    Posts
    10
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Arrow 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

  2. #2
    Join Date
    Feb 2009
    Posts
    10
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Default

    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&&params.links[i]&&params.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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •