Jump to content


I Want 3 non-scrolling frames in 1 scrolling frame


1 reply to this topic

#1 joshuahalls

    Young Padawan

  • Members
  • Pip
  • 1 posts
  • Location:Terrigal, Central Coast, NSW, Australia

Posted 20 September 2005 - 01:11 AM

[FONT=Arial]
I am working on a website that has 3 frames top header, left margin navigation and the main content section.

The left has heaps of buttons that are going to change regularly -

therfore i want these 3 frames all within a single page with a scrollbar so i can scroll the entire page.

Can anyone help??? :lol:

Josh

#2 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 20 September 2005 - 05:05 PM

This is the most common frameset out there... i highly DON'T recommend using frames, but what ever...
<frameset rows="200,*">
	<frame src="" scrolling="no" name="header">
	<frameset cols="300,*">
  <frame src="" scrolling="no" name="nav">
  <frame src="" name="main">
	</frameset>
</frameset>
The rows and cols attribute specify the width/height in pixels, the astrict means "what evers left"
i.e. <frame rows="200,*"> will end up as:
top frame = 200px high
bottom frame = the remainder of the window

src="" same as an image... the path to the first file to be displayed





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users