Link to home
Start Free TrialLog in
Avatar of adamopolis
adamopolis

asked on

Creating a HTML frameset in R4.6 ?

Hello, I want a simple way to create a HTML frameset in a notes document as pass thru html or whatever. This could typically be a "$$View Template for Frameset" form with a dummy "frameset" view.

I have tried various things but Domino keeps on putting in the body tag which makes the browser ignore the frameset....

Thanks in advance....
Avatar of HemanthaKumar
HemanthaKumar

Do you use R5 ??
Avatar of adamopolis

ASKER

No, it has to be R4.6.3 unfortunately....
ASKER CERTIFIED SOLUTION
Avatar of CRAK
CRAK
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi CRAK, I tried something similar to that.... your method produces the code :

<HTML>
<!-- Lotus-Domino (Release 4.6.3a - January 8, 1999 on Windows NT/Intel) -->
<HEAD>
<!-- start capturing body tag >
<SCRIPT LANGUAGE="JavaScript">
<!--
function _doClick(v) {
  location.href = "/acePortal.nsf/Frameset?OpenNavigator&Click=" + v;
}
// -->
</SCRIPT>
</HEAD>
<BODY TEXT="000000" BGCOLOR="ffffff">

<FORM><!-- end capture body tag -->
</HEAD>
<frameset border=1 frameborder=0 framespacing=0 cols=130,*>
<frame src="http://9.133.69.129/LearningSpace4/ace/HTML/menu/menu.htm" name=menu scrolling=no marginwidth=0 noresize target=maincontent>
<frame src="http://9.133.69.129/LearningSpace4/ace/HTML/titleframe.htm" name="maincontent" marginwidth=0>
</frameset>
</HTML>
<noscript>
</FORM>
</BODY>
</HTML>

the inclusion of the script statement stops the capturing of the body tag and the browser displays nothing. any other ways round this ? apart from switching off javascript ?
Fixed it ! Just put the following in HTMLHead :

"</HEAD><frameset border=1 frameborder=0 framespacing=0 cols=130,*><frame src=http://9.133.69.129/LearningSpace4/ace/HTML/menu/menu.htm name=menu scrolling=no marginwidth=0 noresize target=maincontent><frame src=http://9.133.69.129/LearningSpace4/ace/HTML/titleframe.htm name=maincontent marginwidth=0></frameset></HTML><noscript>"

and the noscript tag kills everything else that Domino churns out - but you get the points anyway !
Nice workaround!
I used to add the javascript just before the </HEAD>, straight on the form, in the HTML-style.
Saved me a lot of trouble marking all those quotes with "\" in $$HTMLHead's formula....