This is a discussion on change Style Sheet by programming within the PHP General forums, part of the PHP Programming Forums category; Hi, I'm creating a Class which should allow user to setup the default theme CSS file he would like ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I'm creating a Class which should allow user to setup the default theme CSS file he would like to use to render a class object. therefore i have a simple function : public function SetTheme(string $ThemeName) { $this->m_ThemeUsed = $ThemeName; } which set the theme (CSS file) to use to render my object. However, how can i tell to my class to render or update his render with new CSS file theme ? can it be possible to provoke something like a refresh ? Or it is only a CSS or JS topic ? thanks a lot, -- Alain ------------------------------------ Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5 |
|
|||
|
I don't really understand your question, but...
http://www.quirksmode.org/dom/changess.html http://www.quirksmode.org/book/examp...own/index.html On 3/6/07, Alain Roger <raf.news@gmail.com> wrote: > Hi, > > I'm creating a Class which should allow user to setup the default theme CSS > file he would like to use to render a class object. > therefore i have a simple function : > > public function SetTheme(string $ThemeName) > { > $this->m_ThemeUsed = $ThemeName; > } > > which set the theme (CSS file) to use to render my object. > > However, how can i tell to my class to render or update his render with new > CSS file theme ? > can it be possible to provoke something like a refresh ? > > Or it is only a CSS or JS topic ? > > thanks a lot, > > -- > Alain > ------------------------------------ > Windows XP SP2 > PostgreSQL 8.1.4 > Apache 2.0.58 > PHP 5 > |