onLoad

Discussion in 'Javascript' started by steve, Aug 27, 2003.

  1. steve

    steve Guest

    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
    steve, Aug 27, 2003
    #1
    1. Advertising

  2. steve

    steve Guest

    > 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
    steve, Aug 27, 2003
    #2
    1. Advertising

  3. steve

    Grant Wagner Guest

    steve wrote:

    > > 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


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

    or

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

    --
    | Grant Wagner <>

    * 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
    Grant Wagner, Aug 27, 2003
    #3
  4. steve

    steve Guest

    Thanks
    steve, Aug 28, 2003
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mr. x

    onload set width

    Mr. x, Aug 27, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    1,079
    Mr. x
    Aug 27, 2003
  2. Fabio R.
    Replies:
    0
    Views:
    792
    Fabio R.
    Mar 25, 2005
  3. David Otton

    window.onload and body.onload differences

    David Otton, Nov 4, 2004, in forum: Javascript
    Replies:
    2
    Views:
    543
    Martin Honnen
    Nov 4, 2004
  4. Replies:
    5
    Views:
    257
    Thomas 'PointedEars' Lahn
    May 15, 2005
  5. marco

    onload -->* no onload

    marco, Jun 22, 2006, in forum: Javascript
    Replies:
    7
    Views:
    202
    marco
    Jun 24, 2006
Loading...

Share This Page