|
Text format changing
Let's say my site as a heading and body text. They both have different formatting. Let's assume the formatting for these are CSS initially. I say assume because the answer to the question might need this to be different.
What I want to do is allow the user to choose what text formatting they want in a control panel. I can easily do this by submitting the info in a form, making the changes in .css file by some fancy means using both different css files and a db. The changes they select should affect a box with 'preview' text in it. The user then clicks a 'save' button which makes these changes to a css.
I don't want the page to reload to show the preview so form submissions are out the window.
I assume this is JavaScript as it is client side. But is it possible?
__________________
Davy - Programming since 1998 [CV]
Currently working on: n/a
Status: n/a
|