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>
Related
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 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
I'm using a using this jquery dropdown menu in my banner frame (mail_frame.html). when it drops down it gets covered by another frame that's below it. even though i set the z-index of the drop down to 999 in it's css, it's still behind the other frame
frameset.jsp
</head>
<frameset id="frameMain" rows="84,*" framespacing="0">
<frame src="mail_frame.html" id="mail" name="mail" frameborder="0" border="0" marginwidth="0" marginheight="0" noresize="noresize" scrolling="no"/>
<frameset id="frameSet" cols="126,*" framespacing="0">
<frame src="leftNavigation.do?loadWelcome=true<%= currentURL %>" id="leftnav" name="leftnav" frameborder="0" border="0" marginwidth="0" marginheight="0" noresize="noresize" scrolling="no"/>
<frame src="empty.htm" id="main" name="main" frameborder="0" border="0" noresize="noresize" scrolling="yes"/>
</frameset>
</frameset>
</html>
how can i make it drop down on top of everything
Classic frames (what you're using) are completely independent windows. You can't have an element in one frame that then extends over the content of another frame. You can do that with iframes, but not with the kind you're using.
It may be time to consider moving to a frameless layout, as that's the direction the technology seems to be going. For instance, neither frame nor frameset is part of HTML5. As an alternative, you can use ajax (an increasingly outdated name, as I suspect most people are using it with JSON instead of XML now) to update individual elements within a page.
How can I modify this frames so that users can not move those frames?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title></title>
</head>
<frameset border="1" rows="100, 200" >
<frame src="page1.html">
<frameset border="1" cols="20%, 80%" >
<frame src="page2.html">
<frame src="page3.html">
</frameset>
</frameset>
</html>
You can use the noresize attribute to disable it:
<frameset border="1" rows="100, 200" >
<frame src="page1.html" noresize>
<frameset border="1" cols="20%, 80%" >
<frame src="page2.html" noresize>
<frame src="page3.html" noresize>
</frameset>
</frameset>
I second what Nick said, but would just like to add that I think it should be one of the following:
noresize="true"
noresize="noresize"
I am not sure which one it is, but I know the attribute "nowrap" uses "nowrap" for the value too, instead of true. Can someone please confirm which of the above options applies here?
Also do you have to use frames? I notice you are loading pages in each one. If you create them as divs, you can use most server side languages to load pages into the divs. For example:
In ASP.Net you are able to do this - but unfortunately I do not have the code for this available right now. There is a way to process a page within a page.
In PHP you can use the include command (include "page1.htm";). PHP is much simpler in my opinion.