Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scrolling page within frameset only in ie4

Status
Not open for further replies.

rivkah

Programmer
Mar 23, 1999
19
US
hi there, once again, an internal site soon to go public...<br>
first, the code...<br>
&lt;html&gt;<br>
&lt;head&gt;&lt;title&gt;XXXXXX&lt;/title&gt;<br>
&lt;META NAME="keywords" CONTENT="XXXXX"&gt;<br>
&lt;META NAME="description" CONTENT="XXXXX"&gt;<br>
&lt;/head&gt;<br>
&lt;script&gt;<br>
&lt;!--<br>
&lt;% If Request("WhereTo") = "" Then<br>
strWhereTo = "locator.htm"<br>
Else<br>
strWhereTo = Request("WhereTo")<br>
End If<br>
%&gt;<br>
// --&gt;<br>
&lt;/script&gt;<br>
&lt;frameset ROWS="73,*" BORDER="0" FRAMEBORDER="0" FRAMEBORDER="NO" FRAMESPACING="0"&gt;<br>
&lt;frame SRC="locator_top.htm" NAME="top" SCROLLING="NO" NORESIZE&gt;<br>
&lt;frameset COLS="130,*" BORDER="0" FRAMEBORDER="0" FRAMEBORDER="NO" FRAMESPACING="0" marginheight="1" marginwidth="1"&gt;<br>
&lt;frame SRC="locator_nav.asp" NAME="nav" SCROLLING="AUTO" NORESIZE marginheight="1" marginwidth="1"&gt;<br>
&lt;frame SRC="&lt;%=strWhereTo%&gt;" NAME="main" SCROLLING="AUTO" NORESIZE marginheight="0" marginwidth="0"&gt;<br>
&lt;/frameset&gt;<br>
&lt;/frameset&gt;<br>
<br>
&lt;noframes&gt;<br>
&lt;meta HTTP-EQUIV="refresh" CONTENT="0; URL=../noframes.htm"&gt;<br>
&lt;/noframes&gt;<br>
&lt;/html&gt;<br>
<br>
now, the problem...<br>
only in ie4, when i click on a link "locator_top.htm" the page scrolls, even though i have scrolling set to "no". any suggestions?
 
Just a quick suggestion; have you tried the javascript: window.location.replace("desired URL");<br>
window.parent.top (WHOA!!!!; you HAVE to change the name of the first frame!!!...the name "top" is used for the highest level parent frame in JS...that MUST be changed before you can do ANYTHING with it)<br>
<br>
sorry about the abruptness; I was working on the script when that glich hit me like a ton of bricks going 200mph :)<br>
<br>
<br>
-Rohberc<br>
robherc@netzero.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top