Hi,
I need to add some javascript to on a frameset (JS Header). Is it possible? (is yes… how?)
/Torben
Hi,
I need to add some javascript to on a frameset (JS Header). Is it possible? (is yes… how?)
/Torben
Subject: How can I edit javascript in a web-frameset?
Anything is possible!
Enter something like
// - cut here
var p = window.parent.document.documentElement.children[0];
if( p != “undefined” && p.tagName == “HTML” ) {
p.innerHTML = ‘’ + p.innerHTML;
}
// - cut here
in “JS Header” section of some Page resides within your frameset.
It works well under FF 1.5.3. I do not test it under IE.
Subject: How can I edit javascript in a web-frameset?
HiInsert a form in the frameset, you need to type the javascript on the form and pass though html the script
or else type the script in the html head content of the form.
Manu
Subject: How can I edit javascript in a web-frameset?
Hi Torben,
I haven’t found a way to add header-information to a NOTES-frameset yet.
Generally I prefer not to use notes-framesets for my web-applications. Pages are much easier to handle:
Create a new Page and name it “my_frameset”
Set the page property “content-type(?)” to “HTML”
Write your frameset (HTML) into this page
Save & call it like database.nsf/my_frameset?openPage
As you’ll see, no additional HTML-tags are added by Notes/Domino
Hope it helped you,
Marco