frameset problem
if you could help, it would be great, thanks.
i have a website that uses frames, my index page is made up of three frames,
which then goes into a page with the center frame agan brocken up into three frames, no scrolling
on any of the frames.
my problem is not with the frames. but how to get the window to scroll as one when i resize it.
i don't want the individual frames scrolling, but one vertical and one horizontal scroolbars on
the outside of the window to scroll.
i hope i have explained it clearly enough.
thanks for the help it will be really appreciated
peter,
[email protected]
Megan posted this at 16:06 — 24th August 2006.
She has: 11,421 posts
Joined: Jun 1999
So, basically, you want it to work like a regular web site, with three sections that work together, correct? If that's the case, then why are you using frames in the first place? Frames are only useful when you want the frames to operate as separate windows, with separate scrollings.
A link to what you've got so far would be useful so we can see what you're trying to do I'm a little unsure as to why you want both a horizontal and vertical scrollbar on it too.
Megan
Connect with us on Facebook!
peter@wickware. posted this at 16:19 — 24th August 2006.
They have: 5 posts
Joined: May 2006
hi Megan ,
thanks for the amazingly quick reply,
website
wickware.co.za
why we need the scrollbars, 1. because the website owner insists on them.
2. when you see the website, you will notice that the middle section is blank,
which causes a problem sometimes with browsers with a smaller resolution.
the header at the top is visible, but the navigation at the bottom is not,
and without scrollbars it is a problem
thanks Megan
peter.
Megan posted this at 17:36 — 24th August 2006.
She has: 11,421 posts
Joined: Jun 1999
The website owner is insisting on a horizontal scrollbar too? That's bizarre. I don't know how you would go about forcing a horizontal scrollbar.
What I'm still wondering is why you've chosen to do this with frames in the first place. This would definitely work better as a regular web page.
I haven't used frames in ages (not that I used them a lot to begin with) so my knoweldge is a little rusty here. I do think that mixing the percentage and fixed widths in the columns attribute is probably causing problems. In the body frameset you're trying to create a percentage height which is a problem with web design in general (because the browser doesn't know whether you mean 100% of the page or 100% of the visible window).
Megan
Connect with us on Facebook!
peter@wickware. posted this at 07:01 — 25th August 2006.
They have: 5 posts
Joined: May 2006
hi Megan,
yes, you are absolutely correct, it would work better as a regular website, but again the site owner
feels it loads faster with frames, a case of dancing to the tune of the piper.
with the mixing of px with % in the frameset, my mistake, which i will correct, thanks.
just to say thanks for the time and trouble, Megan, i do appreciate it.
peter,
[email protected]
Busy posted this at 10:11 — 25th August 2006.
He has: 6,151 posts
Joined: May 2001
If the site owner believes it loads faster with frames you should point them towards some 'frames are bad' type sites (just do search in google for them).
Frames not only take longer to load (there is an extra pages to load), they are not very search engine friendly nor user friendly as they can't be bookmarked ...
The only way to get the full vert/horz window scrolling is to put the framed layout within a frame (very messy).
You should look into CSS and the overflow property on a div, gives the scroll bars without the added files or slower loading times etc
peter@wickware. posted this at 12:35 — 25th August 2006.
They have: 5 posts
Joined: May 2006
hi Busy,
thanks, i will give both your suggestions a try,
you are right about the frames also,
thanks for the advice and reply, it's appreciated,
cheers,
peter.
Megan posted this at 16:03 — 25th August 2006.
She has: 11,421 posts
Joined: Jun 1999
I just happened to come across this when looking at the CSS spec:
http://www.w3.org/TR/CSS21/visuren.html#absolute-positioning
(how to do a framed effect with fixed positioning).
It will definitely not load faster as frames. The browser is processing the same code but also figuring out how to lay out those frames, and reading the header and title code for each page. Something like that is also really bad for search engines.
Megan
Connect with us on Facebook!
peter@wickware. posted this at 09:19 — 26th August 2006.
They have: 5 posts
Joined: May 2006
hi Megan,
thanks, it would be interesting to know how to a href from one section to another using css instead of frames.
i think i solved my scrolling problem for wickware.co.za
i cheated, i added a bottom frame to the existing three index frames,
so now my index page has a left, body, right, bottom--frames,
your help has been fabulous,
thanks,
peter,
[email protected]
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.