Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 290
  • Last Modified:

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....
0
adamopolis
Asked:
adamopolis
  • 3
  • 2
1 Solution
 
HemanthaKumarCommented:
Do you use R5 ??
0
 
adamopolisAuthor Commented:
No, it has to be R4.6.3 unfortunately....
0
 
CRAKCommented:
Step 1:
Create a navigator called "Frameset". No need to make it do anything or look good, I only need it as I am using a navigatortemplate to generate the frameset....

Step 2:
Create a form called "$$Navigatortemplate for Frameset".
Add a field "$$HTMLHead" (hidden, text, computed for display), formula:
"<!-- start capturing body tag >"

Step 3:
Add a HTML style to the form (e.g. define a different color, font and of size, select last tab of forms propertybox, select "create style" and call it "HTML"). This avoids additional <BR>-tags!!!!

Step 4:
Add HTML to the form (in HTML style), like:
<!-- end capture body tag -->
</HEAD>
<FRAMESET ROWS="50%,50%">
<FRAME SRC="http://www.lotus.com">
<FRAME SRC="http://www.experts-exchange.com">
</FRAMESET>

Step 5 (optional):
Define databases launch options for the web to start the navigator "Frameset" in its own window.
You can also trigger the frameset by launching that navigator yourself....  ;-))
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
adamopolisAuthor Commented:
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 ?
0
 
adamopolisAuthor Commented:
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 !
0
 
CRAKCommented:
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....

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now