Results 1 to 3 of 3

Thread: :: Presentational Slideshow Script link issues

  1. #1
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default :: Presentational Slideshow Script link issues

    1) :: Presentational Slideshow Script

    2) http://www.dynamicdrive.com/dynamici...ationslide.htm


    3) how can i disable link to the first drop image?
    i have droplinks[0]=""
    and the first image only is clickable to homepage?

    thank you

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Find the startit() function:

    Code:
    function startit(){
    var crossobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas)
    crossobj.innerHTML='<a href="'+droplinks[curimageindex]+'"><img src="'+dropimages[curimageindex]+'" border=0></a>'
    rotateimage()
    }
    Replace it with this one:

    Code:
    function startit(){
    var crossobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas)
    crossobj.innerHTML=(droplinks[curimageindex]? '<a href="'+droplinks[curimageindex]+'">' : '') +
    '<img src="'+dropimages[curimageindex]+'" border=0>' + (droplinks[curimageindex]? '</a>' : '');
    rotateimage()
    }
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thank you for your quick response, it worked

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
  •