I write the following for the Notes Client in the OnLoad event :
@If(@IsNewDoc ; @Command([FileSave]) ; "")
I like to write the same thing for the web client.
thank's for the help
there is a method to load js from js, e.g.
var script = document.createElement('script');
script.src = 'snip.js';
I am referring to the whold document load is complete, mean all
images/external files/frame/iframes have been loaded.
I think there is a window.addEventListener() function but I am not sure
which event to listen to.
> I am referring to the whold document load is complete, mean all
> images/external files/frame/iframes have been loaded.
> I think there is a window.addEventLis...About loading html pages already loaded
I would like to know if there is some trick to avoid loading an HTML
page again is it is already loaded in another browser tab. In that
case, instead of loading the page again, I would just like to direct
the user to the right tab automatically. Maybe this can be done with
Note: I will have an applet on that page and I want to avoid calling
> I would like to know if there is some trick to avoid loading an HTML
> page again is it is...order of iframe loading with document loading
I have a page with iframe that i can only reach to it's attached .js
i'm trying to change the src of the iframe but the only this i found
var iframes = document.getElementsByTagName("IFRAME");
iframes(0).src = "http://www.blablabla.com";
it worked but only after it allready loads the content of the iframe
so it first loads the original src and then my new one.
can I attach to an event that run before the original src loads into
when it is selected by the user) via an Ajax connection to the server.
1. Create a new script element (where head is the id of the head tag):
var s = document.createElement('script');
2. eval() of a string sent f...Using document.load() to get html NOT xml document
I wish to load an html document which may or may not be xhtml. I then
wish to retrieve some elements using getElementsByTagName(). If I load
the document into an <iframe> this works fine, however if I use
document.load() then, even though the document is successfully
retrieved, getElementsByTagName() returns nothing (yes I am using the
correct case for the tag name). I suspect this is because it is being
loaded as an xml document and, being html, this document will not be
well formed. Is there a way to load as a regular html document? I
would rather not use a hidden <iframe> if po...Document-view: Opening multiple views when creating/loading a document
I would like to make a document-view application using wx but the sample is
I need to work with multiple views of the same document simultaneously. When
I create or open a document, I would like all related views to be shown.
Let me explain it better.
I would like to be able to manage each document in a separate frame. Each
frame would contain different views of the document in a mdi manner (the
tab way). I have no idea of how doing that using the wxWidgets
Please, what approach should I take? I'm very confused.
Rodr...Problem adding HTML content loaded using document.load()
I'm building a tree control that lazily loads branches of the tree
using the document.load() method.
The external XML document that is loaded is generated by a servlet as
XHTML. What I would like to do is to add the new tree branch to the
correct place in the document in the browser window using the innerHTML
property of the parent node.
The relevant code snippet that I've written to do this is:
var target = document.getElementById(parentId);
target.innerHTML = xmlDoc.documentElement.xml;
This doesn't work, furthermore looking at the W3C DOM API it would seem
that the docu...Safarfi document.load()
i am trying to create an XML wrapper for the IE, Mozilla and Safari.
the interface i want to support is :
this works fine on IE & NN , but i've read and seen myself, that the
Safari browser does not support the XMLDOC load method.
i am trying to write my own version of this function:
but safari with it's "wonderful" debug facilities doesnt seem to be
happy with it.
and all i get in the console (debug sent there) is :
TypeError - undefined value.
when i'm trying to find something it takes to long. is there any API
methods that i could just click on link (i.e. onClick()) and page opens with
info regarding that method...i don't know if i explained it right but if
anybody know what i mean and could help me it would be great :)
In article <email@example.com>, firstname.lastname@example.org
enlightened us with...
Hey good people,
I've been given a problem to solve recently - and stuck with the
solution for a good 4 days already.
i have a link which leads to popup window. the purpose of that popup
window is to redirect user to the one of available servers.
so i need to check which server is available. i have decided to
download some 1pixel image from every server and if it was downloaded
then the server is available. the other thing i have to keep in mind is
that 3 servers have some order of preference, ie server1 is prefered to
have user redirected to then server2 and then server3.
the way i do...Loading a simple XHTML transitional document into a org.w3c.dom.Document
I'm just trying to do the simplest thing in the world. Where input
is a java.io.File that contains an transitional XHTML 1.0 file, I do
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance
db = dbf.newDocumentBuilder();
Document doc = db.parse(input);
Unfortunately, this tries to pull the DTD from the W3C, and they
didn't like that. So, they give me a 503 error. I tried the
EntityResolver from http://forums.sun.com/thread.jspa?threadID=5244492,
I would like to know if it's possible to clean up my scripts, or if you
will, 'make them biodegradable'. Some of my smaller script will be
download to the users browser, but I would like to clear them once I am
done, so as not to bog down the browser more than needed. I have tried
removing the script element, and/or setting the src attribute to null
and '', but the script itself still remains.
Here is some example code.