Results 1 to 6 of 6

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

  1. #1
    Join Date
    Oct 2004
    Posts
    425
    Thanks
    4
    Thanked 1 Time in 1 Post

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

    Ultimate Fade-in slideshow (v1.51)http://www.dynamicdrive.com/dynamici...nslideshow.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/Templ...template-3.dwt

  2. #2
    Join Date
    Sep 2007
    Location
    Maui
    Posts
    642
    Thanks
    284
    Thanked 15 Times in 15 Posts

    Default

    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

  3. #3
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Find this in the script (on your page) and fix the highlighted part.

    Code:
    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.

    Edit: Sorry kuau, posted at the same time.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  4. #4
    Join Date
    Oct 2004
    Posts
    425
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default slides (two total) work in homepage but not to subpages in other folders ?

    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/prope...lageargaka.htm

    what to do ?

  5. #5
    Join Date
    Sep 2007
    Location
    Maui
    Posts
    642
    Thanks
    284
    Thanked 15 Times in 15 Posts

    Default

    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:

    Code:
    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'?
    Code:
    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

  6. #6
    Join Date
    Oct 2004
    Posts
    425
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    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

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
  •