Note that there are some explanatory texts on larger screens.

plurals
  1. POOpen web page with a frame opening particular bookmark
    primarykey
    data
    text
    <p>I have a <a href="http://www.winmansoftware.com/" rel="nofollow">website</a>. Now when I click on Support -> Basic FAQ on my website I get <code>FAQ.htm</code> which is done by using iframe. By default, <code>FAQ.htm</code> opens with these frames. Now I want make some changes to the link Buy in the website. Now when I click on the buy link it will go to <code>onlinepay.aspx</code>. But I want it to go <code>FAQ.htm</code>page with my right frame <code>name="Frame1"</code> opening the bookmark <code>BKMstepstobuysoft(name=BKMstepstobuysoft)</code>.</p> <p>If tried following.</p> <pre><code>&lt;A href="https://www.winmansoftware.com/FAQ.htm" onClick="window.self.location='ServiceR.htm#BKMstepstobuysoft'" target="Frame1"&gt;Buy&lt;/A&gt; </code></pre> <p>But I know something is wrong. I don't know how to use javascript properly or whether it needs to use any other line of code. I will explain with an example. main.htm is page containing two frames.They are L.htm and R.htm R.htm contains some link one below another. L.htm is a simple frame containing some random text home.htm contains a link for the page main.htm</p> <p>Now in this case if i click on link in home.htm it will display main.htm with two frames in it.in this case R.htm(frame) will be in default position with link1 appearing at top of this frame.</p> <p>I want the link in home.htm to navigate to main.htm with R.htm displaying link 2 text at top.So in R.htm i have included name tag for tag.So how it can be done.I don't want to change anything in main.htm. If you have any doubts with my question please ask.</p> <p><strong>main.htm</strong></p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;Untitled Document&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;p&gt;My html page&lt;/p&gt; &lt;TABLE width="990" height="100%" border="1" align="center" cellpadding="0" cellspacing="0" style="padding-top:10px;"&gt; &lt;tr&gt;&lt;td&gt; &lt;iframe name="Frame2" id="ff" src="L.htm" frameborder="0" scrolling="no" height="600" width="185" style="text-decoration:none;" marginwidth="5"&gt;&lt;/iframe&gt;&lt;/td&gt; &lt;td style="border-color:#009" width="5"&gt;&lt;hr&gt;&lt;/td&gt; &lt;td&gt; &lt;iframe name="Frame1" id="ff" src="R.htm" frameborder="0" scrolling="auto" height="600" width="815" style="text-decoration:none;" marginwidth="5" align="right"&gt;&lt;/iframe&gt; &lt;/iframe&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p><strong>R.htm</strong></p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;Untitled Document&lt;/title&gt; &lt;/head&gt; &lt;A name=BKM1&gt;link 1&lt;/A&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt; &lt;A name=BKM2&gt;link 2&lt;/A&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt; &lt;A name=BKM3&gt;link 3&lt;/A&gt; &lt;body&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p><strong>L.htm</strong></p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;Untitled Document&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;p&gt;this is a frame&lt;/p&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p><strong>home.htm</strong></p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;Untitled Document&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;a href=main.htm&gt;click here&lt;/a&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload