<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1012773" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1012773</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/frame-forcing-solved-other-question-javascript-between-frames#comment-1073932</link>
    <description> &lt;p&gt;Vincent-&lt;br /&gt;
Thanks, I felt as though I was stumbling aroung in the dark, lol.&lt;/p&gt;
 </description>
     <pubDate>Sat, 11 Nov 2000 23:02:39 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1073932 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/frame-forcing-solved-other-question-javascript-between-frames#comment-1073921</link>
    <description> &lt;p&gt;Hi Ian,&lt;/p&gt;
&lt;p&gt;  First things first.  If you are attempting to change a page&#039;s (or frame&#039;s) title, it will only work with IE.  Netscape will not allow you to change the title of an already loaded page/frame.  So...although I haven&#039;t tried it with frames, I believe it also will not work because the HTML meta tag is loaded, interpreted, and executed before any javascript.&lt;/p&gt;
&lt;p&gt;  Secondly, the code Max gave you (in fact any code with the keyword &#039;all&#039; in the DOM -- document object model) is IE-specific (and nowadays NN ver6).&lt;/p&gt;
&lt;p&gt;  Finally, if you want to try with document.write, the syntax would be:&lt;/p&gt;
&lt;p&gt;&amp;lt;script language=&#039;javascript&#039;&amp;gt;&lt;br /&gt;
&quot; + myTitle + &quot;&amp;lt;\/h3&amp;gt;&lt;br /&gt;
//--&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;But, as I said Netscape will probably balk. To make it completely crossbrowser, you would probably have to create the page dynamically, and then load it into the frame you want (probably more work than worth).&lt;/p&gt;
&lt;p&gt;If you want to see a tutorial on the title property, see the script/tutorial by that name at my site.&lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
&lt;p&gt;BTW Max: You&#039;re doing a good job &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 11 Nov 2000 19:56:00 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1073921 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/frame-forcing-solved-other-question-javascript-between-frames#comment-1073916</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: &lt;em&gt;Originally posted by ianrules &lt;/em&gt;&lt;br /&gt;
&lt;strong&gt;but i dont wanna use the TITLE tag as the variable. &lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Oooohh... I didn&#039;t the part about the nav bar before, sorry.&lt;/p&gt;
&lt;p&gt;Well, again, all I can think of is that you could give some tags (h3 or whatever) id. Then address them like this:&lt;br /&gt;
parent.framename.document.all.titleID.innerHTML = &quot;my new title&quot;&lt;br /&gt;
You&#039;d put this on the content page, and point it to the tags in the nav frame that have the id.&lt;/p&gt;
&lt;p&gt;I don&#039;t know if that will work or not, never tried.&lt;/p&gt;
 </description>
     <pubDate>Sat, 11 Nov 2000 18:07:22 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1073916 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/frame-forcing-solved-other-question-javascript-between-frames#comment-1073912</link>
    <description> &lt;p&gt;sorry i guess i didn&#039;t phrase my question correctly&lt;br /&gt;
on the content page&lt;/p&gt;
&lt;p&gt;&amp;lt;script&amp;gt;&lt;br /&gt;
// i wanna set the variable title&lt;br /&gt;
var title = &quot;Ian\&#039;s page&quot;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;and on the nav-bar page:&lt;/p&gt;
&lt;p&gt;&amp;lt;script&amp;gt;&lt;br /&gt;
document.write(title)&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;can javascript work across 2 frames like above?&lt;br /&gt;
or do i have to edit the code to let the browser know that the variable title is defined in another window.&lt;/p&gt;
&lt;p&gt;but i dont wanna use the TITLE tag as the variable.&lt;/p&gt;
 </description>
     <pubDate>Sat, 11 Nov 2000 17:22:15 +0000</pubDate>
 <dc:creator>ianrules</dc:creator>
 <guid isPermaLink="false">comment 1073912 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/frame-forcing-solved-other-question-javascript-between-frames#comment-1073893</link>
    <description> &lt;p&gt;forgot about client side...&lt;/p&gt;
&lt;p&gt;I don&#039;t know how this would be done client side.  I&#039;ve never tried.  Vincent would probably know.&lt;/p&gt;
&lt;p&gt;*maybe* (this is a highly uneducated guess) you could give the  tags an id.  Then address them like this:&lt;br /&gt;
parent.framename.document.all.titleID.innerHTML = &quot;my new title&quot;&lt;/p&gt;
 </description>
     <pubDate>Sat, 11 Nov 2000 04:17:28 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1073893 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/frame-forcing-solved-other-question-javascript-between-frames#comment-1073892</link>
    <description> &lt;p&gt;Yes... you can change the .  Just how do you want to do it?&lt;/p&gt;
&lt;p&gt;Server side?  this is easy.  you just have to change every link on every page to do it.  Here&#039;s the psuedo-logic.&lt;br /&gt;
every link will go to a &#039;template&#039; .asp file.  the .asp file will print HTML to the browser containing your frame info, with the requested page in the proper frame.  At the same time, we insert the correct  for the requested page.&lt;/p&gt;
&lt;p&gt;example&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;%&lt;br /&gt;&amp;#039;index.asp&lt;br /&gt;&lt;br /&gt;&amp;#039; What page was requested?&lt;br /&gt;Page = Request.QueryString(&amp;quot;page&amp;quot;)&lt;br /&gt;&lt;br /&gt;&amp;#039;What&amp;#039;s the &amp;lt;title&amp;gt; for this page?&lt;br /&gt;Select Case Page&lt;br /&gt;&amp;nbsp; Case &amp;quot;home.html&amp;quot;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Title = &amp;quot;This is my home page&amp;quot;&lt;br /&gt;&amp;nbsp; Case &amp;quot;links.html&amp;quot;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Title = &amp;quot;These are some of the best links around!&amp;quot;&lt;br /&gt;&amp;nbsp; Case Else:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Title = &amp;quot;My.Com&amp;quot;&lt;br /&gt;End Select&lt;br /&gt;&lt;br /&gt;&amp;#039;Print the template frame page&lt;br /&gt;%&amp;gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;%=Title%&amp;gt;&amp;lt;/strong&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;FRAMESET ROWS=&amp;quot;10%,*&amp;quot; border=0&amp;gt;&lt;br /&gt;&amp;lt;FRAME NAME=&amp;quot;left&amp;quot; SRC=&amp;quot;nav.html&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;FRAME NAME=&amp;quot;body&amp;quot; SRC=&amp;quot;&amp;lt;strong&amp;gt;&amp;lt;%=Page%&amp;gt;&amp;lt;/strong&amp;gt;&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;/FRAMESET&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;All your links would have to be converted to look like this:&lt;br /&gt;
&lt;a href=&quot;index.asp?page=your.html&quot;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I haven&#039;t tested this code, but the thoery is sound.  I use similar logic on my site (&lt;a href=&quot;http://atomicpixels.com&quot; class=&quot;bb-url&quot;&gt;AtomicPixels.Com&lt;/a&gt;), which is written in PHP.&lt;/p&gt;
&lt;p&gt;This is the &quot;Quick &#039;N Dirty&quot; way to do this.  If your into databases, that would be the better way to go.&lt;/p&gt;
&lt;p&gt;Good Luck,&lt;/p&gt;
 </description>
     <pubDate>Sat, 11 Nov 2000 04:09:41 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1073892 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
