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_setk opcheta1(10,10, 10,'stmenubotto m','stmenu1','s tsubmenu1'
,'stmenu2','sts ubmenu2','image s/crt/images/cr_04.jpg' &&
setDefaults())" >
Thanks 3 4978
> 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_setk opcheta1(10,10, 10,'stmenubotto m','stmenu1','s tsubmenu1' ,'stmenu2','sts ubmenu2','image s/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_setk opcheta1(10,10, 10,'stmenubotto m','stmenu1','s tsubmenu1'
,'stmenu2','sts ubmenu2','image s/crt/images/cr_04.jpg')">
and this one
<body onLoad="setDefa ults()">
Thanks
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_setk opcheta1(10,10, 10,'stmenubotto m','stmenu1','s tsubmenu1' ,'stmenu2','sts ubmenu2','image s/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_setk opcheta1(10,10, 10,'stmenubotto m','stmenu1','s tsubmenu1' ,'stmenu2','sts ubmenu2','image s/crt/images/cr_04.jpg')">
and this one <body onLoad="setDefa ults()">
Thanks
<body onload="functio n1();function2( );">
or
<body onload="init(); ">
<script type="text/javascript">
function init() {
function1();
function2();
}
</script>
--
| Grant Wagner <gw*****@agrico reunited.com>
* Client-side Javascript and Netscape 4 DOM Reference available at:
* http://devedge.netscape.com/library/...ce/frames.html
* Internet Explorer DOM Reference available at:
* http://msdn.microsoft.com/workshop/a...ence_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-deve...upgrade_2.html This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Pai |
last post by:
hello there,
I am trying to rersize the window it works find in IE but doea not work with mozilla
window.attachEvent(onload,MWSOnLoad);
window.onload = function (MWSOnLoad)
{
alert('hello');
window.resizeTo(810,750);
top.outerWidth=810;
|
by: Brian |
last post by:
Hi everyone,
I'm writing a function (in javascript) that needs to do one thing if
the page has not loaded, and another (different) thing if the page has
already loaded.
I'm looking for a way to tell if the window.onload event has already
fired. I cannot edit the onload event handler itself, and my function
can only exist in an external js file, sourced from the document's
head section. Any ideas?
|
by: David Virgil Hobbs |
last post by:
My web host inserts banner ads into my html pages. The javascript in
these banner ads interferes with the onload triggered javascript
functions in my pages. Whether I trigger my javascript functions
through onload=function() in the body tag or through
window.onload=function name in a script, the host's advertising
javascripts disrupt my javascripts that are supposed to run onload so
that they do not run. I am not able to control the...
|
by: berg |
last post by:
I'm trying to use the onload event to load a series of urls.
What I find is that the onload function is only called one time
no matter how large the array.
Here is the onload function.
var next_win = 0;
var win = window.open("", "", "");
function nextWin() {
if (next_win < urls.length) {
win.onload = nextWin;
|
by: Liming |
last post by:
Hi,
Here is my situation. I have a textarea on the page. When the page
loads, I need it to have some default text (which will be generated
dynamically)
so I did something like this
function init()
{
| |
by: laredotornado |
last post by:
Hello, I am looking for a cross-browser way (Firefox 1+, IE 5.5+) to
have my Javascript function execute from the BODY's "onload" method,
but if there is already an onload method defined, I would like mine to
run immediately after it. So in the code below, what JS would i need
to add to my "myfile.inc" page so that I could guarantee this behavior?
<!-- main page -->
<html>
<head>
<script type="text/javascript">
|
by: PJ6 |
last post by:
Say I have serveral controls, all of which need to emit clientside script to
execute on page load. They can't emit to OnLoad = <functionname> because
then only one of the scripts will get executed. Is there a way around this?
Paul
|
by: Andrew Poulos |
last post by:
I've been asked to add some additional code to HTML that get generated
by a 3rd party program. Currently the code that gets generated already
includes a window.onload = init;
The program lets me add additional 'custom' code but it simply adds it
to the end of the SCRIPT tag. This is fine, except that I need my code
to execute onload. Is there a way to allow the existing window.onload to
run but to also include/add mine?
Andrew Poulos
|
by: Mark Anderson |
last post by:
Hi, I have this in an external JS library:
/////////////////////////
function addMyEvent(){
var obj;
if(document.attachEvent) {
obj = document.getElementsByTagName('img');
for (i=0;i<obj.length;i++) {
obj.attachEvent('ondrag', noDrag);
}
|
by: zebra242 |
last post by:
I'm working to get the onLoad function of a javascript to work:
the script allows form buttons in html to refer to labeled frames in flash. Which works fine.
Now I want to add onLoad functionality to force the flash file to jump to a labeled frame on load.
This is the Javascript in the head of the html file:
<!--
function getFlashMovieObject(movieName)
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |