PDA

View Full Version : multiple events


Eski
10-03-2002, 11:10 AM
I have the following event attached to my <body> tag:

<body bgcolor="#FFFFFF" text="#000000" onLoad="MM_preloadImages('images/HR1.gif','images/Comms1.gif')">


But I also want to add the following event:

<BODY OnLoad="scrollnews(0)">


How do I do this????

Thanks,
Eski

glenngv
10-03-2002, 11:55 AM
<body bgcolor="#FFFFFF" text="#000000" onLoad="MM_preloadImages('images/HR1.gif','images/Comms1.gif');scrollnews(0)">

check that no conflicting variables exist between the 2 functions

Eski
10-03-2002, 12:02 PM
Thanks, that makes sense, however Netscape has a bit of a problem and keeps crashing! It must be something to do with the conflicting variables you mentioned;.

Many thanks for your help!
Eski