[wdvltalk] Re: Image swapping on loaded page

2003-03-19 Thread Paul Larue
AIL PROTECTED] Sent: Wednesday, March 19, 2003 6:41 AM To: [EMAIL PROTECTED] Subject: [wdvltalk] Re: Image swapping on loaded page 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

[wdvltalk] Re: Image swapping on loaded page

2003-03-19 Thread Mark Groen
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

[wdvltalk] Re: Image swapping on loaded page

2003-03-19 Thread Adam Cork
Dave, Yes, you can change an image without refreshing the whole page. In javascript you can change the image src. I think it normal to preload the images into an array for speed. Something like: picArray = new Array(); picArray[0] = new Image(); picArray[0].src = "images/image1.GIF"; picArray[1]

[wdvltalk] RE: Image swapping on loaded page

2003-03-19 Thread Jon Haworth
Hi Dave, > There isn't a way to change an image on a page being displayed > in a browser without reloading the whole page, is there? Yes, there is - it's how rollover images work, for example. The file for the image can be read and set via the .src attribute, something like this: document.im