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/
Related
i have to do homework which should look like this:
frame homework
i managed to do: (my try)
<HTML>
<frameset cols="*,200">
<frameset rows="100,*,15%">
<frame src="rl_gorna.html">
<frame src="rl_srodkowa.html">
<frameset cols="15%,*">
<frame src="rld_lewa.html">
<frame src="rld_prawa.html">
</frameset>
</HTML>
But i dont know how to do right side because It breaks all the time. I thought that when i will add over "frameset rows="100,*,15%" frame src it will work fine but its not
Make sure you get the nesting in order, and don't forget to close your <frameset> elements:
<frameset cols="*,200">
<frameset rows="100,*,15%">
<frame src="rl_gorna.html">
<frame src="rl_srodkowa.html">
<frameset cols="15%,*">
<frame src="rld_lewa.html">
<frame src="rld_prawa.html">
</frameset>
</frameset>
<frame src="r_prawa.html">
</frameset>
See a working CodeSandbox
And a friendly note: <frame> and <frameset> elements are deprecated, so I'd put them to rest when your homework is done.
How to set my frames in html as shown in diagram below? How to create rows in frame-set columns? Is CSS needed here?
<html>
<frameset cols="25%,*">
<frame src="myframe1.htm">
<frame src="myframe2.htm">
<frame src="myframe3.htm">
</frameset>
</html>
You don't need CSS for this. You can nest framesets and use the rows attribute, for example:
<frameset cols="25%,*">
<frameset rows="*,*">
<frame src="myframe1.htm">
<frame src="myframe2.htm">
</frameset>
<frame src="myframe3.htm">
</frameset>
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
Ok so I have the following frameset,
<frameset cols="30%,70%">
<frame src="left.html" />
<frameset rows="50%,50%">
<frame src="top.html" />
<frame src="bottom.html" />
</frameset>
</frameset>
but for some reason the files are not showing up!!! what am I doing wrong?!?!?! because I tested the code on http://www.w3schools.com/html/tryit.asp?filename=tryhtml_frame_mix and it works perfectly fine!!!!
Found the problem, I was placing it in the body, but it had to be placed under <header>
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