|
| |
|
|
lilblackgirl
Posts: 288 Joined: 5/16/2002 From: Status: offline
|
Can this be done with CSS? - 3/23/2004 16:22:46
There are various sites out there that give you the option of viewing the site in different color/look layouts by clicking a button/link. An example being www.spoono.com Is this something that can be done with different style sheets and how would chosing a different option work. Once you had the different style sheets set up, could a link on the site just direct the user to a different style sheet that would then change the look of the site? Or is this something more complicated? thanks, Lil
|
|
|
|
Shirley
Posts: 3127 Joined: 1/8/1999 From: Omaha, Ne USA Status: offline
|
RE: Can this be done with CSS? - 3/23/2004 16:53:51
I do it with buttons and javascript. Some sites do it with php or asp. I can't post a link as I don't want it spidered at the moment. However, I have one page that has 20 stylesheets to chose from and when the page loads it goes thru all of the styles before it opens correctly on the last one. I am currently looking for a solution that doesn't "flash" all the styles at me as it loads.
_____________________________
Everything But Cake
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: Can this be done with CSS? - 3/23/2004 17:21:18
Hi Lilblackgirl, I know that there are sites out there with the changing pages, not sure how they are set up though. As shirly stated I beleive it is done with javascript. Try a search on style sheet switchers, and alternate style sheets, and you should find some information on this. I think alist apart has a javascript that you can use on their site.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: Can this be done with CSS? - 3/23/2004 22:13:28
Hi Karen, I never thought about this site. However, are they using the java script or just an alternate style sheet? Hmm going to have to view this to see what they are doing with it.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
BamseIsUnix
Posts: 108 Joined: 2/18/2004 Status: offline
|
RE: Can this be done with CSS? - 3/24/2004 7:59:43
quote:
c1sissy However, are they using the java script or just an alternate style sheet? Everything is done using Cascading Style Sheets version 1. Without CSS the site looks like this: http://www.csszengarden.com/zengarden-sample.html. That's the power of CSS. The best thing is, that those sites are accessible with every single browser in the world since 1960. I bolded the web developers' number 1 magic word. Regards, Bamse
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: Can this be done with CSS? - 3/24/2004 8:08:56
Thank you Bamse for the links. My favorite page here on the zengarden is the one with the picture of the ocean. I totally love that one!
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
lilblackgirl
Posts: 288 Joined: 5/16/2002 From: Status: offline
|
RE: Can this be done with CSS? - 3/24/2004 9:33:45
WOW! That'll teach me to open my mouth . . . Thanks, I never knew how this was done. Now i have plenty to play with.
|
|
|
|
gorilla
Posts: 2974 From: Denmark Status: offline
|
RE: Can this be done with CSS? - 3/26/2004 8:57:49
quote:
ORIGINAL: BamseIsUnix Ouch... I guess you aren't even waiting for any reply from me, but I'll try. I'm always interested to get reasoned replies. Here's one back :-) : quote:
ORIGINAL: BamseIsUnix 1. I had might as well said 1370. 2. 2. I wasn't talking about the style switcher or whatever tweaks they have but the styles separately. 3. If you have a browser that doesn't support CSS then the styles are just ignored. I suppose they can read HTML? Please correct this is I'm wrong. - Well yes indeed saying 1370 b.c. or 1370 a.d. would have been just as inaccurate as saying 1960.
- You were quoting c1sissy asking a question so I replied to both of you.
- If a browser doesn't support css or (more likely) doesn't understand @import then yes. They should see plain unstyled content. You are however missing a key point that I was making. Some of those designs are inaccessible to anything because the authors have concentrated upon appearance and done some very strange things indeed to the rendering flow. This is completely legitimate in the context of a site to show those whose orientation is primarily towards graphics how it might be done.
To be useful CSS needs to taken seriously and understood by all those involved in authoring. I do not even remotely describe myself as a "designer" or "graphically oriented" I'm an activity analyst who is also a developer who codes sites (amongst other things.) The "design" is a tiny but important stage of that, as indeed is the coding, what is damned difficult (as you are about to find out with your upcoming project) is ensuring that all information is easy to find, and that even a plain unstyled site is acceptable to and accessible by all. You seem to think its easy. It isn't, the mathematical rule being used of 2cr makes it very difficult indeed once you get past about five possibilities. quote:
ORIGINAL: BamseIsUnix Really? REALLY? I was unaware of that, absolutely.   I'm tempted to say things "Like why on earth weren't you. How do you expect me or anyone else with even a small amount of knowledge about CSS to take what you say seriously?" However you seem to be feeling a little bruised so I won't throw any hard unripe bananas at you today. Only soft squishy ones . Can you not see that getting some very basic facts wrong, such as saying that tables were introduced "decades" ago, or being utterly ignorant of them, such as what version of css deals with what, not only diminishes what you are trying to say, but makes the job of people like me who are pushing heavily for standards and spend a lot of time and money doing so infinitely harder. I do not particularly enjoy seeing my efforts hampered by a bunch of self regarding elitist fanatics, which is what many of those who bang on endlessly about CSS do. Just visit a few blogs to see what I mean. I'm not talking here about the likes of Pixy, Big John, Papabaer, Eric Meyer, or the like. They after all are the people at the forefront and are engaged in research. I am talking about the hangers on who for some reason or another think that sneering at others makes them superior. I may in the deepest darkest recesses of my brain suspect that they are doing this sneering to soothe some feeling of lack within themselves but then that’s me. I happen to have the old fashioned idea that people are entitled to know what is going on. The facts are a compelling enough argument. They don't need hyperbole or spin. Engaging in it merely makes it easier to have the whole thing dismissed. quote:
ORIGINAL: BamseIsUnix Of course the styles are inaccessible. But what I know (or "pretend to know", so you can beat me again) the HTML page content whatever you wanna call it, is. For some of them it is not only the styles that are inaccessible but also the content. Because of the way the styling has been done. See above. quote:
ORIGINAL: BamseIsUnix I wouldn't try to access that page using my Lynx 2.8.3 (to view nice stylesheets ), but I'm sure that a site with any of those styles is still accessible. I guess that CSSZenGarden is about that. If you don't like the styles, you can view plain HTML. Neither would I but this is repetitive. See above. Nobody on the visitor side gives a damn about the code. They're interested in the content. I wouldn't visit that site using lynx or using jaws or a Braille reader either. Same reason although I hasten to add that many of the designs are indeed highly accessible. Let us now turn to the basic issue as I see it and what I suspect is your basic grievance about my "jumping on you:" The fact is that you made several posts in which you quite agressively jumped upon people for using one particular tool without explaining to them what the alternatives are, what benefits the use of those alternatives may bring and you repeatedly got your facts wrong. So wrong that in an examination context you'd be marked down severely. When I see someone do that I retain the right, I would go further and say the duty, to correct them lest the errors, misinterpretations, and hyperbole spread. I am sorry if you found that unpleasant and nothing personal is intended – but I'd rather stop a problem (wrong info) at the outset and thereby help those newbies who come here looking for help. Good luck with your project – sounds exciting. Feel free to email me for help or better yet to post here. You're probably better to post here because I'm currently putting in very long days and have a huge backlog of correspondence. Nevertheless I do eventually get around to answering. In closing I note you've said in the other thread that I "jumped on you" in that you find table layouts somewhat clunky and high maintenance – I couldn't agree more. They are very high maintenance on top of all their other shortcomings. That is why I spend a fair amount time, when, to be quite frank, I'd rather be doing other things, showing people how to use them, and when and how not to use them. I had a colleague - now alas deceased - who when asked "Who is CSS good for?" used to guffaw with laughter and give the same reply everytime "Lazy people like me."
< Message edited by gorilla -- 3/26/2004 9:05:12 >
_____________________________
Mháircaish Signature self-censored to protect the sensibilities of the thin-skinned . May we never confuse honest dissent with disloyal subversion. – Dwight D. Eisenhower
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: Can this be done with CSS? - 3/26/2004 9:14:46
quote:
You were quoting c1sissy asking a question so I replied to both of you. May I add here, that the question was not really answered. My question was to if they used the Javascript. I'm sure that I could have figured it out using view source? Though not familar with javascript at all. Thank you Mhaircaish for answering it for me. Bamse, I would like to add here that Mhaircaish is not bashing on you. He does know what he is talking about. I have learned so much through the gorilla clan during my time here on the forums. Please take the time to listen to what he is saying, and don't get defensive.
< Message edited by c1sissy -- 3/26/2004 9:17:33 >
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
BamseIsUnix
Posts: 108 Joined: 2/18/2004 Status: offline
|
RE: Can this be done with CSS? - 3/27/2004 3:13:11
Thanks for you both, gorilla and c1sissy. About that website project, yes... I'm about to produce a rather critical informing site for a big project. There are about 20 companies involved and the website is in a critical position. There will be huge amounts of material on those sites + information about education for local entrepreneurs. The problem is, that this site has to be easily upgraded. Some very computer-illiterate people will be adding materials long after my work is done, so... HTML for content and CSS for styles, you know what I mean. They need sites which are super fast and compatible. I have a pair who'll be my visual designer. The website also has to be visually impressive, but not too much. So the question Can this be done with CSS? will be asked quite a few times. I refuse to use JavaScript or any other needless delicacies, since the sites are, after all, very static. This job is part of my studies, 8 weeks. --- I guess I'll be out for a few months, soon. My computer-related studies are done next week. Maybe I will return here when I start the job, just as gorilla suggested. Regards, Bamse
|
|
|
|
BamseIsUnix
Posts: 108 Joined: 2/18/2004 Status: offline
|
RE: Can this be done with CSS? - 3/29/2004 1:56:29
quote:
Bamse - what sort of layout are you hinking of 3 column? 2 column? Does it need a header and footer? Liquid or fixed? I have no idea yet... I can answer this question 1st June. Regards, Bamse
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|