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='24%,75%';}
else
{parent.document.body.cols = '25%,75%';}
}

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

This was first published in July 2002

Dig deeper on Lotus Notes Domino Administration Tools

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchWinIT

Search400

  • 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 ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.uk

Close