× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



In your page there is a link to the "style seet", usualy a file. If the link goes to a CGI (or NetData) that program can generate the style each time you load the page. This style sheet can have sizes dependant on the data, and selections like colors, images from a database. It is great to let the users choose style.

Using javascript you can change the style without reloading.

Jeff Day wrote:

Hi,

To date, I've only worked with "hard-coded" CSS. Recently, I've been looking for a means of dynamically changing CSS values on the fly... ie. create a link on the page, and when you click it, it runs some javascript that changes the CSS.
Considering the number of items this would affect, using multiple CSS files and 
switching between them won't work.

Does anyone know how to change CSS values on the fly? ... any ideas?

Thanks!
Jeff



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.