I have a standard three frame layout (side_bar navigation, top_bar header, and the rest content). Each frame can load different html sources. The problem how do I know which html src is open each frame. If I click on netscape 'page info' I get a list of each frame and its contents. Is this information available to a zope ? Chris
Frames are a client side feature of which Zope knows nothing. It is very hard to synchronize multiple frames on the client side (which is done with JavaScript) and Zope. However, there are few reasons to use frames since Zope creates your pages on the fly. Use layers (<div></div>) or similar where you would have a frame and fill them each from a template. This is far easier and much more flexible. Robert ----- Original Message ----- From: "Chris Fenton" <chrisf@fagmed.uit.no> To: <zope@zope.org> Sent: Tuesday, October 30, 2001 9:20 AM Subject: [Zope] Keeping track of frames
I have a standard three frame layout (side_bar navigation, top_bar header, and the rest content). Each frame can load different html sources. The problem how do I know which html src is open each frame. If I click on netscape 'page info' I get a list of each frame and its contents. Is this information available to a zope ?
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Another method is to identify each frame inside the dtml with a REQUEST variable, form variable or session variable that is sticky to that frame. Fourther context tracking could be done with jscript. I use IFRAMEs once in a while and pass differences by a hidden form input. It has no detriment to the security or anything else other than to identify what is happening. I also always program session variables for myself to control the appearance of REQUEST at the bottom for debugging. When I myself am authhenticated, I get the tracebacks and REQUEST at the top and bottom so I can see what has transpired. Paul Zwarts -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of Robert Rottermann Sent: Tuesday, October 30, 2001 10:08 AM To: Chris Fenton; zope@zope.org Subject: Re: [Zope] Keeping track of frames Frames are a client side feature of which Zope knows nothing. It is very hard to synchronize multiple frames on the client side (which is done with JavaScript) and Zope. However, there are few reasons to use frames since Zope creates your pages on the fly. Use layers (<div></div>) or similar where you would have a frame and fill them each from a template. This is far easier and much more flexible. Robert ----- Original Message ----- From: "Chris Fenton" <chrisf@fagmed.uit.no> To: <zope@zope.org> Sent: Tuesday, October 30, 2001 9:20 AM Subject: [Zope] Keeping track of frames
I have a standard three frame layout (side_bar navigation, top_bar header, and the rest content). Each frame can load different html sources. The problem how do I know which html src is open each frame. If I click on netscape 'page info' I get a list of each frame and its contents. Is this information available to a zope ?
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Chris Fenton -
Paul Zwarts -
Robert Rottermann