Embedded View Applet fix

Here is a fix for the embedded view problem on a browser

Here is a fix for the embedded view problem on a browser (if your view is embedded in a frame). Code Explanation – Let's assume that there are two frames, "Left" and "Right" and the view is embedded in the "Right" Frame.

This code attempts to resize the frame in which the view is embedded causing the view applet to resize. This fix has worked for me every time.

To use the code simply create an action button on the form where the view is embedded and paste this code. Whenever the view doesn't load properly and shows a gray box then click on the button to fix the view display.

//Browser Check
ns4 = (document.layers)? true:false
ie = (document.all)? true:false

if(ie) {
if (parent.document.body.cols == '25%,75%')
{parent.document.body.cols = '25%,75%';}

if(ns4) {
if (parent.self.screen.cols == '25%,75%')
{parent.self.screen.cols = '25%,75%';}

This was last published in July 2002

Dig Deeper on Lotus Notes Domino Administration Tools

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...