HTML Tutorial


 /help/HTML Help Forum   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!
stationary URL
Post new topic   Reply to topic    HTML Help Forum -> General HTML
View previous topic :: View next topic  
Author Message
OMEGA_RAZER



Joined: 09 Jan 2005
Posts: 4
Location: CANADA

PostPosted: Sun Jan 09, 2005 4:17 pm     stationary URL Reply with quote

Hello,
Well, im new to HTML so if this is in the wrong spot im sorry and feel free to move it....
A friend of mine used to have an old website and in the URL space it was always the same thing no mater what page of his site i went to... i would really like to know how to do this if anyone could help, thanks.
chrisxkelley



Joined: 07 Dec 2004
Posts: 246

PostPosted: Sun Jan 09, 2005 4:28 pm     Reply with quote

it would be hard to tell unless i could see the page you are referring to, but my best bet is that he used frames, put the menu in the top/main frame, and when a menu item is clicked, it brings whatever page into the bottom frame, keeping the url stationary but changing the content.


cheers,
chris
OMEGA_RAZER



Joined: 09 Jan 2005
Posts: 4
Location: CANADA

PostPosted: Sun Jan 09, 2005 4:32 pm     Reply with quote

well see thats the thing..... he didnt have frames.... or at least it didnt look like he did.... it was just one main page.... thats it....thats what confused me.
Adeil



Joined: 07 Dec 2004
Posts: 52
Location: USA

PostPosted: Sun Jan 09, 2005 5:34 pm     Reply with quote

he could have used frames, but just had one, be 100% height, and 100% width...

Code:
<iframe height="100%" width="100%" src="http://adeil.com/index.php" frameborder="0"></iframe>
OMEGA_RAZER



Joined: 09 Jan 2005
Posts: 4
Location: CANADA

PostPosted: Mon Jan 10, 2005 5:06 pm     Reply with quote

Thanks i will see if that works Smile

EDIT: all i get now is a blank white screen... any suggestions?
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Mon Jan 10, 2005 5:35 pm     Reply with quote

He could have used frames as suggested - just the header or footer was hidden.
OMEGA_RAZER



Joined: 09 Jan 2005
Posts: 4
Location: CANADA

PostPosted: Mon Jan 10, 2005 5:44 pm     Reply with quote

and how might one do this?
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Tue Jan 11, 2005 6:15 am     Reply with quote

Something like:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
   "http://www.w3.org/TR/html4/frameset.dtd">
<html>

<head>
<title>Title Here</title>
</head>

<frameset framespacing="0" border="0" frameborder="0" rows="*,1">
   <frame name="main" src="http://www.example.com">
   <frame name="footer" src="blank.html" scrolling="no" noresize target="main">
   <noframes>
   <body>

   <p>This page uses frames, but your browser doesn't support them.</p>

   </body>
   </noframes>
</frameset>

</html>
chrisxkelley



Joined: 07 Dec 2004
Posts: 246

PostPosted: Tue Jan 11, 2005 12:38 pm     Reply with quote

when you do frames it doesnt neccesarily mean that you will see them- unless we are talking about page scrolling, because you can tell it not to make the border when separating frames. Corey Bryant's suggestion looks like it would work fine, that's kinda what i'm talking about.


cheers
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> General HTML 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