Results 1 to 5 of 5

Thread: Another slideshow question

  1. #1
    Join Date
    Jun 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Another slideshow question

    1) Script Title: Ultimate slideshow

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

    3) Describe problem: Cant get the images to display.

    The following code gives me a cursor that I can click on and it will take me to the coreect link, but I cannot see the images.

    I've have tried and tried to get this to work.

    Please help.

    Thanks.

    This in the <head>

    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://www.phuketpropertyandhomes.com/image-files/psd.jpg", "http://www.projectsuppliesdirect.com", "_new"];
    fadeimages2[1]=["http://www.phuketpropertyandhomes.com/image-files/helicamad.jpg", "http://www.helicam-asia.com", "_new"];
    fadeimages2[2]=["http://www.phuketpropertyandhomes.com/image-files/absolute.jpg", "http://www.seapearl-beach.com", "_new"];

    This is in the <body>

    <script type="text/javascript">
    //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
    new fadeshow(fadeimages2, 150, 113, 0, 3000, 1, "R")
    </script>


    Thanks.

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

    Default

    Just looking at the code you posted above, I can't see anything out of the ordinary that would cause an issue, so ...
    Please post a link to the page on your site that contains the problematic script so we can check it out.
    "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

  3. #3
    Join Date
    Jun 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks for looking at the code.

    The page I'm using to test this is


    http://www.phuketpropertyandhomes.co...rchitects.html

    Thanks again.

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

    Default

    Remove the highlighted code on your page:

    Code:
    if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
    document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div></div>')
    else
    document.write('<div><img name="defaultslide'+this.slideshowid+'" src="http://www.phuketpropertyandhomes.com/'+this.postimages[0].src+'"></div>')
    Hope this helps.
    "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

  5. The Following User Says Thank You to thetestingsite For This Useful Post:

    rcroome (06-04-2008)

  6. #5
    Join Date
    Jun 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    This may sound wierd, but I didn't put that url in the code and when I go to look at it, it isn't there.

    Somehow it gets added when the page loads. Is this possible?

    This is how it looks in my file when I upload it to the server.

    if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
    document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filterrogidXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filterrogidXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div></div>')
    else
    document.write('<div><img name="defaultslide'+this.slideshowid+'" src="http://www.phuketpropertyandhomes.com/'+this.postimages[0].src+'"></div>')


    I see it now has the url once I paste it here.

    However, if I just paste the bit from document.write as I have below, the URL is not present.

    Can you explain what is happening?

    I hope so.

    document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')

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
  •