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.
This was first published in July 2001