Click here to get back home

flip/flop contents of a frame ?

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
flip/flop contents of a frame ? Yves-Alain.Nicollet@bull.net 02-24-2006
Posted by Yves-Alain.Nicollet@bull.net on February 24, 2006, 12:09 pm
Please log in for more thread options


Hi.
I have a frameset with 3 frames that look like a T, with the top frame
containing buttons like a toolbar, the left frame usually containing a
dynamic TOC and the right frame containing the documents to view. In
the toolbar, I have a button that starts a search engine which results
I want to display in the left frame, hiding the TOC. Two buttons in the
toolbar should help choose to display either the TOC or the search
results in the left frame, but without reloading the TOC from the
server nor restarting the search engine.
Is there a way to achieve this?
Thanks.


Posted by IEDesigner on February 24, 2006, 3:05 pm
Please log in for more thread options


> Hi.
> I have a frameset with 3 frames that look like a T, with the top frame
> containing buttons like a toolbar, the left frame usually containing a
> dynamic TOC and the right frame containing the documents to view. In
> the toolbar, I have a button that starts a search engine which results
> I want to display in the left frame, hiding the TOC. Two buttons in the
> toolbar should help choose to display either the TOC or the search
> results in the left frame, but without reloading the TOC from the
> server nor restarting the search engine.
> Is there a way to achieve this?
> Thanks.

No, not without reloading the page containing the TOC or the search results.
You could use layers and then have them become visible or invisible by
clicking a button but then there would be no purpose in having frames.
IEDesigner



Posted by Yves-Alain.Nicollet@bull.net on February 27, 2006, 11:05 am
Please log in for more thread options


So. Here comes another idea: create 3 vertical frames, the first one
with a width of 0 (or 1), holding the search results, the second with a
width of 300, holding the TOC, and the third with a width of what's
left for documents. How can I program my 2 buttons in the toolbar to
switch the width of the first and second frames (whatever browser is
used)?


Posted by IEDesigner on February 27, 2006, 1:55 pm
Please log in for more thread options


> So. Here comes another idea: create 3 vertical frames, the first one
> with a width of 0 (or 1), holding the search results, the second with a
> width of 300, holding the TOC, and the third with a width of what's
> left for documents. How can I program my 2 buttons in the toolbar to
> switch the width of the first and second frames (whatever browser is
> used)?

It may be possible to do what you ask with JS. I'm not a JS guru so for me
finding a solution might take some time. I would start with an onClick event
that would change the width of two frames simultaneously. Try asking your
question in news:comp.lang.javascript
IEDesigner



Posted by Yves-Alain.Nicollet@bull.net on February 28, 2006, 3:03 am
Please log in for more thread options


You're right. Thanks.


Similar ThreadsPosted
Force justification of inline frame contents April 6, 2005, 12:02 am
Fixing a Table of Contents Menu, when contents Scroll May 5, 2008, 7:40 am
Link in a one frame change content of another frame. October 7, 2005, 1:30 pm
April 16, 2008, 2:52 am
Multiple-level Table of Contents April 6, 2006, 9:59 am
table/cell contents postioning question? September 3, 2005, 10:27 am
forcing ie to save the contents of the html instead of displaying it September 9, 2005, 5:47 pm
content negotiation and parsing page contents February 6, 2006, 11:43 am
vertical scrollbar showing when contents do not exceed bounds May 18, 2005, 4:55 pm
Vertical alignment of table cell contents in FireFox August 27, 2006, 5:55 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap