View Full Version : Ultimate Fadein Slideshow Help: No Links
AndreaKay
07-30-2008, 05:29 AM
1) Script Title: Ultimate Fadein Slideshow
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.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.
rangana
07-30-2008, 06:28 AM
Just set the picture and nothing else on the array:
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:
['image','link','target']
Hope that makes sense.
AndreaKay
07-30-2008, 03:47 PM
Okay, That is one thing I tried that already and it didn't work before. Now it does. Thank you!
jscheuer1
07-30-2008, 04:00 PM
In your source code, some of the arry entries still have links:
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:
fadeimages2[0]=["http://img504.imageshack.us/img504/4697/mainpicw01ii5.png", "", ""]
Which makes the entire script barf in IE.
Powered by vBulletin® Version 4.2.2 Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.