Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

User Requests Quest - CSS "themes"

by BBQ (Curate)
on May 02, 2000 at 10:38 UTC ( [id://9899]=note: print w/replies, xml ) Need Help??


in reply to User Requests Quest

I have only one design idea... Let each user build his/her own CSS style. I even have the idea on how to implement this with minor growing pains, although it would require that all of the bgcolor, color, etc tags be replaced with class="whatever" tags. On the HTML side, we could do a
<head> <title>$current_node</title> <link rel="stylesheet" type="text/css" href="/style.pl?style=$user_pk" + title="Default Styles" media="screen"> </head> <body class="myBody"> <!-- ... and so forth... -->
and on the database side, a table like
create table user_styles ( user_pk varchar2(x) primary key references whatever.user_pk, mybody varchar2(32), mytable varchar2(32), mytr varchar2(32), mytd varchar2(32), myth varchar2(32), mylink etc, etc, etc, );
I'm not sure I'm making myself clear, but if you need a sample with source I can soupe something up... (and if you need a reference on my so called design skillz, please check out my website.

#!/home/bbq/bin/perl
# Trust no1!


updated idea:
...and if you don't feel like creating your own style, you could always select from a library of presets and/or have a "dropdown" or something for other monks themes.

Maybe even a "most popular themes" thingy...

Replies are listed 'Best First'.
RE: User Requests Quest - CSS "themes"
by wonko (Pilgrim) on May 02, 2000 at 11:03 UTC
    Good idea.

    And I don't think it woud be so much changes to the HTML code; you just have to link the CSS file and the browser does the rest..

    nice website btw.

    /wonko

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://9899]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-20 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found