Nieuws

Then add this line: function chgImg (imgField,newImg) { Here, you’re creating your first JavaScript function — a group of lines of code that you’ll use often.
The most commonly used JavaScript effect on the Web is the image rollover. For the one person with access to the Web who’s never seen one before, an image rollover happens when you move your ...
the onLoad () handler, which is invoked when the image has completed loading. This handler can be hooked up with a custom function to perform specific tasks after the image has completed loading.
I wrote a small javascript function to show images in a popup window. The code is below.function imgpop (imgLocation) { img = new Image (); img.src = ...