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 28, 2006, 5:11 am
Please log in for more thread options


I finally found the solution: my 2 buttons have the following links:
<a href=javascript:ShowTOC(); return true;>
<a href=javascript:ShowRes(); return true;>
and the ShowTOC and ShowRes functions look like (MiddleFrame being the
ID I gave the inner frameset):
function ShowTOC() {
parent.document.getElementById("MiddleFrame").cols = "0,300,*";
}
function ShowRes() {
parent.document.getElementById("MiddleFrame").cols = "300,0,*";
}
and all goes like a breeze...


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