is there a way of putting more than one onload function in the body tag?
i want to put:
- Code: Select all
<BODY onLoad="popup('index.html', 'ad')" >
and
- Code: Select all
setTimeout(window.close, 5000)"
but when i've tried it hasn't worked.
Cheers
![]() | It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!) |

|
|
|
|
<BODY onLoad="popup('index.html', 'ad')" >setTimeout(window.close, 5000)"<body onUnload="popupandclose()">
<script>
function popupandclose() {
popup('index.html', 'ad');
setTimeout("window.close", 5000);
}
</script>Users browsing this forum: No registered users and 9 guests