This is the code of the main page:
<frameset cols="12%,19%,69%" framespacing="0" frameborder="NO" border="0" name="mainframeset">
<frame src="1.html" name="maoinFrame" scrolling="no">
<frame src="2.html" name="mainFrame" scrolling="yes" noresize="resize" >
<frame src="3.html" name="bottomFrame" >
</frameset>
1.html is a blank page. 2.html has this link:
Home
3.html is another page. When I click the home link in the page I need to open the (link.html) in the current window with no frames. At the moment it opens the page in a new window.
You need to set target="_top" like this:
yourtext
Related
http://www.sandyscastles.net/mlsalt.html
I want to use this iframe on a new site (getting rid of this one). I inspect the element in Chrome... but can't get the iframe to work... I must not be looking at the right source.
Can someone write me a clear explanation of how to find this code?
are you trying to replace iframe?
This is the code your page have.
<frameset rows="116,*" cols="*" frameborder="NO" border="1" framespacing="0">
<frame src="mls2.html" name="topframe" scrolling="NO" noresize="">
<frame src="http://elko.fnismls.com/idx/idx.aspx?Mls=ELKO&Subscriber=bfad323f-3818-41b4-a951-8e2700f75a33&MLSSearch=1" name="body" scrolling="no" noresize="">
</frameset>
I am working on a facelift for a legacy site that has to function in IE5 and up. I have it working in everything but IE8. It uses framesets and that is not something I can change unfortunately.
For some reason, in IE8 on Windows 7 and XP, the second frameset in a nested frameset group is not showing up. It is also a nested frameset.
I have tried viewing this in compatibility mode and without compatibility mode. It is also running on a server, not just a file. My head doesn't use the x-frame-options call in it because the site resides on a non-networked server, so there is no way it can be clickjacked.
Below is my code:
frameset rows="120, *" border="0">
<frameset cols="100%" border="0">
<frame src="masthead.html" style="width: 100%; display:" scrolling="no" noresize></frame>
</frameset>
<frameset cols="240, 640*" border="0">
<frame src="menu.html" scrolling="no" noresize></frame>
<frameset rows="*" border="0">
<frame src="cathome.html" name="main" scrolling="auto" noresize></frame>
</frameset>
</frameset>
</frameset>
It resides in an HTML page that has html, head, title and body tags as well.
The top frameset appears fine, there is just no bottom one. I can also see this exact code when I view source, so it is not removing anything when rendering. Thanks -
The frameset is invalid, and as known, IE is not the best browser to show invalid HTML. Remove the extra framesets:
<frameset rows="120, *" border="0">
<frame src="masthead.html" scrolling="no" noresize></frame>
<frameset cols="240, 640*" border="0">
<frame src="menu.html" scrolling="no" noresize></frame>
<frame src="cathome.html" name="main" scrolling="auto" noresize></frame>
</frameset>
</frameset>
I am having FrameSet like this :
<FRAMESET rows="80%,20%">
<FRAME SRC="displayMessages.jsp#current" name="MessageWin">
<FRAME SRC="sendMessage.jsp" name="TypeWin">
</FRAMESET>
Now I want a divison tag outside this FrameSet Like this :
<div class="right_sidebar">
<div class="mail_title"><img src="images/my_inbox.png">My Inbox</img></div>
<div class="mail_indox">
<FRAMESET rows="80%,20%">
<FRAME SRC="displayMessages.jsp#current" name="MessageWin">
<FRAME SRC="sendMessage.jsp" name="TypeWin">
</FRAMESET>
</div></div>
But the frames are not shown .Please help
Instead of "frame" use the iframe tag. it is working fine.
<iFRAME SRC="displayMessages.jsp#current" name="MessageWin">
<iFRAME SRC="sendMessage.jsp" name="TypeWin">
Updated jsfiddle link for your reference..
http://jsfiddle.net/3y4X2/
I have this as main page but I need the new pages to open in the whole tab, not in the frame. Is there any code to do that?
<frameset rows="9%,*%"noresize="noresize" border="0" framespacing="0" frameborder="no">
<frame src="title.html"noresize="noresize" border="0" framespacing="0" frameborder="no">
<frameset cols="10%,*%"noresize="noresize" border="0" framespacing="0" frameborder="no">
<frame src="sidebar.html"noresize="noresize" border="0" framespacing="0" frameborder="no">
<frame src="main.html"noresize="noresize" border="0" framespacing="0" frameborder="no">
</frameset>
</frameset>
Did you try adding a target="_blank" to your anchors? More about the target attribute on MDN.
Example:
External link
Side note: using frames for your whole site is considered bad practice more info here: Exactly WHY are Frames bad?
I have the frameset like this,
index.html
<frameset rows="137px,*" border="0" >
<frame src="first.html" scrolling="no" noresize="noresize"/>
<frame src="second.html" noresize="noresize" name="show"/>
</frameset>
first.html
<a href="home.html" target='show'>Home</a>
home.html
<frameset rows="20%,*" border="0" >
<frame src="third.html" scrolling="no" noresize="noresize"/>
<frame src="fouth.html" noresize="noresize" name="newshow"/>
</frameset>
when I click the Home link in first.html. It will be load on the show frame( home.html).
The home.html is having another two frames. it will be split into two frames. When this split happens all page content become large. How to get rid of this problem.
I am working with firefox 3.0.8. In google-chrome,it works fine.
Thanks