User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 429,859 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,485 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

Dynamically modifying the CSS attributes through Javascript

Join Date: Apr 2004
Location: Tracy
Posts: 744
Reputation: Killer_Typo will become famous soon enough Killer_Typo will become famous soon enough 
Rep Power: 7
Solved Threads: 32
Killer_Typo's Avatar
Killer_Typo Killer_Typo is offline Offline
Master Poster

Dynamically modifying the CSS attributes through Javascript

  #1  
May 17th, 2005
I was wondering if someone could aid me in this. all help will be duly noted in the script itself.

Here is what i am trying to achieve, a realtime editor of the CSS attributes of a given page. I have the page i am using and the CSS table, but i want to be able to edit it in real time so that people can use it to create their profiles. SO lets say a user wants to create a profile, but doesnt want the lamo stock colors. they can use my basic template (which is a generic profile) and then dynamicly in real time modify different parts of the CSS so that all they would have to do is view source when they were finished and grab the CSS and input it into their profile, or use a generate button to generate the output when they are finished.


Any help would be greatly appreciated, and if any more info is needed it would be greatly appreciated.


one last breaze through of it:


you have a CSS attributes form and it would lets say contain somthing like:

table, tr
{
background-color:somecolor;
}

i need a script that can change that somecolor, to a color of the users choice.

THank you in advanced to anyone that can offer any help or direction.
!!!!! WARNING YOUR COMPUTER MAY BE INFECTED WITH SPYWARE!!!! PAY AN OVER PRICED AMMOUNT TO HAVE SOMTHING FIXED WE PLACED THERE IN THE FIRST PLACE!!!!!!!!!

sound familiar, know how to block yourself and keep yourself clean.
_____________________
http://www.lavasoftusa.com/ -->adaware
http://www.safer-networking.org/en/index.html -->spybot S&D
http://www.javacoolsoftware.com/spywareblaster.html -->spywareblaster
http://www.javacoolsoftware.com/spywareguard.html -->spywareguard
_____________________
and dont forget to spread the reputation to those that deserve!
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 7:30 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC