 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
CashMoney
Joined: 03 Oct 2009
Posts: 2
|
| Posted: Sat Oct 03, 2009 3:26 pm iFrame help |
|
|
i am not sure if this is the right place to post this but i could really use some help as i am totally new to html and iframes.
Quote: <frameset cols="20%,*">
<frame src="sample.html" name="nav">
<frame src="www.homepage.com" name="main">
</frameset>
sample.html contains various login links to a game
what i am trying to do is make it so that the frame shows like a side bar that shows the names that i am logging into and when i click on a name it logs in the account into the main window.
right now it is working except that it logs in still in the side frame view. |
|
|
PayneLess Designs
Joined: 28 Feb 2007
Posts: 3593
Location: Biloxi, MS
|
| Posted: Sat Oct 03, 2009 5:19 pm |
|
|
Your links have to use the target="" attribute and the target has to have its own name:
target="frame_name"
Introduction to frames
Specifying target frame information |
|
|
CashMoney
Joined: 03 Oct 2009
Posts: 2
|
| Posted: Wed Oct 07, 2009 1:15 pm |
|
|
it took me a few days to figure it out exactly but it works amazingly.
ty so much for your help but 1 other question. is it possible to make it all work within 1 html file or will this always require 2 seperate files ? |
|
|
PayneLess Designs
Joined: 28 Feb 2007
Posts: 3593
Location: Biloxi, MS
|
| Posted: Wed Oct 07, 2009 7:31 pm |
|
|
| Without seeing the functioning site, I think your choice of frames is going to require a minimum of two otherwise there's no reason to use frames. There are scripts which will load pages, images, videos into a div container on click of a link, but those count as files, too. Maybe I mis-understand the question as you should have more than two if your links on second frame page is loading into a frame on that page. |
|
|
nsavalas
Joined: 16 Nov 2009
Posts: 4
Location: Los Angeles, CA US
|
| Posted: Tue Nov 17, 2009 1:40 am How to keep a framed page in it's frameset, always... |
|
|
Please read my post at:
http://www.htmlcodetutorial.com/help/ftopic2976.html |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|