Click to See Complete Forum and Search --> : image rollover help


rustler1973
08-29-2003, 04:25 AM
Can anyone help me, I am tryin to do a rollover that basically is an image in a table of a certain size, but when you roll over it, it takes over the whol page covering all the other cells and so on underneath.
I have se this done on www.msn.co.uk, where they have a banner ad at the top of the page, and when you roll over it, it takes up all the page!

Please can anyone help cos i can not for the life of me think how to do it.

Rustler

Khalid Ali
08-29-2003, 07:29 AM
what you might need is 2 images,a small one and a large one,use the onmouseover event to replace the small image with the large one ,it will take over the space in the page..

rustler1973
08-29-2003, 09:03 AM
thanks for your help, but as i am quite new to JS, i need to teh code more than anything else, is this something that you could help me with??
cheers

Khalid Ali
08-29-2003, 09:30 AM
take a good look at the code at this resouce,make sure you understand the concept how the image swapping is done.then rest is just too easy..

http://www.webapplikations.com/pages/html_js/image_examples/SimpleImageSwap.html