Ingo Wilmer wrote I'm subscribed to this List since July, but i never read somthing about the Problem i face right now. I want to set up a System that needs a frameset, which has to interact (like klicking on my menuebutton on the left changes both frames [left and right]) all managed by Zope. Now i can't find anything about Zope and Frames. My Question at this Point : Can i work with frames, or do i have to make it all in one page (like in most Systems aut there) ? If someone could point me to the some resource of information or give short answer i'd be happy
Sure. This is just a HTML thing, not a Zope thing. You'll need to put bits of Javascript into your pages to control how the browser behaves when you click on a frame link. Normally in a frameset, a link will only replace the current frame's contents - you need to supply an onClick argument to your tags in the HTML to do what you want. Hm, there's a bunch of good sites and books out there dealing with this... try looking over at the documentation on netscape's web site. Anthony
On 14 December 1999, Anthony Baxter said:
Sure. This is just a HTML thing, not a Zope thing. You'll need to put bits of Javascript into your pages to control how the browser behaves when you click on a frame link. Normally in a frameset, a link will only replace the current frame's contents - you need to supply an onClick argument to your tags in the HTML to do what you want. Hm, there's a bunch of good sites and books out there dealing with this... try looking over at the documentation on netscape's web site.
Actually, for the simple case of making a hyperlink load a document in another frame, it's probably cleaner to use the "target" attribute of the <a> tag, eg. <a href="foo.html" target="frame_name"> But you can't go very far with frames before you need to whip out JavaScript. As usual, I recommend the relevant O'Reilly titles: HTML: The Definitive Guide (Musciano & Kennedy) JavaScript: The Definitive Guide (Flanagan) If you're doing Web development without these on your desk, then either you have a better memory than me, or you're missing out. Greg -- Greg Ward - software developer gward@cnri.reston.va.us Corporation for National Research Initiatives 1895 Preston White Drive voice: +1-703-620-8990 Reston, Virginia, USA 20191-5434 fax: +1-703-620-0913
participants (2)
-
Anthony Baxter -
Greg Ward