PDA

View Full Version : Working around framesets?


dean80
02-26-2003, 07:06 PM
Hi all!

Question about a frameset work-around. I've been instructed to create a website WITHOUT using frames. Yet the layout I've been given is exactly 800px in width and meant for 800x600 users. My 1st inkling is to use a frameset where the nav, title, logo, banner, etc stays put in the top frame and the individual page content resides in the bottom frame. But since I've been specifically instructed to not use frames, what is a good way to achieve this effect?

Also, I have a freeware script I'd like to use for a menu, sorta like the "HV menu" on dynamicdrive.com, but that also relies on framesets.

In short is there a method that supports a non-scrolling section of a page and is there a JS menu that would work with whatever that method might be?

Thanks in advance for your thoughts!

cg9com
02-26-2003, 08:22 PM
this can be done with some clever <div>'s, and CSS.
check out some reference sites like msdn on micsoroft.com

dean80
02-26-2003, 08:48 PM
That's what I figured. My CSS is weaker than it should be so I will try to find individual help of some sort.

Thanks for the direction.

cg9com
02-26-2003, 09:20 PM
no problem, you can just ask here if you want, we can help! :thumbsup:

dean80
02-26-2003, 09:40 PM
Okay, I totally appreciate the offer. I also received your email. Honestly, I would be wasting your time at this point because my CSS is so weak that I have trouble telling the difference between ID and class, let alone utilizing the technology to create this solution with my own 2 hands. I don't believe it would be polite to have you hold my hand thru what might be a very long learning curve, ya know?

If I can focus my problem down to specific technical questions or troubleshooting, then I can ask away with a clear conscience.

meow
02-26-2003, 10:06 PM
The CSS solution is ridiculously simple.
'position: fixed' (http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-position)
Problem: it's not supported by IEWin :mad: but is beautiful in other modern browsers. There are several javascripts around that 'fix' it for IE but the problem with that is that they cause very jumpy movements. With pure CSS the fixed part is glued to the screen.

Cybertooth Tiger
02-27-2003, 12:23 AM
I think this can be done in PHP. Someone correct me if i am wrong.

OR...

Tables would work. Create the table 800 wide, and set a <div = center> for the page when viewed in higher res. so the table is in the center and looks part of the design.

Unfortunatly, this would mean the menu and banner etc would have to reload everytime the user clicks a link.

As far as the menu goes, if it was designed for frames, I am sure it could be changes for normal pages.

Hope this is some help

Tonz