473,398 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Alternative stylesheets and frames

Hi!

I would like to use alternative stylesheets in combination with frames. Is
that doable? My problem ist that when I - as the user - switch the
stylesheet of the framset page, then the selection is not fed through to the
multiple frame pages and thus, they do not switch the style.
Any ideas how to overcome that problem?

Cheers,
Eric

--
-----------------------------------------------------------------
Eric Bodden
ICQ UIN: 12656220
Website: http://www.bodden.de
GPG: BB465582
Jul 20 '05 #1
6 2755
Oh - and FYI here is a link to my CSS based layout:
http://root.bodden.de/typo3/site/

Eric

--
-----------------------------------------------------------------
Eric Bodden
ICQ UIN: 12656220
Website: http://www.bodden.de
GPG: BB465582
Jul 20 '05 #2
"Eric Bodden" <ne**************@bodden.de> wrote in
comp.infosystems.www.authoring.stylesheets:
Hi!

I would like to use alternative stylesheets in combination with frames. Is
that doable? My problem ist that when I - as the user - switch the
stylesheet of the framset page, then the selection is not fed through to the
multiple frame pages and thus, they do not switch the style.
Any ideas how to overcome that problem?


"Doctor, it hurts when I do this?"
"Well, then, don't do it."

Seriously -- you have run up against yet another of the myriad
problems with frames. Why not take this as a sign that it's time to
lose them?

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #3
Stan Brown wrote:
Seriously -- you have run up against yet another of the myriad
problems with frames. Why not take this as a sign that it's time to
lose them?

Cause frames are a very good way to have at least a bit structure in your
content. Why always reload stuff that does not need to be reloaded. Why
always scroll widgets away that need to be accessed every time? HTML is
already bad enough with frames so I don't also wanna lose those.

Eric

--
-----------------------------------------------------------------
Eric Bodden
ICQ UIN: 12656220
Website: http://www.bodden.de
GPG: BB465582
Jul 20 '05 #4
On Sun, 4 Apr 2004 16:55:22 +0200, Eric Bodden
<ne**************@bodden.de> wrote:
Stan Brown wrote:
Seriously -- you have run up against yet another of the myriad
problems with frames. Why not take this as a sign that it's time to
lose them?

Cause frames are a very good way to have at least a bit structure in your
content. Why always reload stuff that does not need to be reloaded. Why
always scroll widgets away that need to be accessed every time? HTML is
already bad enough with frames so I don't also wanna lose those.

Eric

Well, frames meant to help in those areas, but the implementation
compromises so much more as a result.

When I changed a site from frames to a purely CSS design, it loaded faster
than before, not slower. Since the overall page weight was reduced, even
re-downloading the navigation (which is now customized to the specific
page) didn't take any appreciable time.

I don't know what kind of site you have, but it's hard to imagine a widget
that is so vital that you have to have it there in the viewport all the
time via frames. Certainly not at the cost that it incurs on the usability
of the site.

To directly answer your question - I don't believe what you seek is
possible.
Jul 20 '05 #5
Eric Bodden wrote:
Hi!

I would like to use alternative stylesheets in combination with frames. Is
that doable? My problem ist that when I - as the user - switch the
stylesheet of the framset page, then the selection is not fed through to the
multiple frame pages and thus, they do not switch the style.
Any ideas how to overcome that problem?

Cheers,
Eric


Don't feel bad. Alternate style sheets don't work well even without
frames IMO. Using NS 7.1 I can select an alternate style sheet and see
the page displayed in that style, but as soon as I link to another page
in the site, the default style returns and I have to select the
alternate again.

I think what browsers should do is:

If an alternate style sheet has been selected by the user and a link on
the current page is selected
Then
If the target page specifies an alternate style with the same name as
the one selected on the source page
And the URL for that alternate style matches the URL of the style
sheet being used on the source page
Then that alternate style should be applied to the target page.

Until this is done, alternate style sheets are of little practical use.

Chris Beall


Jul 20 '05 #6
OK, good point - thanks.

Eric... who is going to decide for an choice between framed and non-framed
versions both not employing alternative styles ;-)
--
-----------------------------------------------------------------
Eric Bodden
ICQ UIN: 12656220
Website: http://www.bodden.de
GPG: BB465582
Jul 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: David | last post by:
everywhere I go, i get told "don't use frames, use php instead" ok... so how do i go about it? I want a top banner that doesn't move, and a "contents" type list on the left (that may have a...
20
by: Tammy | last post by:
What would be a good alternative to using frames? I need something that will section my webpage into two halves and can change both frames on a single click. Thanks in Advance, Tammy
10
by: ian | last post by:
Does anyone know what the best alternative to using frames? I've looked at Object but this doesn't seem to work in IE6... TIA Ian
1
by: OzzyC | last post by:
Draft website is at http://www.interface-web.co.uk/atyc/cssproblem.htm and although I still have problems with unstyled content, other users of this groupd have said it's fine. Fingers crossed. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.