Results 1 to 8 of 8

Thread: i see dead people

  1. #1
    Join Date
    Nov 2005
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default i see dead people

    well, not actually dead people, just red x's.....here's my problem, i copied and pasted the code, from the "conveyor belt slideshow " page.... the problem is im not directing it to my images folder, the right way, i guess.....i really could use some help..i've looked all over for tutorials. for 2 days!....to no avail maybe you guys can help..... i use dreamweaver.... the name of my site is "trailerparc" and my images folder is "psimages".....im just wondering , is there more to it than copying and pasting....and fixing the code?.....




    anyway heres mycurrent code.....

    and if anyone can fixit that would be awsome , either way thanks..

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head><script type="text/javascript">

    /***********************************************
    * Conveyor belt slideshow script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    ***********************************************/


    //Specify the slider's width (in pixels)
    var sliderwidth="300px"
    //Specify the slider's height
    var sliderheight="150px"
    //Specify the slider's slide speed (larger is faster 1-10)
    var slidespeed=3
    //configure background color:
    slidebgcolor="#EAEAEA"

    //Specify the slider's images
    var leftrightslide=new Array()
    var finalslide=''
    leftrightslide[0]='<a href="http://trailerparc"><img src="psimages/joe.jpg" border=1></a>'
    leftrightslide[1]='<a href="http://trailerparc"><img src="psimages/joe1.jpg" border=1></a>'
    leftrightslide[2]='<a href="http://trailerparc"><img src="psimages/joe.jpg" border=1></a>'
    leftrightslide[3]='<a href="http://trailerparc"><img src="psimages/joe1.jpg" border=1></a>'
    leftrightslide[4]='<a href="http://trailerparc"><img src="psimages/joe2.jpg" border=1></a>'

    //Specify gap between each image (use HTML):
    var imagegap=" "

    //Specify pixels gap between each slideshow rotation (use integer):
    var slideshowgap=5


    ////NO NEED TO EDIT BELOW THIS LINE////////////

    var copyspeed=slidespeed
    leftrightslide='<nobr>'+leftrightslide.join(imagegap)+'</nobr>'
    var iedom=document.all||document.getElementById
    if (iedom)
    document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+leftrightslide+'</span>')
    var actualwidth=''
    var cross_slide, ns_slide

    function fillup(){
    if (iedom){
    cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2
    cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3
    cross_slide.innerHTML=cross_slide2.innerHTML=leftrightslide
    actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth
    cross_slide2.style.left=actualwidth+slideshowgap+"px"
    }
    else if (document.layers){
    ns_slide=document.ns_slidemenu.document.ns_slidemenu2
    ns_slide2=document.ns_slidemenu.document.ns_slidemenu3
    ns_slide.document.write(leftrightslide)
    ns_slide.document.close()
    actualwidth=ns_slide.document.width
    ns_slide2.left=actualwidth+slideshowgap
    ns_slide2.document.write(leftrightslide)
    ns_slide2.document.close()
    }
    lefttime=setInterval("slideleft()",30)
    }
    window.onload=fillup

    function slideleft(){
    if (iedom){
    if (parseInt(cross_slide.style.left)>(actualwidth*(-1)+8))
    cross_slide.style.left=parseInt(cross_slide.style.left)-copyspeed+"px"
    else
    cross_slide.style.left=parseInt(cross_slide2.style.left)+actualwidth+slideshowgap+"px"

    if (parseInt(cross_slide2.style.left)>(actualwidth*(-1)+8))
    cross_slide2.style.left=parseInt(cross_slide2.style.left)-copyspeed+"px"
    else
    cross_slide2.style.left=parseInt(cross_slide.style.left)+actualwidth+slideshowgap+"px"

    }
    else if (document.layers){
    if (ns_slide.left>(actualwidth*(-1)+8))
    ns_slide.left-=copyspeed
    else
    ns_slide.left=ns_slide2.left+actualwidth+slideshowgap

    if (ns_slide2.left>(actualwidth*(-1)+8))
    ns_slide2.left-=copyspeed
    else
    ns_slide2.left=ns_slide.left+actualwidth+slideshowgap
    }
    }


    if (iedom||document.layers){
    with (document){
    document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
    if (iedom){
    write('<div style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden">')
    write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background-color:'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">')
    write('<div id="test2" style="position:absolute;left:0px;top:0px"></div>')
    write('<div id="test3" style="position:absolute;left:-1000px;top:0px"></div>')
    write('</div></div>')
    }
    else if (document.layers){
    write('<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu" bgColor='+slidebgcolor+'>')
    write('<layer name="ns_slidemenu2" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
    write('<layer name="ns_slidemenu3" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
    write('</ilayer>')
    }
    document.write('</td></table>')
    }
    }
    </script>

    <p align="center"><font face="Arial" size="-2">Free DHTML scripts provided by<br>
    <a href="http://dynamicdrive.com">Dynamic Drive</a></font></p>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>

    <body>
    </body>
    </html>

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Try calling up one of the images directly inside your browser window, such as:

    http//www.mysite.com//psimages/joe.jpg

    assuming that's the full path to the first image in question. If it works (you see an image in your browser), then you shouldn't be seeing red x's.

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

    Dead people, usually that is because the image files are not on the server. Or if they are, the path to them in the code is incorrect. Spelling and capitalization count:

    image.jpg

    Image.jpg

    image.JPG

    and

    IMAGE.jpg

    are all different on the web, not so on a local demo page.

    Also, the only two images I could find on your site were in:

    http://www.trailerparc.com/images/

    and your site's address is:

    http://www.trailerparc.com/

    Find out where they are using your FTP or whatever application shows you the locations and names of the files on your server.
    - John
    ________________________

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

  4. #4
    Join Date
    Nov 2005
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default ddamin t tried that

    i tried to open an image in my browser but it didnt work....so then i tried it with images i know for sure are on my site....it didnt work for them either....am i making this harder than what i need to....im racking my brain with this.........but if everything came easy i guess it would take the fun out of " all this "

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

    Here is a link to an image actually on your site:

    http://www.trailerparc.com/images/Picture%20051.jpg
    - John
    ________________________

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

  6. #6
    Join Date
    Nov 2005
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    tell u what....i just got to work for my default image folder....actually coming up in the browser i mean.....but cant i have a exsternal folder for images if i want...idk... thanks for all and any help...

  7. #7
    Join Date
    Nov 2005
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks everyone...i got it to work..........you guys rock....thanks

  8. #8
    Join Date
    Dec 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm seeing dead people (err red x's) too. The images I put there are fine, it's a little red x at the end of the slide show I can't get rid of. DD's page never said anything about uploading another image (ie: clear.gif) and I can't seem to find another reference to an image in the script.

    When I click on the red x's properties I get what looks like a link back to the homepage but when you click on it all you get is http:///

    Here's the page with the slideshow:
    http://www.geocities.com/beamsfeline/pix.htm

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
  •