Re: onload Programming Web Development by serdas … to this page? [CODE][COLOR="Red"]<body onload = "updating()" >[/COLOR] <script type="text…"> function updating() { CODE } </script><body onload = "updating()" > <script type="text/javascript… Re: onload Programming Web Development by karthik_ppts … to this page? [CODE][COLOR="Red"]<body onload = "updating()" >[/COLOR] <script type="text…"> function updating() { CODE } </script><body onload = "updating()" > <script type="text/javascript… Re: onload Programming Web Development by serdas ok i will try that i was not really asking for javascript but i was trying to find out how to run the code with the page load similar way how the javascript does like onload finction doesn't php needs some kind of triger for the fnction? either onclick or onload? Thank you for your help Re: onload Programming Web Development by karthik_ppts … the page load similar way how the javascript does like onload finction doesn't php needs some kind of triger for… the fnction? either onclick or onload? Thank you for your help[/QUOTE] for onloading, no need… onLoad Programming Web Development by serdas … i would like to change it to this <body onLoad="publishStream(); return false;;"> which eliminates the first… onload Programming Web Development by serdas this works perfectly wit FF but not with IE <body onLoad="Calling();"> do you have any ideas why please? Thank you Re: onload Programming Web Development by Airshow Try [CODE] <body onload="Calling();"> [/CODE] [B]Airshow[/B] Re: onload Programming Web Development by Airshow Maybe not. In my version, "onload" is all lower case. It may make a difference, depending on doctype. [B]Airshow[/B] onload Programming Web Development by serdas … to make it work and it did [CODE]<body onload = "updating()" > <script type="text/javascript… Re: onload Programming Web Development by karthik_ppts … is javascript code. So you called that funnction in body onload. But [CODE=php] $args = array( 'message' => 'Hello from my… Re: onload Programming Web Development by tomato.pgn Click [URL="http://www.daniweb.com/forums/solved.php?t=361671"]here[/URL] to mark the thread as read.... For using the onload option is notworthy on the body event... Re: onload wildcard? Digital Media UI / UX Design by Inny …]function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { oldonload(); func(); } } }[/code] Use like… Re: onload wildcard? Digital Media UI / UX Design by sharonm … { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { oldonload(); func…like this to add a function to the onload event: [code]addLoadEvent(functionName1); addLoadEvent(functionName2… Re: onload wildcard? Digital Media UI / UX Design by stymiee … you to keep adding functions to the onload event without having to worry about the … addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { oldonload(); func(); } … Re: onload function not working in showmodaldialog Programming Web Development by Troy III …('app.html','app','Width:700;Height:350; modal:true;'); newwindow2.onload=function() { alert("hello"); } [COLOR="Green"]…:700px;dialogHeight:350px;dialogTop:200px; dialogLeft:200px;resizable=no;'); newwindow2.onload=function() { alert("hello"); } [COLOR="Red"]… Re: onload function not working in showmodaldialog Programming Web Development by Airshow …is new to me. I would put the onload handler in the page(s) that appear in …the parent window; eg. [CODE=javascript] //in app.html onload = function(){ parent.popupOnload(); }; [/CODE] I've never …ICODE].call;[/ICODE] method. [CODE=javascript] //in app.html onload = function(){ parent.popupOnload.call(self); }; [/CODE] Then … Re: onload wildcard? Digital Media UI / UX Design by MattEvans … be more handy if you could go halfway, like [inlinecode]onload = "wildfnc('_onload*')"[/inlinecode] to execute all functions prefixed… object from code rather than write them all in the onload attribute; that or call all of your… onload function not working in showmodaldialog Programming Web Development by yopirates …('app.html','app','Width:700;Height:350; modal:true;'); newwindow2.onload=function() { alert("hello"); } [COLOR="Green"]…:700px;dialogHeight:350px;dialogTop:200px; dialogLeft:200px;resizable=no;'); newwindow2.onload=function() { alert("hello"); } [COLOR="Red"]… onLoad commands Digital Media UI / UX Design by Bomba … that I can't figure out how to write two onLoad commands that work. One boy said that he knew how… I read someplace long before I even knew what an onLoad command was that there was a way to do it… onload wildcard? Digital Media UI / UX Design by Inny supposing you had multiple scripts running, many remote hosted and you cant remember how many or which ones used a body onload tag. Could you use a wildcard to cover them? for example, is something like this possible? [code]<body onload="popWindow();somefunction();"*"(); "*"();">[/code] :?: onload set onclick and pass argument Programming Web Development by lifeworks … doesnt confuse anyone i have an initAll() called on window.onload within initAll() I assign a few onclick handlers to some… handler, it executes immediately... ignoring the 'onclick' bit... [code] window.onload = initAll; function initAll(){ document.getElementById('btn_events').onclick = getSpecificFeed('events'); } function… Onload function Programming Web Development by pooran.c i have a xhtml page which has has login box . onload of the page, a scripts is called which hides the ….display='none'; } </script> </head> <body onload="Hidelogindiv();xyz();"> <div id="templatemo_sidebar… Re: onLoad commands Digital Media UI / UX Design by tgreer …(); } [/code] Then you write the body tag: [b]<body onload="myLoadFunction();"> [/b][i]You have to be… Re: onLoad commands Digital Media UI / UX Design by kedar_challa [QUOTE=Bomba]Is this impossible or did I not make the question plain enough? I have 2nd graders looking at me.[/QUOTE] Hi, Anyways, its not possible to have two onload() methods in a single page.But u can solve this problem by using Timer. Hi Tigreer, I thought the same. Thanks, Kedar Onload Alert>Click OK>Opens Page? Programming Web Development by genki01 After searching I've found how to make an onload alert box when the page loads. However what I want to do is 1. When user goes to page the alert box/pop loads w/o the page, just an alert box. 2. Once the user clicks on OK, the page loads. onload redirect Programming Web Development by jmaddy10 … page for 10 seconds. --> </head> <body onload = "timer"> <!--#include virtual="include/header… Re: onload redirect Programming Web Development by Graphix it needs to be: [CODE]<script language="JavaScript" type="text/javascript"> function goTo() { document.location.href="subscribeJ.asp"; } window.onload=function(){ setTimeout(function(){ goTo(); },10000); } </script>[/CODE] and the body should just be: [CODE] <body>[/CODE] ~G onload popup Programming Web Development by malatamil …;/li> </ul> </div> <body onLoad="popup(2);"> <div style="display… Re: onload Programming Web Development by serdas isn't it same? Re: onload Programming Web Development by serdas i just tried FF works but IE still does not work thank you