<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
You also copied the styleswitcher.js and all the .css files, right?<br>
<br>
<pre>Original:
================================================================================
function setActiveStyleSheet(title) {
  var i, a, main;
    for(i=0; (a = <b>document</b>.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1 &amp;&amp; a.getAttribute("title")) {
      a.disabled = true;
      if(a.getAttribute("title") == title) a.disabled = false;
    }
  }
}
=================================================================================

Then you'll have to change all references from document to parent.document.

PS.: Watch out for popup-blockers.

</pre>
Hope to Help,<br>
<br>
<pre class="moz-signature" cols="72">-- 
Flavio Gomes
<a class="moz-txt-link-abbreviated" href="mailto:flavio@economisa.com.br">flavio@economisa.com.br</a></pre>
<br>
<br>
Barry Conner wrote:
<blockquote
 cite="mid9B3006CF6C51E4498BC82AEDC60ABED347E720@SVRMAIL.cityofhuntsville.com"
 type="cite">
  <pre wrap="">I've created the following little view control bar which I designed to display in a frames navigation window for my HTML-based application interface.  The frame is generated as a popup to exclude all of the undesirable toolbar &amp; status bar overhead.
 
The actual font manipulation here is handled via a set of JS &amp; CSS files (as posted at <a class="moz-txt-link-freetext" href="http://www.alistapart.com/articles/relafont">http://www.alistapart.com/articles/relafont</a> )
 
HERES THE QUESTION:  This is intended as a mere view control bar, so how might I script the fontsize controls to act on the main frame rather than on itself???
 
Thanks for any thoughts you might have on a solution!
 
Barry
 
&lt;!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--&gt;
&lt;form name="font_select" action="GET"&gt;
     &lt;table align="center" width="100%" location="0" cellspacing="0" cellpadding="4" rules=cols frame=below border="1" margins="0"&gt;
          &lt;tr&gt;
               &lt;td width="25%"&gt;
                    &lt;strong&gt;
                    View Control:
                    &lt;/strong&gt;
               &lt;/td&gt;
               &lt;td align="center"&gt;
                    &lt;button type="button" onclick=<a class="moz-txt-link-rfc2396E" href="javascript:history.back()">"javascript:history.back()"</a>&gt;&lt;small&gt;&amp;nbsp;&amp;nbsp;Back&amp;nbsp;&amp;nbsp;&lt;/small&gt;&lt;/button&gt;
               &lt;/td&gt;
               &lt;td align="center"&gt;
                    &lt;button type="button" onclick=<a class="moz-txt-link-rfc2396E" href="javascript:history.forward()">"javascript:history.forward()"</a>&gt;&lt;small&gt;Forward&lt;/small&gt;&lt;/button&gt;
               &lt;/td&gt;
               &lt;td align="center"&gt;
                    &lt;button type="button" onclick=<a class="moz-txt-link-rfc2396E" href="javascript:fontsizedown();">"javascript:fontsizedown();"</a>
                    value=" font - " /&gt;
                    &lt;small&gt;Smaller Font&lt;/small&gt;&lt;/button&gt;
               &lt;/td&gt;
               &lt;td align="center"&gt;
                    &lt;button type="button" onclick=<a class="moz-txt-link-rfc2396E" href="javascript:fontsizereset()">"javascript:fontsizereset()"</a> /&gt;
                    &lt;small&gt;&amp;nbsp;Reset Font&amp;nbsp;&lt;/small&gt;&lt;/button&gt;
               &lt;/td&gt;
               &lt;td align="center"&gt;
                    &lt;button type="button" onclick=<a class="moz-txt-link-rfc2396E" href="javascript:fontsizeup();">"javascript:fontsizeup();"</a>
                    value=" font + " /&gt;
                    &lt;small&gt;&amp;nbsp;Larger Font&amp;nbsp;&lt;/small&gt;&lt;/button&gt;
               &lt;/td&gt;
          &lt;/tr&gt;
     &lt;/table&gt;
     &lt;hr /&gt;
&lt;/form&gt;
&lt;!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--&gt;

_______________________________________________
Javascript mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</a>
<a class="moz-txt-link-freetext" href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</a>
  </pre>
</blockquote>
</body>
</html>