Here's the situation. I use onload on every page to load the same dhtml menu. However, now the client wants a cookie-controlled pop-up to advertise their CD on one page. So how do I do multiple onloads? Or is there something I can use in place of one of the onloads that will pop the window up automatically...no mouseover or mouseouts.
actually you just do this
<body onload="blah(); blah2();">
make sure you use a semi-colon at the end of each function call.
also remember if you use 'return' in the onload it will not execute the next part of the function or what ever comes next.
<body onload="blah(); return blah2(); this_will_not_get_executed()">