PDA

View Full Version : I apply but do not work:Ultimate Fade-in slideshow (v1.51)



leonidassavvides
03-17-2008, 05:11 PM
Ultimate Fade-in slideshow (v1.51)http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

I apply to http://www.polis-realestate.eu but do not work , i apply to the template to many pages, there's a date script in the page(js) ... tell me what to do to make the slide show work ... ?

the banner appears upper left corner, just below date .

http://www.polis-realestate.eu/Templates/HP-template-3.dwt

kuau
03-17-2008, 10:49 PM
You made a mistake in the list of images. You have two 5's. Change it to 6 and it will work. erin :)


var fadeimages=new Array()
fadeimages[0]=["images/gif/banner/akamas2.jpg", "http://www.polis-realestate.eu/polis.htm", "_new"] //plain image syntax
fadeimages[1]=["images/gif/banner/cbv2.jpg", "http://www.polis-realestate.eu/villasforrent/christinabeach.htm", "_new"] //image with link syntax
fadeimages[2]=["images/gif/banner/cv2.jpg", "http://www.polis-realestate.eu/villasforrent/christina.htm", "_new"] //image with link and target syntax
fadeimages[3]=["images/gif/banner/dimitria2.jpg", "http://www.polis-realestate.eu/villasforrent/dimitria.htm", "_new"] //image with link and target syntax
fadeimages[4]=["images/gif/banner/kolectivavillas009s2.jpg", "http://www.polis-realestate.eu/villasforrent/kolectivavilla1.htm", "_new"] //image with link and target syntax
fadeimages[5]=["images/gif/banner/loura2.jpg", "http://www.polis-realestate.eu/villasforrent/loura3.htm", "_new"] //image with link and target syntax
fadeimages[5]=["images/gif/banner/river.jpg", "http://www.polis-realestate.eu/villasforrent/riverview.htm", "_new"] //image with link and target syntax
fadeimages[7]=["images/gif/banner/savvas2.jpg", "http://www.polis-realestate.eu/villasforrent/savvasvilla1.htm", "_new"] //image with link and target syntax

thetestingsite
03-17-2008, 10:52 PM
Find this in the script (on your page) and fix the highlighted part.



var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["images/gif/banner/akamas2.jpg", "http://www.polis-realestate.eu/polis.htm", "_new"] //plain image syntax
fadeimages[1]=["images/gif/banner/cbv2.jpg", "http://www.polis-realestate.eu/villasforrent/christinabeach.htm", "_new"] //image with link syntax
fadeimages[2]=["images/gif/banner/cv2.jpg", "http://www.polis-realestate.eu/villasforrent/christina.htm", "_new"] //image with link and target syntax
fadeimages[3]=["images/gif/banner/dimitria2.jpg", "http://www.polis-realestate.eu/villasforrent/dimitria.htm", "_new"] //image with link and target syntax
fadeimages[4]=["images/gif/banner/kolectivavillas009s2.jpg", "http://www.polis-realestate.eu/villasforrent/kolectivavilla1.htm", "_new"] //image with link and target syntax
fadeimages[5]=["images/gif/banner/loura2.jpg", "http://www.polis-realestate.eu/villasforrent/loura3.htm", "_new"] //image with link and target syntax
fadeimages[5]=["images/gif/banner/river.jpg", "http://www.polis-realestate.eu/villasforrent/riverview.htm", "_new"] //image with link and target syntax
fadeimages[7]=["images/gif/banner/savvas2.jpg", "http://www.polis-realestate.eu/villasforrent/savvasvilla1.htm", "_new"] //image with link and target syntax



Change the 5 to a 6 and you should be fixed.

Hope this helps.

Sorry kuau, posted at the same time.

leonidassavvides
03-30-2008, 04:53 PM
slides (two total) work in homepage http://www.polis-realestate.eu/ but not to subpages in other folders[when 2 level not one level) like :
http://www.polis-realestate.eu/property-buy/apartments/akamasvillageargaka.htm

what to do ?

kuau
03-30-2008, 07:12 PM
Dear Leonida: In both cases for the second link, it cannot locate the images because your file path seems to be incorrect somehow. You are telling it to look in buy/images/gif/banner/ where buy is a folder below where the page is located . As I do not know what your directory structure is, I cannot tell you what it should be. Personally I do not like to use relative paths. Most hosts set your docroot to your domain root so you could just state the path from the root. For example, let's assume your images are in a folder from the root /buy/images/gif/banner/. Then you would define it as follows:


fadeimages[0]=["/buy/images/gif/banner/akamas2.jpg", "http://www.polis-realestate.eu/polis.htm", "_new"]

The path looks questionable in the second slideshow. Should it be 'banner/' instead of 'banner1'?

fadeimages2[0]=["/buy/images/gif/banner1arrow1.jpg", "http://www.polis-realestate.eu/", "_new"]

I would delete all those comments on each line (eg. //image with link syntax).

Does this make sense? erin :)

leonidassavvides
03-30-2008, 09:49 PM
to work I must write somethink like
fadeimages[0]=["../../images/gif/banner/akamas2.jpg", "http://www.polis-realestate.eu/polis.htm", "_new"] //plain image syntax

rather

fadeimages[0]=["../images/gif/banner/akamas2.jpg", "http://www.polis-realestate.eu/polis.htm", "_new"] //plain image syntax