Does anyone know if you can programmatically resize a custom Frameset’s frames? For example, if a user enters field “A” then the bottom frame automatically resizes to 50% of the user’s window.
This is for Notes client, not the web.
-RAM
Does anyone know if you can programmatically resize a custom Frameset’s frames? For example, if a user enters field “A” then the bottom frame automatically resizes to 50% of the user’s window.
This is for Notes client, not the web.
-RAM
Subject: RE: Programmatically resize Frames?
If you can do it, it would be with JavaScript – but I doubt you can do it.
(I hate it when I get that kind of answer, but it’s the best I’ve got)
Subject: RE: Programmatically resize Frames?
I haven’t been able to find anything on this in LotusScript…at least not yet.
-RAM
Subject: RE: Programmatically resize Frames?
Not LotusScript, JavaScript. There is no run-time method to change frame height in LotusScript, and the closest you can get in Formula Language is @Command([ShowHidePreviewPane]), which won’t do what you want.
Andre’s on the right track, but there’s a fatal flaw in Notes that won’t allow it. Or, rather, there’s a fatal flaw in the Netscape-based Notes client JavaScript object model – you can’t access items in the Notes client by HTML id attribute, and that’s the only handle you have to the frameset element in the “document” containing the frameset definition. On the web, you’d do:
window.top.document.getElementById(‘framesetId’).rows = ‘50%,50%’;
The Notes JavaScript object model won’t let you use getElementById(), and, unfortunately, there’s no other hook to use.