Html Frame Coding, Linking to info in another Frame - html

OK so I'm coding something and i have a left frame, a right frame, and of coarse the main frameset html document. I want to have a link in the left frame that when clicked will jump to information on the right frame like and , but i obviously not working, i believe I've seen it done, just don't know how to do it. Thanks

The link target must be the name of the frame you want the content to load into.
Link
Frameset:
<frameset cols="25%,*,25%">
<frame src="" />
<frame src="" />
<frame src="" name="myRightFrame" />
</frameset>

Related

How do I open a reference in another frame

I have a frame set with 2 frames.
<html>
<head>
</head>
<frameset cols="10%,*">
<frame src="Meniu.html">
<frame src="Secundar.html">
</frameset>
</html>
The output is this:
Frames
When I click on one of the references from the left frame, it opens in the same small frame, but how do I make to open the reference in the right frame, the bigger frame?
Disclaimer: <frameset> and <frame> are obsolete and do not work well in web-browsers at all. I can only conclude you're learning how to write HTML from a book published before 1997 - or you're a cruel sadist.
With that out of the way: Use the target="" attribute on your <a> and <form> elements to specify the <frame> by its name="" attribute.

Call a frameset reference in a 2nd html

I have a frameset, where the right frame have buttons which on click redirects to defined html pages.
Similarly i want to achieve the same simultaneously on click of the radio button 2 on the right frame, my corresponding image should be loaded on the left frame.
Have tried something like this:
<html>
<frameset cols="25%,75% scrolling=" no ">
<frame name="left " src="help_q1_image.html " scrolling=no />
<frame name="center " src="help_q1.html " scrolling=no />
</frameset>
</html>
AS of now only the image defined in help_q1_image.html loads.
When i click on button/link 2, its corresponding image should load.

using frame like div

When I use frame tag like this,
<frameset rows="425,*" noresize frameborder=0>
<frame name="top" src="./top.html" scrolling="no">
<frame name="bottom" src="./bottom.html">
</frameset>
if I scroll, then top.html stays at the top and just bottom.html gets scrolled.
I want to implement the scroll to top.html as well just like I would scroll any other div.
Is it possible? I must use frame tag because there is a music player at top so need to preserve that. ,even page change. Any help is appreciated.

How to Get Rid of a Single Border Between a Frame and a Frameset?

I've got a page with a toolbar in the top frame. I want borders between every other frame except between the toolbar and the two frames it borders.
<html><head><title>Test</title></head>
<frame src="toolbar.html" name="toolbar">
<frameset rows="44%,*">
<frameset cols="50%,50%">
<frame src="frame1.html" name="frame1">
<frame src="frame2.html" name="frame2">
</frameset>
<frameset rows="28%,28%" cols="50%,50%">
<frame src="frame3.html" name="frame3">
<frame src="frame4.html" name="frame4">
<frame src="frame5.html" name="frame5">
<frame src="frame6.html" name="frame6">
</frameset></frameset></html>
So, how would I remove the boarder between "toolbar" and "frame1"/"frame2" while leaving all the other boarders in place (including the one between frame1 and frame2)? I'm open to using iframes if that would do it, but I would need to see a code example because I have never used them.
I don't think you can gain sufficient control over the frameborders to do what you want. Best would be to not use framesets at all, but if you really want to, your best hope is to hide all the frameborders and have 1px of dark margin or padding around the edge of the html in each frame to stand in for the frame borders, except in the places where you want the borders not present.

HTML Frameset Query

I have the following code for framset display
<FRAMESET ROWS="18%,*" >
<FRAME SRC="./views/Title_Page.html" NAME=TITLE SCROLLING=NO MARGINHEIGHT=1 noresize="noresize">
<FRAMESET COLS="20%,*">
<FRAME SRC="./views/Navigation_Page.jsp" NAME=SIDEBAR noresize="noresize" scrolling="no">
<FRAME SRC="./views/Welcome.html" NAME=MAIN noresize="noresize">
</FRAMESET>
<NOFRAMES>NOFRAMES stuff
</NOFRAMES>
</FRAMESET>
I want to add a logout link which logges out of the app ,when i add a link in Title_Page.html it logges out only that frame but not the others,how will handle it?i want to log out completly from all the frames
I must preface by saying that frames are pretty much frowned upon on the web these days. They're deprecated, they're not a good user experience, it's very difficult to link or bookmark a page, etc etc...
Add target="_top" to your logout link. It will target the "top" page (the one which defines all the frames). Also note that target is deprecated.
target="_top"
… same as anything else you want to hit the top window instead of the current frame.