Forum Moderators: not2easy
I am curently working on a tool to edit the css. I intend to have a HTML page which should load the specified CSS file and render the details. Post that when i make modifications to the design aspects like Font color, background color, etc the changes should be saved onto the css file that is refered, so that the next time i open the HTML, it should load with all the changes made. This has to be done using Javascript.
In short i need to modify the CSS using file handling at run time.
Please help me as to how to go about this task. I am very new to Javascripting and have very limited knowledge in JS...
Your help will be very highly appreciated.
Thanks
Well let me explain it to you in this way... I ahve an application which uses the CSS for style rendering. Now in order to customize the application appearance, i want to have an HTML page from where i can change the different styling aspects, so that the CSS is actually modified. When the CSS gets modified, the next time i load the application, it will have the changed appearance.
Thus in order to make this customization, i will have an HTML page and use javascript to change the CSS.
Just like in MS Work, the HTML will have options like BOld, COlor, text color, etc. and when i make the changes in the HTML and click on a button for saving those changes, these chamges should be made in teh CSS so that the application on launch has the new look as customized.
One of those editors I've seen is in java (not javascript, but few will notice the difference) and is customizable and very cross platform: FCKeditor
But it might not be what you seek, as I'm not sure what you want to achieve. Editing CSS isn't having B and i button in my mind.