faqts : Computers : Programming : Languages : JavaScript : Images

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

25 of 39 people (64%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

how can you use onmouseover to change more than one image

Jul 1st, 2000 22:24
John Marc, Alex Billerey,


onMouseover="this.src='newsrc.jpg';that.src='new2.jpg'"
You can string your jscripts separated by ; or call a function that 
changes as many as you want.