Accessing actions on other frames

Accessing actions on other frames

Have you ever wanted to suspend the scrolling of your navigation bar (first, previous, next, next buttons) on your views. If you place your buttons in a separate frame to your view, you can still use the Domino built-in navigations commands.

The information here took me a while to locate and will save you all time from having to do some extended searches.


1. Start off by naming your frames in Notes. In my case I named the frame with the embedded view 'view'.

2. Create hotspots on the form/page with the embedded view that perform all of the actions you want to occur on the view (include search here as well). You should label them as well. In my case I called the hotspot that performed the first action 'first.'

3. Place the hot spots between DIV Style="display:none" and /DIV statements. This will hide the hotspots on the 'view' frame.

4. In the action bar frame, in the page or the form create actions that do the following in JavaScript:

top.frames["view"].document.all["First"].click()

This looks in the document on the view frame for an element called 'First' and performs a click operation (assuming that a click actually took place on the hotspot on the 'view' frame).

    Requires Free Membership to View

    Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.

    By submitting your registration information to SearchDomino.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchDomino.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

This was first published in July 2001

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.