Web Analytics Made Easy -
StatCounter Here is how I changed it?? - CodingForum

Announcement

Collapse
No announcement yet.

Here is how I changed it??

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Here is how I changed it??

    Ok here's how I changed it. I don't want it clickable and it doesn't work
    Here is what that looks like at the actual page I want it at, even though my images are on a page called Images.


    <script language="JavaScript1.2">
    /*
    Left-Right image slideshow Script-
    By Dynamic Drive (www.dynamicdrive.com)
    For full source code, terms of use, and 100's more scripts, visit http://dynamicdrive.com
    */
    ///////configure the below four variables to change the style of the slider///////
    //set the scrollerwidth and scrollerheight to the width/height of the LARGEST image in your slideshow!
    var scrollerwidth=426
    var scrollerheight=319
    var scrollerbgcolor='white'
    //3000 miliseconds=3 seconds
    var pausebetweenimages=3000
    //configure the below variable to change the images used in the slideshow. If you wish the images to be clickable, simply wrap the images with the appropriate <a> tag
    var slideimages=new Array()
    slideimages[0]='<a href="http://www.ppab.homestead.com/Images.html"><img src="../MM660.gif" border=0"></a>'
    slideimages[1]='<img src="../MM661.gif">'
    slideimages[2]='<img src="../MM662.gif">'
    slideimages[3]='<img src="../MM663.gif">'
    slideimages[4]='<img src="../MM664.gif">'
    slideimages[5]='<img src="../MM665.gif">'
    slideimages[6]='<img src="../MM666.gif">'
    slideimages[7]='<img src="../MM667.gif">'
    slideimages[8]='<img src="../MM668.gif">'
    slideimages[9]='<img src="../MM669.gif">'
    slideimages[10]='<img src="../MM610.gif">'
    slideimages[11]='<img src="../MM611.gif">'
    slideimages[12]='<img src="../MM612.gif">'
    slideimages[13]='<img src="../MM613.gif">'
    slideimages[14]='<img src="../MM614.gif">'
    slideimages[15]='<img src="../MM615.gif">'
    slideimages[16]='<img src="../MM616.gif">'
    slideimages[17]='<img src="../MM617.gif">'
    slideimages[18]='<img src="../MM618.gif">'
    slideimages[19]='<img src="../MM619.gif">'
    slideimages[20]='<img src="../MM620.gif">'

    //extend this list
    ///////Do not edit pass this line///////////////////////



    The actual demo code that is changable is:

    <script language="JavaScript1.2">

    /*
    Left-Right image slideshow Script-
    By Dynamic Drive (www.dynamicdrive.com)
    For full source code, terms of use, and 100's more scripts, visit http://dynamicdrive.com
    */

    ///////configure the below four variables to change the style of the slider///////
    //set the scrollerwidth and scrollerheight to the width/height of the LARGEST image in your slideshow!
    var scrollerwidth=100
    var scrollerheight=106
    var scrollerbgcolor='white'
    //3000 miliseconds=3 seconds
    var pausebetweenimages=3000


    //configure the below variable to change the images used in the slideshow. If you wish the images to be clickable, simply wrap the images with the appropriate <a> tag
    var slideimages=new Array()
    slideimages[0]='<a href="http://www.cnn.com"><img src="../dynamicindex4/PE01805A.gif" border=0"></a>'
    slideimages[1]='<img src="../dynamicindex4/PE01803A.gif">'
    slideimages[2]='<img src="../dynamicindex4/TN00411A.gif">'
    slideimages[3]='<img src="../dynamicindex4/PE02054A.gif">'
    slideimages[4]='<img src="../dynamicindex4/cake.gif">'
    //extend this list

    ///////Do not edit pass this line///////////////////////

  • #2
    Next time you need to add more information to a thread here, just "reply" to your own (initial) post. That way, all information/replies are in one spot. What you've done with the second post is called "cross-posting". It's not a good thing...and against the forum's TOS. But don't worry...new posters get cut some slack on this issue. I'm going to post to your other thread as well...telling others that THIS is the thread with the main information, etc. Cool?

    Regarding http://www.dynamicdrive.com/dynamici...ightslide2.htm

    Okay, now for your problem(s). I tried every combination I could think of to find one of your '20' images...but couldn't! So, I'm using an image from your main index page as an example in this script. If you still need help putting your images in after you've followed my instructions, simply come back and ask for more help IN THIS SAME THREAD. You might need to tell us the URL of your image(s) (just one will do if they're all in the same directory folder...like "images/MM660.gif"). Personally, I like to put all my images in one main folder (images). For this reason, I've adjusted the code (below) to show this.

    For example, the image I'm using from your index page is located at the following URL:


    First off, you're missing the <script language="JavaScript1.2"> in your http://ppab.homestead.com/001aa.html page.

    BUT before you go adding that in, you may wish to start over on this page. That's what I'd do anyway.

    This script can be placed anywhere in the body of your page...anywhere between the <body> and </body> tags.

    The main part that you need to adjust is the images and their respective links. The image links are NOT required, so you can just leave them out. In the script, find the spot (up top) where the images are called, and change them to something like the following. You'd change the first one to "images/MM660.gif" of course.

    //configure the below variable to change the images used in the slideshow. If you wish the images to be clickable, simply wrap the images with the appropriate <a> tag
    var slideimages=new Array()
    slideimages[0]='<img src="files/PPABNewLogoDF1.gif" border=0"></a>'
    slideimages[1]='<img src="images/MM661.gif">'
    slideimages[2]='<img src="images/MM662.gif">'
    slideimages[3]='<img src="images/MM663.gif">'
    slideimages[4]='<img src="images/MM664.gif">'
    slideimages[5]='<img src="images/MM665.gif">'
    slideimages[6]='<img src="images/MM666.gif">'
    slideimages[7]='<img src="images/MM667.gif">'
    slideimages[8]='<img src="images/MM668.gif">'
    slideimages[9]='<img src="images/MM669.gif">'
    slideimages[10]='<img src="images/MM610.gif">'
    slideimages[11]='<img src="images/MM611.gif">'
    slideimages[12]='<img src="images/MM612.gif">'
    slideimages[13]='<img src="images/MM613.gif">'
    slideimages[14]='<img src="images/MM614.gif">'
    slideimages[15]='<img src="images/MM615.gif">'
    slideimages[16]='<img src="images/MM616.gif">'
    slideimages[17]='<img src="images/MM617.gif">'
    slideimages[18]='<img src="images/MM618.gif">'
    slideimages[19]='<img src="images/MM619.gif">'
    slideimages[20]='<img src="images/MM620.gif">'
    //extend this list

    As a side note, it's generally best to make every file in your web site lowercase -- mm660.gif instead of MM660.gif.

    I hope this has been helpful. And by all means, post a reply to this thread if you need more assistance!
    Gordo
    "In the End, we will remember not the words of our enemies, but the silence of our friends."
    - Martin Luther King Jr. (1929-1968)

    Comment


    • #3
      Hi Gordon in reply to you

      FIrst of all, you say that the Javascript is missing, which one?

      Secondly my question to you is this:
      If my Images are on a different page called Images but they are in the files also in my server's files ( I hopw you know what I mean)

      I want all those images (MM660- ?) they are on the Image.html page and I want them to go on my 001aa page, so where you have added

      ="files/PPABNewLogoDF1.gif" border=0"></a>'

      how does it know where to get the files and where to put them.
      I'm confused , darn it,,,sorry!
      Also sorry for cross-posting, I was not aware that's what I was doing, my apologies for sure.
      Your advice and help is greatly appreciated
      Canapril

      Comment


      • #4
        Here is exactly what I don't understand .
        For their demo they used this part in their script

        [0]='<a href="http://www.cnn.com"><img src="../dynamicindex4/PE01805A.gif" border=0"></a>'
        slideimages[1]='<img src="../dynamicindex4/PE01803A.gif">'

        NOW for mine to work,
        1. where they have the cnn.com which one of my pages should be there , the one Where my images Are OR the page where I WANT them to be?

        2. where they have "../dynamicindex4/PEO185A.gif

        Is this where I should put "../files/MM660.gif

        Canapril

        Comment


        • #5
          How long does it take to get an answer to this one.
          Yes, I know you are busy with many others.
          Canapril

          Comment


          • #6
            Yes, not getting answers when you've already self-exhausted can be quite taxing. I normally would have answered you a long time ago as I currently come back to these forums often. But, I was away all day today. At least you lasted 3 1/2 hours. I've seen some users post a "why won't you answer" after only 10-15 minutes!

            Okay, if you haven't found the spot where you're missing the <script...> line, it's on your 001aa.html page...it's just not there. The source code I get is as follows:
            Code:
            [size=1]<HTML><HEAD><TITLE>001aa</TITLE></HEAD>
            <BODY LINK=#3333cc VLINK=#6633cc BGCOLOR=#ffffff>
            <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=774><TR VALIGN=top><TD>
            <IMG SRC="http://uptpro.homestead.com/~site/....11628&E=566" WIDTH=114 HEIGHT=1>
            </TD><TD><IMG SRC=/tp.gif WIDTH=379 HEIGHT=1></TD><TD>
            <IMG SRC=/tp.gif WIDTH=281 HEIGHT=1></TD></TR>
            <TR VALIGN=top><TD COLSPAN=3 HEIGHT=45></TD>
            </TR>
            <TR VALIGN=top><TD COLSPAN=3>
            <IMG SRC="http://www.homestead.com//~site/....102&b=255" WIDTH=774 HEIGHT=2 BORDER=0>
            </TD></TR>
            <TR VALIGN=top><TD COLSPAN=3 HEIGHT=77></TD>
            </TR>
            <TR VALIGN=top><TD HEIGHT=354></TD>
            <TD>[color=red][b]/*[/b][/color] 
            Left-Right image slideshow Script- 
            By Dynamic Drive ([url]www.dynamicdrive.com[/url]) 
            For full source code, terms of use, and 100's more scripts, visit [url]http://dynamicdrive.com[/url] 
            */ 
            ///////configure[/size]
            The <script...> line that I put in my other post should be just before the red part. The lack of it is killing the script entirely.

            FYI...your images are NOT on your http://ppab.homestead.com/images.html page. Yes, the code is trying to call them (for example: http://ppab.homestead.com/files/MM660.gif ), but your images are NOT located in your "files" folder. You need to verify that you've uploaded them to the server...and to what location (folder, etc). I still could not locate your images (trying multiple URL paths). Show me an image (any image)...can you give me the URL where you actually see one of the 20 or so that you're wanting in this script?

            Okay, in the script DEMO, they used the following:
            [0]='<a href="http://www.cnn.com"><img src="../dynamicindex4/PE01805A.gif" border=0"></a>'
            The CNN part is the link. If you click that particular image in the demo, you should be TAKEN to the CNN web site. If you don't want your pictures to link anywhere else (inside or outside of your site), then leave the <a href....> and </a> parts out completely.
            What you'll want to use for the images is something like <img src="files/MM660.gif" border="0">
            BUT, you have to have the correct path to your images. If they're in the "files" folder, then the above link should work. If they're somewhere else, then you/we will have to adjust this <img...> line of code accordingly.

            where they have the cnn.com which one of my pages should be there , the one Where my images Are OR the page where I WANT them to be?
            I don't completely understand this question. Are you wanting the images, when clicked, to take the user to your images.html page? If so, then you'll want to change the http://www.cnn.com link to (for example) images.html. If each image is going to be on a separate page, then you'll change it to each respective page. And if you just want it to take the user directly to the image file (not a page...they'll just see the image in their browser), then you'll change the CNN link to the same target as your <img src...> location (i.e. files/MM660.gif).

            I really hope this helps. It's 4:30am...need some sleep. I'll be back in the afternoon and/or evening. And I always check this forum, etc. We'll get you through this one way or another.
            Gordo
            "In the End, we will remember not the words of our enemies, but the silence of our friends."
            - Martin Luther King Jr. (1929-1968)

            Comment


            • #7
              I tried to download one of the pictures but the file is too large and it won't allow it..darn it.
              Sorry for being so impatient and thanks a bunch for all your help

              The page on which my pictures are on is called

              See one of the pictures here (I'm putting it on there now, give me 5 minutes, ok)


              There are 21 pictures SIZE 426 width X 319 height
              They are catogorized as * (and not link)
              MM660.gif (to and Including) MM669.gif
              MM610.gif (to and Including) MM620.gif

              The page on which I WANT THE SLIDE SHOW on is:


              Here is the Demo Script and thanks so much for all your time and effort is very much appreciated...Canapril

              <script language="JavaScript1.2">

              /*
              Left-Right image slideshow Script-
              By Dynamic Drive (www.dynamicdrive.com)
              For full source code, terms of use, and 100's more scripts, visit http://dynamicdrive.com
              */

              ///////configure the below four variables to change the style of the slider///////
              //set the scrollerwidth and scrollerheight to the width/height of the LARGEST image in your slideshow!
              var scrollerwidth=100
              var scrollerheight=106
              var scrollerbgcolor='white'
              //3000 miliseconds=3 seconds
              var pausebetweenimages=3000


              //configure the below variable to change the images used in the slideshow. If you wish the images to be clickable, simply wrap the images with the appropriate <a> tag
              var slideimages=new Array()
              slideimages[0]='<a href="http://www.cnn.com"><img src="../dynamicindex4/PE01805A.gif" border=0"></a>'
              slideimages[1]='<img src="../dynamicindex4/PE01803A.gif">'
              slideimages[2]='<img src="../dynamicindex4/TN00411A.gif">'
              slideimages[3]='<img src="../dynamicindex4/PE02054A.gif">'
              slideimages[4]='<img src="../dynamicindex4/cake.gif">'
              //extend this list

              ///////Do not edit pass this line///////////////////////


              if (slideimages.length>1)
              i=2
              else
              i=0

              function move1(whichlayer){
              tlayer=eval(whichlayer)
              if (tlayer.left>0&&tlayer.left<=5){
              tlayer.left=0
              setTimeout("move1(tlayer)",pausebetweenimages)
              setTimeout("move2(document.main.document.second)",pausebetweenimages)
              return
              }
              if (tlayer.left>=tlayer.document.width*-1){
              tlayer.left-=5
              setTimeout("move1(tlayer)",100)
              }
              else{
              tlayer.left=scrollerwidth+5
              tlayer.document.write(slideimages[i])
              tlayer.document.close()
              if (i==slideimages.length-1)
              i=0
              else
              i++
              }
              }

              function move2(whichlayer){
              tlayer2=eval(whichlayer)
              if (tlayer2.left>0&&tlayer2.left<=5){
              tlayer2.left=0
              setTimeout("move2(tlayer2)",pausebetweenimages)
              setTimeout("move1(document.main.document.first)",pausebetweenimages)
              return
              }
              if (tlayer2.left>=tlayer2.document.width*-1){
              tlayer2.left-=5
              setTimeout("move2(tlayer2)",100)
              }
              else{
              tlayer2.left=scrollerwidth+5
              tlayer2.document.write(slideimages[i])
              tlayer2.document.close()
              if (i==slideimages.length-1)
              i=0
              else
              i++
              }
              }

              function move3(whichdiv){
              tdiv=eval(whichdiv)
              if (tdiv.style.pixelLeft>0&&tdiv.style.pixelLeft<=5){
              tdiv.style.pixelLeft=0
              setTimeout("move3(tdiv)",pausebetweenimages)
              setTimeout("move4(second2)",pausebetweenimages)
              return
              }
              if (tdiv.style.pixelLeft>=tdiv.offsetWidth*-1){
              tdiv.style.pixelLeft-=5
              setTimeout("move3(tdiv)",100)
              }
              else{
              tdiv.style.pixelLeft=scrollerwidth
              tdiv.innerHTML=slideimages[i]
              if (i==slideimages.length-1)
              i=0
              else
              i++
              }
              }

              function move4(whichdiv){
              tdiv2=eval(whichdiv)
              if (tdiv2.style.pixelLeft>0&&tdiv2.style.pixelLeft<=5){
              tdiv2.style.pixelLeft=0
              setTimeout("move4(tdiv2)",pausebetweenimages)
              setTimeout("move3(first2)",pausebetweenimages)
              return
              }
              if (tdiv2.style.pixelLeft>=tdiv2.offsetWidth*-1){
              tdiv2.style.pixelLeft-=5
              setTimeout("move4(second2)",100)
              }
              else{
              tdiv2.style.pixelLeft=scrollerwidth
              tdiv2.innerHTML=slideimages[i]
              if (i==slideimages.length-1)
              i=0
              else
              i++
              }
              }

              function startscroll(){
              if (document.all){
              move3(first2)
              second2.style.left=scrollerwidth
              }
              else if (document.layers){
              document.main.visibility='show'
              move1(document.main.document.first)
              document.main.document.second.left=scrollerwidth+5
              document.main.document.second.visibility='show'
              }
              }

              window.onload=startscroll

              </script>




              <ilayer id="main" width=&{scrollerwidth}; height=&{scrollerheight}; bgColor=&{scrollerbgcolor}; visibility=hide>
              <layer id="first" left=1 top=0 width=&{scrollerwidth}; >
              <script language="JavaScript1.2">
              if (document.layers)
              document.write(slideimages[0])
              </script>
              </layer>
              <layer id="second" left=0 top=0 width=&{scrollerwidth}; visibility=hide>
              <script language="JavaScript1.2">
              if (document.layers)
              document.write(slideimages[1])
              </script>
              </layer>
              </ilayer>

              <script language="JavaScript1.2">
              if (document.all){
              document.writeln('<span id="main2" style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden;backgroun d-color:'+scrollerbgcolor+'">')
              document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:0;top:0">')
              document.writeln('<div id="first2" style="position:absolute;width:'+scrollerwidth+';left:1;top:0;">')
              document.write(slideimages[0])
              document.writeln('</div>')
              document.writeln('<div id="second2" style="position:absolute;width:'+scrollerwidth+';left:0;top:0">')
              document.write(slideimages[1])
              document.writeln('</div>')
              document.writeln('</div>')
              document.writeln('</span>')
              }
              </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>

              Comment


              • #8
                I have tried to download ONE of the pictures for you to see but the Homestead Editor that I am using will not ALLOW me to upload a .gif file the size of 426 x 319....So I converted it to a .jpg file and was able to download it to the page and now have since converted all the 21 .gif files to .jpg for the SLIDE SHOW.

                Here is one of those pictures you wanted to see MM660.jpg


                Canapril

                Comment


                • #9
                  I think you must be updating your pages because some of the images started showing up about the third time I refreshed the page.

                  Okay, why Homestead is not allowing GIF I don't know. Generally, you'd want JPG for "real life" pictures anyway. GIFs are geared more towards graphics...not photos. Of course, you can take up the inability to upload GIFs with Homestead tech support if you wish.

                  You do realize you're loading 20+ large graphics on a single page...takes a very long time for us dial-up users. The slideshow script you're using was meant more for smaller graphics (like thumbnails). But, I don't know your ultimate web page design goal with regard to this matter...so I'll just leave it at that for now.

                  Your first image is wrong -- you have:
                  <img src="../file/MM660.jpg" border=0">
                  and you need
                  <img src="files/MM660.jpg" border="0">
                  Notice the change in the image location AND the missing " by the 0.

                  I know it's nit-picky, but you also have some extra spacing in the same line:
                  slideimages[0]='<a target = "_parent" href="http://ppab.homestead.com/Images.html">
                  should be...
                  target="_parent" href="......

                  You're on the right path now...keep going...and come back when you hit another virtual wall. I'll be back in about 6 hours or so.
                  Gordo
                  "In the End, we will remember not the words of our enemies, but the silence of our friends."
                  - Martin Luther King Jr. (1929-1968)

                  Comment


                  • #10
                    I did something on this page and look at what it did//


                    Why would the second image be right and not the others?
                    Canapril
                    ps will make the changes you suggested

                    Comment


                    • #11
                      First, some of your code was degraded and/or adusted incorrectly by you. NOTE: Homestead is not the best when it comes to letting web pages just "be".

                      You had extra spacing, missing href's, and = signs placed incorrectly. Putting the full URL is also not necessary. Basically, I suggest you replace this part of the code with what is below.

                      var slideimages=new Array()
                      slideimages[0]='<a target="_parent" href="Images.html"><img src="files/MM660.jpg" border="0"></a>'
                      slideimages[1]='<a target="_parent" href="Images.html"><img src="files/MM661.jpg" border="0"></a>'
                      slideimages[2]='<a target="_parent" href="Images.html"><img src="files/MM662.jpg" border="0"></a>'
                      slideimages[3]='<a target="_parent" href="Images.html"><img src="files/MM663.jpg" border="0"></a>'
                      slideimages[4]='<a target="_parent" href="Images.html"><img src="files/MM664.jpg" border="0"></a>'
                      slideimages[5]='<a target="_parent" href="Images.html"><img src="files/MM665.jpg" border="0"></a>'
                      slideimages[6]='<a target="_parent" href="Images.html"><img src="files/MM666.jpg" border="0"></a>'
                      slideimages[7]='<a target="_parent" href="Images.html"><img src="files/MM667.jpg" border="0"></a>'
                      slideimages[8]='<a target="_parent" href="Images.html"><img src="files/MM668.jpg" border="0"></a>'
                      slideimages[9]='<a target="_parent" href="Images.html"><img src="files/MM669.jpg" border="0"></a>'
                      slideimages[10]='<a target="_parent" href="Images.html"><img src="files/MM610.jpg" border="0"></a>'
                      slideimages[11]='<a target="_parent" href="Images.html"><img src="files/MM611.jpg" border="0"></a>'
                      slideimages[12]='<a target="_parent" href="Images.html"><img src="files/MM612.jpg" border="0"></a>'
                      slideimages[13]='<a target="_parent" href="Images.html"><img src="files/MM613.jpg" border="0"></a>'
                      slideimages[14]='<a target="_parent" href="Images.html"><img src="files/MM614.jpg" border="0"></a>'
                      slideimages[15]='<a target="_parent" href="Images.html"><img src="files/MM615.jpg" border="0"></a>'
                      slideimages[16]='<a target="_parent" href="Images.html"><img src="files/MM616.jpg" border="0"></a>'
                      slideimages[17]='<a target="_parent" href="Images.html"><img src="files/MM617.jpg" border="0"></a>'
                      slideimages[18]='<a target="_parent" href="Images.html"><img src="files/MM618.jpg" border="0"></a>'
                      slideimages[19]='<a target="_parent" href="Images.html"><img src="files/MM619.jpg" border="0"></a>'
                      slideimages[20]='<a target="_parent" href="Images.html"><img src="files/MM620.jpg" border="0"></a>'
                      //extend this list



                      Now, I see NO REASON for the "undefined" to show up in place of pictures 3-20. I'm no expert on this...just playing with the code myself. But I too am bugged and perplexed at the disfunctionality of your particular example. But, after taking out certain "other" code in your page one at a time, I have determined that the code at the bottom of your page is the problem. It's inserted by Homestead for tracking purposes, etc.

                      The OFFENDING CODE start with
                      <DIV style="position: absolute; top: 15px; left: 292px; width: 248px; height: 30px;">
                      <TABLE BORDER=0 CELLSPACING=0 ..............

                      and ends with
                      ..........js=0&b=0&to=-360" BORDER=0 ALT=""></NOSCRIPT>
                      <!-- Einde RealTracker --->
                      </DIV>


                      Basically, it's all the code between where your script ends and the </body> tag.

                      So, what do you do about it!? Well, from my own limited experience with Homestead, I'd say you might want to look around for a new web host! Are you paying them? And if so, how much! There are FAR BETTER options out there.
                      Last edited by Gordo; Jul 17, 2002, 02:02 AM.
                      Gordo
                      "In the End, we will remember not the words of our enemies, but the silence of our friends."
                      - Martin Luther King Jr. (1929-1968)

                      Comment


                      • #12
                        THanks again Gordo,

                        Another problem has risen...

                        When I am at my Editor and online and I check my work by
                        Viewing the page, the whole thing is working, I see all the pics
                        BUT when I go to my site and look at the page, I only see 2 pics and that flash before it starts, then the UNDERFINED.
                        I am all bewildered and confused by the whole thing now.
                        P.S. Yes, I know what you mean about Homestead not letting things be.

                        Will keep trying..
                        Canapril

                        Comment


                        • #13
                          Another question...

                          Hi folks, sorry to butt in.

                          Maybe I should have started a new thread, but as you were talking about the very same code I'm using, I thought I could write my query here. Let me know if I've done wrong. I'm alert enough to know I won't get help pissing people off...

                          Gordo, I'm using the same slide show script as Canapril. My images (photos) are gifs (9 of them) about 35k a piece. I was wondering if I can/should preload the images, by using:

                          pic1=new Image(175,191)
                          pic1.src="photos/pic1.gif"
                          etc

                          in the head section (the slide show is in the body).

                          Or does the array prompt their preloading? If not, as each picture is displayed for 3 seconds, couldn't that time be used getting the next one ready? Or does the slide show simply wait until the next is loaded anyway, and you CAN'T preload? Trying it out doesn't help because on my own machine there's already no delay. Not sure how it all works (...thinking about dial-ups). Hope you can enlighten me.
                          Thanks for any help.
                          Chesneil

                          Comment


                          • #14
                            chesneil
                            You should start a new thread. It doesn't matter that you're using the same script. Your problem is separate from Canapril's. What you're doing right now is "piggy-backing". If someone were to reply to problem, then Canapril would also receive the email notification...and vice versa. It can be quite frustrating. You're new here, so it's not a major issue or anything. But, please start a new thread for your query. As for a quick answer...I don't really know. As the script is right now, the images seem to be loading quick enough -- as they're only seen one at a time. If you see any delay problems (test it on a dial-up), then you would want to consider adding a preloader. I don't think it would hurt too much to throw one in anyway...as long as your page isn't held up because of it.

                            Canapril
                            All I can see is re-read the last part of my last post. Homestead is adding code to your page which is preventing the script from working properly. I don't think there's anything you can do about it. I know you can't change/block their code. If you can disable it through some "account control center", then great...but I don't think you'll have that option. You're SOL! Homestead bites big time!!! As you deviate from basic HTML in the future, you'll encounter MORE/SIMILAR problems. *Warning* Sorry.

                            On a personal note, I've now hit 100 posts in this new CF forum. I'm now a "Senior Member" -- woo hoo!
                            Last edited by Gordo; Jul 17, 2002, 06:48 PM.
                            Gordo
                            "In the End, we will remember not the words of our enemies, but the silence of our friends."
                            - Martin Luther King Jr. (1929-1968)

                            Comment


                            • #15
                              My apologies

                              Gordo and Canapril,
                              Sorry for mis-posting - I understand now. I'll repost. Many thanks for your advice.
                              Chesneil

                              Comment

                              Working...
                              X