473,385 Members | 1,429 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,385 software developers and data experts.

Ideas for changing CSS on fly?

Ian
Hi there,

I am writing a web application that is basically a search engine anybody can
tag onto there website. It is beginning to work well but I also give the
owner of the website a control panel so that when he/she enters the control
panel they can change the way it will display on there site, I plan on using
CSS for this..

My question is, anybody else done this and have examples or ideas?

otherwise my direction would be to store all the color and config data in a
database so when they tag the search engine onto there site I would have to
use in line <% %> etc to pull out all the CSS from the db and replace the
existing.. Seems a bit messy really

Any other ideas or comments?

Really appreciated

Ian
Nov 18 '05 #1
1 1161
I started a project some time ago that can be seen at [1] by
mousing around under the home icon but I've been kept too busy
trying to learn C# and the DNF to continue refining the concept.

It currently requires using script to swap out style sheets which
has been very common. I've been keeping thoughts in the back
of my mind regarding building a single style sheet dynamically by
pulling the various CSS selector values from a database before
sending the .css back to the browser.

Once you mine the .css files let me know what you think of
the schema I devised.

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

[1] http://metromilwaukee.com/


"Ian" <ia*********@hotmail.com> wrote in message
news:#j**************@TK2MSFTNGP09.phx.gbl...
Hi there,

I am writing a web application that is basically a search engine anybody can
tag onto there website. It is beginning to work well but I also give the
owner of the website a control panel so that when he/she enters the control
panel they can change the way it will display on there site, I plan on using
CSS for this..

My question is, anybody else done this and have examples or ideas?

otherwise my direction would be to store all the color and config data in a
database so when they tag the search engine onto there site I would have to
use in line <% %> etc to pull out all the CSS from the db and replace the
existing.. Seems a bit messy really

Any other ideas or comments?

Really appreciated

Ian

Nov 18 '05 #2

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

Similar topics

14
by: David MacQuigg | last post by:
I am starting a new thread so we can avoid some of the non-productive argument following my earlier post "What is good about Prothon". At Mr. Hahn's request, I will avoid using the name "Prothon"...
18
by: rcamarda | last post by:
I think cursors might help me, but I'm not sure. I'm looking for ideas on how to solve a problem I have. Consider two tables, one table contains student information (very wide 100 fields) , the...
6
by: Niksa Baldun | last post by:
Hi, I am trying to capture data from magnetic stripe reader which is connected via keyboard interface (therefore indistinguishable from normal keyboard input). Basically, I am doing the...
18
by: Chris Hills | last post by:
A lesson in Posting How many C.L.C group posters does it take to change a C light bulb? 1 to change the light bulb and to post that the light bulb has been changed 14 to share similar...
3
by: rich | last post by:
I keep getting the error: Warning: in_array(): Wrong datatype for second argument on line 679 here is the code. I declare and fill the array $specprimA = array(); $specprimA=...
27
true911m
by: true911m | last post by:
I would like to solicit your thoughts and ideas (code can come later) about how you would approach a project idea I just tossed together. I chose this as a testbed for me to play with objects,...
1
Stang02GT
by: Stang02GT | last post by:
Hello, I'm looking for your thoughts, ideas, and suggestions on this situation. I have recently been given the task to "fix" a menu within the companies intranet site. The current menu...
0
by: yogi_bear_79 | last post by:
I am a beginner. I am supposed to use a switch structure. I wrote the code below, which works great, but I can't come up with a reasonable usage of the switch structure for this program. Any...
3
by: blunt | last post by:
right the program is nearly complete just a couple of little tweaks and i should have it. The purpose of this program is to write config files for colubrius wireless access points but it's falling...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.