|
by: Damjan |
last post by:
Hi All,
I have a simple problem.
I have XSL page that translates XML into HTML. It has a form on it.
I want it to be loaded, focused on an intput text field and
then when user presses enter to submit the form. This is possible and
achiavable when using HTML. You put the
onload="document.form.field.focus();" into <body> tag.
|
by: Robert Oschler |
last post by:
I have an frame in one of my documents (not a frameset document). The top
level document has an "onload" handler in the BODY tag. I have found that
if the frame is unable to navigate to the document it desires, the top
level document "onload" handler does not fire, and therefore important
Javascript function I need called is not called.
The frame document's URL belongs to a service which is not always available,
and when it isn't...
|
by: Mike Hnatt |
last post by:
I'd like the focus to be on "mycontrol" when the page is first loaded. I'm
getting an undefined error and am assuming that I can't do this in the body
ONLOAD event because the control is not yet rendered. (but I thought this
would still work)
<body onload="mycontrol.focus()">
Also, is there a way to not produce an error if that control does not exist?
Thanks!
|
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: Tery Griffin |
last post by:
Hi all,
Iıve been away from Javascript for awhile and am rusty, but this is too
simple not to work! Iım on a Mac, and usually use the Safari browser. I
have a very basic web page in a frame. All it does is trigger a Perl
script. Works great in Safari, does not work in IE or Netscape. In IE, the
onLoad just doesnıt seem to fire. Iıve got to be looking right at the
reason, but Iım not seeing it. Help?
(The live frameset is at
|
|
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: vezquex |
last post by:
What I want is an element with a shifting background image:
<html><head>
<script type="text/javascript">
var x = 0
var y = 0
inc = 4
function bgWander(el){
x = x + Math.round(2*inc*Math.random())-inc
y = y + Math.round(2*inc*Math.random())-inc
|
by: pronerd |
last post by:
Hi,
I am trying to dynamically set an event handler across frames. I have no problems setting properties across frames doing something like
parent.ToolMenuFrame.location.href = 'http://www.blah blah blah.com';
But when I try to set an event handler this way, as shown below, it fails.
parent.ToolMenuFrame.window.document.body.onload = "alert('On Load Trigger Fired!!');";
parent.ToolMenuFrame.document.body.onload = "alert('On Load...
|
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: adamscybot |
last post by:
Here is the site in question:
http://www.sws.vxcomputers.com/h2k/
Basically, on the left, you'll see a roster (them images) and you have to click the "Counter-Strike" link for it to load the images/names. However, I overcome this by executing what is usually the OnClick event on the OnLoad event instead. This works great in firefox - meaning there is no need to click the link to see the
proper images and not the filler images - it just...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
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 projectplanning, coding, testing, and deploymentwithout 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: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|