Results 1 to 4 of 4

Thread: Ultimate Fadein Slideshow Help: No Links

  1. #1
    Join Date
    Jul 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ultimate Fadein Slideshow Help: No Links

    1) Script Title: Ultimate Fadein Slideshow

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm

    3) Describe problem:
    First off, I love the script. It took me forever to find on for image fading.
    BUT my problem is I do NOT want linking on my images. How do I make my fading images without linking? What do I need to fix in the code to make it not use links?
    Please help someone, I am getting disappointed and frustrated with this.
    Thanks.

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Just set the picture and nothing else on the array:
    Code:
    var fadeimages=new Array()
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages[0]=["photo1.jpg", "", ""] //plain image syntax
    fadeimages[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
    fadeimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax
    The one highlighted does'nt have a link. Do the same thing if you hate to see the link.

    The array is arrange in this manner:
    Code:
    ['image','link','target']
    Hope that makes sense.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  3. #3
    Join Date
    Jul 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Okay, That is one thing I tried that already and it didn't work before. Now it does. Thank you!
    Last edited by AndreaKay; 07-30-2008 at 03:59 PM.

  4. #4
    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

    In your source code, some of the arry entries still have links:

    Code:
    var fadeimages=new Array()
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages[0]=["photo1.jpg", "", ""] //plain image syntax
    fadeimages[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
    fadeimages[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax
     
    var fadeimages2=new Array() //2nd array set example. Remove or add more sets as needed.
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages2[0]=["http://img504.imageshack.us/img504/4697/mainpicw01ii5.png" "", ""]
    fadeimages2[1]=["http://img178.imageshack.us/img178/667/mainpicw02vu0.png", "", ""]
    fadeimages2[2]=["http://img75.imageshack.us/img75/9374/mainpicw03jm8.png", "", ""]
    fadeimages2[3]=["http://img397.imageshack.us/img397/1686/mainpicw04fo8.png", "", ""]
    
    var fadeimages3=new Array() //2nd array set example. Remove or add more sets as needed.
    //SET IMAGE PATHS. Extend or contract array as needed
    fadeimages3[0]=["photo1.jpg", "", ""] //plain image syntax
    fadeimages3[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
    fadeimages3[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax
    var fadebgcolor="white"
    And, you are missing a comma here:

    Code:
    fadeimages2[0]=["http://img504.imageshack.us/img504/4697/mainpicw01ii5.png", "", ""]
    Which makes the entire script barf in IE.
    - John
    ________________________

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

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
  •