pbwest 2003/01/24 01:36:49 Modified: src/documentation/content/design/alt.design/properties index.html Log: Changed frame configuration. Revision Changes Path 1.2 +9 -53 xml-fop/src/documentation/content/design/alt.design/properties/index.html Index: index.html =================================================================== RCS file: /home/cvs/xml-fop/src/documentation/content/design/alt.design/properties/index.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- index.html 24 Jan 2003 01:03:45 -0000 1.1 +++ index.html 24 Jan 2003 09:36:49 -0000 1.2 @@ -5,54 +5,15 @@ <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <script type="application/x-javascript"> <!-- - var isWide = false; var isHigh = true; - function widenCol() { - if (isWide) { return; } - fset = document.getElementById("altDesignFramesetCols"); - fset.setAttribute("cols", "60%,*"); - logowin = top.frames[0]; - logodoc = logowin.document; - wbutton = logodoc.getElementById("widenButton"); - //tnode = document.createTextNode("<"); - //tchild = wbutton.firstChild; - wbutton.setAttribute("value", "<"); - isWide = true; - } - - function narrowCol() { - if ( ! isWide) { return; } - fset = document.getElementById("altDesignFramesetCols"); - fset.setAttribute("cols", "200,*"); - logowin = top.frames[0]; - logodoc = logowin.document; - wbutton = logodoc.getElementById("widenButton"); - //tnode = document.createTextNode(">"); - //tchild = wbutton.firstChild; - //wbutton.replaceChild(tnode, tchild); - wbutton.setAttribute("value", ">"); - isWide = false; - } - - function toggleColWidths() { - if (isWide) { - narrowCol(); - } else { - widenCol() - } - } - function lengthenCol() { if (isHigh) { return; } fset = document.getElementById("altDesignFramesetRows"); - fset.setAttribute("rows", "75%,*"); + fset.setAttribute("rows", "95%,*"); logowin = top.frames[0]; logodoc = logowin.document; lbutton = logodoc.getElementById("lengthenButton"); - //tnode = document.createTextNode("^"); - //tchild = lbutton.firstChild; - //lbutton.replaceChild(tnode, tchild); lbutton.setAttribute("value", "^"); isHigh = true; } @@ -60,13 +21,10 @@ function shortenCol() { if ( ! isHigh) { return; } fset = document.getElementById("altDesignFramesetRows"); - fset.setAttribute("rows", "100,*"); + fset.setAttribute("rows", "20%,*"); logowin = top.frames[0]; logodoc = logowin.document; lbutton = logodoc.getElementById("lengthenButton"); - //tnode = document.createTextNode("v"); - //tchild = lbutton.firstChild; - //lbutton.replaceChild(tnode, tchild); lbutton.setAttribute("value", "v"); isHigh = false; } @@ -80,27 +38,25 @@ } function displayCode(src) { - top.frames[1].location = src; - widenCol(); + top.frames[2].location = src; shortenCol(); } function displayHtml(src) { - top.frames[2].location = src; - narrowCol(); + top.frames[1].location = src; lengthenCol(); } --> </script> </head> - <frameset id="altDesignFramesetCols" cols="200,*"> - <frameset id="altDesignFramesetRows" rows="75%,*"> - <frame id="logoFrame" class="logo" style="padding: 0px; margin: 0px: - border: 0px;" src="../logo.html" scrolling="no"> + <frameset id="altDesignFramesetCols" cols="180,*"> + <frame id="logoFrame" class="logo" style="padding: 0px; margin: 0px: + border: 0px;" src="../logo.html" scrolling="no"> + <frameset id="altDesignFramesetRows" rows="95%,*"> + <frame id="contents" src="introduction.html"> <frame id= "codeDisplayFrame" class= "codeDisplay" src= "../codeframe.html" > </frameset> - <frame id="contents" src="introduction.html"> </frameset> </html>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]