HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
iFrame help
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
CashMoney



Joined: 03 Oct 2009
Posts: 2

PostPosted: Sat Oct 03, 2009 3:26 pm     iFrame help Reply with quote

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

PostPosted: Sat Oct 03, 2009 5:19 pm     Reply with quote

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

PostPosted: Wed Oct 07, 2009 1:15 pm     Reply with quote

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

PostPosted: Wed Oct 07, 2009 7:31 pm     Reply with quote

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

PostPosted: Tue Nov 17, 2009 1:40 am     How to keep a framed page in it's frameset, always... Reply with quote

Please read my post at:

http://www.htmlcodetutorial.com/help/ftopic2976.html
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial