On March 19, 2003 at 6:52, Dave Sebaste wrote:

> There isn't a way to change an image on a page being displayed in a
> browser without reloading the whole page, is there? Talking about
> using HTML, DHTML, scripting, etc. 

You could use something like this to create a banner that rolls over four pics.

<script>
     var banners = new 
Array("banner1.jpg","banner2.jpg","banner3.jpg","banner4.jpg")
     var bnrCntr = 0
     function bancycle() {
             bnrCntr = bnrCntr + 1
             if (bnrCntr == 4) {
                bnrCntr = 0
             }
          document.Banner.src = banners[bnrCntr]
          setTimeout("bancycle()",3000)
     }
</script>
<BODY onload="setTimeout('bancycle()',3000)">
<IMG SRC="banner1.jpg" Name="Banner" width="320" height="65">



Regards,

        Mark Groen

MG Web Services
Web Site Hosting and Development
www.markgroen.com
[EMAIL PROTECTED]
604-780-6917

____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to