onLoad

S

steve

Hi all

I have this onLoad event it is working fine but I'm just queries is
this the right ware to do it?

<body
onLoad="st_setkopcheta1(10,10,10,'stmenubottom','stmenu1','stsubmenu1'
,'stmenu2','stsubmenu2','images/crt/images/cr_04.jpg' &&
setDefaults())">

Thanks
 
S

steve

Hi all
I have this onLoad event it is working fine but I'm just queries is
this the right ware to do it?

<body
onLoad="st_setkopcheta1(10,10,10,'stmenubottom','stmenu1','stsubmenu1'
,'stmenu2','stsubmenu2','images/crt/images/cr_04.jpg' &&
setDefaults())">

Thanks

Sorry I lie
does not work correct after I upload it to the web server

How can I have two or more onLoad event
for example
this one
<body
onLoad="st_setkopcheta1(10,10,10,'stmenubottom','stmenu1','stsubmenu1'
,'stmenu2','stsubmenu2','images/crt/images/cr_04.jpg')">

and this one
<body onLoad="setDefaults()">

Thanks
 
G

Grant Wagner

steve said:
Sorry I lie
does not work correct after I upload it to the web server

How can I have two or more onLoad event
for example
this one
<body
onLoad="st_setkopcheta1(10,10,10,'stmenubottom','stmenu1','stsubmenu1'
,'stmenu2','stsubmenu2','images/crt/images/cr_04.jpg')">

and this one
<body onLoad="setDefaults()">

Thanks

<body onload="function1();function2();">

or

<body onload="init();">
<script type="text/javascript">
function init() {
function1();
function2();
}
</script>

--
| Grant Wagner <[email protected]>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/manuals/2000/javascript/1.3/reference/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/author/dhtml/reference/dhtml_reference_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-developer/upgrade_2.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top