<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1003132" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1003132</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/linking-file-within-framepossible#comment-1013841</link>
    <description> &lt;p&gt;I&#039;ve tried the &#039;hcshim&#039; javascript, A kind of a referal javascript like this was what I had in mind, but it refers the page to the main frameset which still loads up the default &#039;main&#039; page in the &#039;main&#039; frame rather than the &#039;refering&#039; page.&lt;/p&gt;
&lt;p&gt;The idea is that when search engines spider the site, they spider pages which normally would be viewed inside the frameset. Clicking on the link from the search engine loads a page which is out of its frameset. I guess i&#039;m looking for a script that I could put on a page wich will load a frameset &#039;around&#039; the page when the visitor loads it out of its frameset.&lt;/p&gt;
&lt;p&gt;Thanks for your help,&lt;/p&gt;
&lt;p&gt;Brendan&lt;/p&gt;
 </description>
     <pubDate>Fri, 19 May 2000 17:54:00 +0000</pubDate>
 <dc:creator>nemes</dc:creator>
 <guid isPermaLink="false">comment 1013841 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/linking-file-within-framepossible#comment-1013840</link>
    <description> &lt;p&gt;Yes, you can do this with javascript. Try this putting this on your links.html:&lt;/p&gt;
&lt;p&gt;&amp;lt;script language=&quot;javascript&quot;&amp;gt;&lt;br /&gt;
if (top==self) location.href=&quot;Insert URL of main frameset here&quot;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;Remember to put this within the header tag.&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.hotredirect.com&quot; class=&quot;bb-url&quot;&gt;HotRedirect - Free URL Redirection and Unlimited E-mails&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 18 May 2000 22:27:00 +0000</pubDate>
 <dc:creator>hcshim</dc:creator>
 <guid isPermaLink="false">comment 1013840 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/linking-file-within-framepossible#comment-1013839</link>
    <description> &lt;p&gt;Sorry my first post was perhaps a bit ambiguous.&lt;/p&gt;
&lt;p&gt;The site just uses a simple half split framset, with a navabar and main page. I&#039;ve allready got the links to load in the correct frame and its been like that for a while. What the problem is, is that when the frame loads it loads the nabar.html and main.html file. Viewing any other file requires navigation from here (using the navbar). But if for example I wanted to link directly to a page called links.html without having to navigate from the main page, if I typed in the URL it appears outside the frameset (which looks and naviagates strangely, especially since he links are all &#039;targeted&#039; to load within &#039;main&#039; which doesn&#039;t exist). Is there any way to get the &#039;main&#039; frameset to load with this &#039;links.html&#039; document within the &#039;main&#039; frame along with the navbar.html in the navbar frame without writing out a completely new frame?&lt;/p&gt;
&lt;p&gt;The reason that I&#039;d like to do this is so I am able to refer people to specific part of the website, but for them to still be able to continue navigation as normal.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Brendan&lt;/p&gt;
 </description>
     <pubDate>Thu, 18 May 2000 17:55:00 +0000</pubDate>
 <dc:creator>nemes</dc:creator>
 <guid isPermaLink="false">comment 1013839 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/linking-file-within-framepossible#comment-1013838</link>
    <description> &lt;p&gt;Could you give us a URL?&lt;/p&gt;
 </description>
     <pubDate>Thu, 18 May 2000 06:45:00 +0000</pubDate>
 <dc:creator>Lloyd Hassell</dc:creator>
 <guid isPermaLink="false">comment 1013838 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/linking-file-within-framepossible#comment-1013837</link>
    <description> &lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;  Do you mean this?&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&quot;html\descript.html&quot;&lt;br /&gt;
        target=&quot;main&quot;&amp;gt;&lt;br /&gt;
&amp;lt;a href=&quot;html\contact.html&quot;&lt;br /&gt;
        target=&quot;main&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;...etc.....&lt;br /&gt;
If you do, the above is example links for a navigation bar (in say the 3rd frame of a 3-frame frameset).&lt;br /&gt;
The &quot;target&quot; keyword tells the browser in which frame to load the referenced page. Note: you must name the frames for this to work.&lt;br /&gt;
 If you do not name the frames, you will have to use frames[0]...etc.&lt;br /&gt;
 If you do not use &quot;target&quot; you will have to use the entire dom -- something like: document.framename.location.href = &quot;something.html&quot;  (I could be wrong about the syntax, been a while since I played with frames.)&lt;/p&gt;
&lt;p&gt;Hope this helps. If not, let me know.&lt;/p&gt;
&lt;p&gt;Vinny&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://members.aol.com/grassblad&quot; class=&quot;bb-url&quot;&gt;GrassBlade: cut&amp;amp;paste javascript&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.javaplace.co.uk&quot; class=&quot;bb-url&quot;&gt;The Javascript Place Forums&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 17 May 2000 19:49:00 +0000</pubDate>
 <dc:creator>Vincent Puglia</dc:creator>
 <guid isPermaLink="false">comment 1013837 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
