Forums

This topic is locked

2 OnLoad....etc... commands

Posted 12 Mar 2002 11:03:05
1
has voted
12 Mar 2002 11:03:05 Stephen Bateman posted:
Can someone tell the the syntax for having two or more OnLoad, OnClick, etc... commands. For example, an a preload mouse over button call and a AutoClose call.

onLoad="MM_preloadImages('/images/buttons/100x20/previouspage.gif')"

onLoad="closeWin('6')"

Thanks

Replies

Replied 21 Mar 2002 15:15:30
21 Mar 2002 15:15:30 Ian Etherington replied:
I think you can just put in a comma:

onLoad="MM_preloadImages('/images/buttons/100x20/previouspage.gif'),closeWin('6')"

or you could put in a small 1px by 1px image with the other onLoad command

Ian

"To start press any key", where's the any key?

Reply to this topic