Static header & Footer without IFRAME

  • Bodom78
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Mar 23, 2004
  • Posts: 38
  • Loc: Australia
  • Status: Offline

Post August 5th, 2006, 5:13 am

Hey Guys,

I was wondering if anyone know how to have a static header and footer and scrolling content using the normal browser scroll bar rather then an iframe.

Here is an example site where I saw this feature http://www.musingsfrommars.org

Cheers
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 5th, 2006, 5:13 am

  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Joined: Feb 11, 2004
  • Posts: 6737
  • Loc: Martinsburg, WV
  • Status: Offline

Post August 5th, 2006, 10:26 am

Like this
http://www.cssplay.co.uk/layouts/body4.html
‎"Be polite, be professional, but have a plan to kill everybody you meet." Maj. Gen. James Mattis
  • lioness
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Jun 23, 2004
  • Posts: 1616
  • Status: Offline

Post August 5th, 2006, 6:34 pm

grinch2171 wrote:
Like this
http://www.cssplay.co.uk/layouts/body4.html


That is different. The user wants the page content to scroll with the normal browser scrollbar...
  • kristine1991
  • Born
  • Born
  • No Avatar
  • Joined: Aug 06, 2006
  • Posts: 3
  • Status: Offline

Post August 6th, 2006, 8:23 pm

grinch2171 wrote:
Like this
http://www.cssplay.co.uk/layouts/body4.html


I would like to know how to do this. Is it with layers? I could really use this.

Thanks,
Kristine

:oops: Duh...I got the code, sometimes my fingers work faster than my mind.

I really like this layout, I know I will use it!

Thanks!
  • Bodom78
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Mar 23, 2004
  • Posts: 38
  • Loc: Australia
  • Status: Offline

Post August 6th, 2006, 9:40 pm

Thanks for the CSS Play example, it's nice and I'm sure it will be handy in the future.

I would still like to know how the other example is achieved if anyone who stumbles across this thread knows.
  • mrking
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Jun 17, 2006
  • Posts: 46
  • Status: Offline

Post August 7th, 2006, 12:04 am

The site "http://www.cssplay.co.uk/layouts/body4.html" is indeed useful but i face some kind of weird problem which is not identify there.

My problem is that :
Quote:
<iframe src="http://www.virtualoffice.com.sg" frameborder='0' height='100%' width='100%'></iframe>


the above quote dosen't seem to work for firefox but IE works perfectly. In firefox, the frame did came out but the height is not 100% as coded.

this is the url of the site i am developing facing this problem, http://pretty.com.sg/virtualofficesg.htm

Btw i also add this in the css area,
Quote:
html {
overflow:hidden;
max-height:100%;
padding:0 0 101px 0;
background:#FFFFFF;
}


Any help?
  • Bodom78
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Mar 23, 2004
  • Posts: 38
  • Loc: Australia
  • Status: Offline

Post August 7th, 2006, 5:29 am

mrking wrote:
The site "http://www.cssplay.co.uk/layouts/body4.html" is indeed useful but i face some kind of weird problem which is not identify there.

My problem is that :
Quote:
<iframe src="http://www.virtualoffice.com.sg" frameborder='0' height='100%' width='100%'></iframe>


the above quote dosen't seem to work for firefox but IE works perfectly. In firefox, the frame did came out but the height is not 100% as coded.

this is the url of the site i am developing facing this problem, http://pretty.com.sg/virtualofficesg.htm

Btw i also add this in the css area,
Quote:
html {
overflow:hidden;
max-height:100%;
padding:0 0 101px 0;
background:#FFFFFF;
}


Any help?


To the CSS, add the 100% height to "html" & "body"

body, html {
height: 100%;
}

rather then "max-height"
  • mrking
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Jun 17, 2006
  • Posts: 46
  • Status: Offline

Post August 9th, 2006, 1:48 am

Hoo... :idea:

Alrite, thx for the help.. Gonna test it out !

:lol:
  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Joined: May 29, 2005
  • Posts: 1417
  • Loc: 55° N, 3° W
  • Status: Offline

Post August 9th, 2006, 3:15 am

@Bodom7:

I think this is what you are looking for: http://www.cssplay.co.uk/layouts/basics2.html


... Stu Nicholls to the rescue again.
  • Bodom78
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Mar 23, 2004
  • Posts: 38
  • Loc: Australia
  • Status: Offline

Post August 10th, 2006, 9:30 am

Hey Zwirko,

Thanks heaps for the link, thats exactly what I was after :D
  • godoploid_design
  • Born
  • Born
  • No Avatar
  • Joined: Oct 14, 2009
  • Posts: 1
  • Status: Offline

Post October 14th, 2009, 7:08 am

The website you viewed was using Ajax so you will need to use ajax. You may also be able to use other scripting languages but Ajax really is a great scripting language
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Joined: Jul 25, 2005
  • Posts: 2735
  • Loc: Nashville, TN
  • Status: Offline

Post October 14th, 2009, 7:40 am

Quote:
The website you viewed was using Ajax so you will need to use ajax. You may also be able to use other scripting languages but Ajax really is a great scripting language


Ajax isn't a language. It's a collection of techniques that you use to create or enhance your apps.

Now, with that out of the way, the Ajax used on that page has nothing to do with the scrolling technique that the OP is inquiring about.
I'd love to change the world, but they won't give me the source code.
  • ingot
  • Born
  • Born
  • No Avatar
  • Joined: Oct 16, 2009
  • Posts: 4
  • Status: Offline

Post October 16th, 2009, 8:53 am

Not sure if its what your looking for, but you could always go the ajax route, and if you still want to maintain browser integrity, e.g back/forward button you could use placemarkers like #home or #forums to keep a note.

If you want to know how to do this send me a PM, be more than happy to help out.

Post Information

  • Total Posts in this topic: 13 posts
  • Users browsing this forum: roelof and 139 guests
  • 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 post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.