How do you internally represent your edited data? I didn't read the
entire fonte.js script, but this should probably be solved by a
representing each editable areas as separate objects with different
id's. Then serialize everything to a JSON-object and post it to your
backend where you could save it into a database. I don't think that
saving this into a cookie will be a good idea, since there's a 4kb
limit on cookies.
You will of course need to create an method that should be called on
init that reads your saved data (inline object or by making an ajax
requests) and recreates the page.

This could be solved in a number of ways, but start with reading some
posts about json and you'll be on your way.

/ Johan

On Jan 2, 6:28 pm, "Rick Faircloth" <r...@whitestonemedia.com> wrote:
> Very interesting work, Alfredo!
>
> Rick
>
> -----Original Message-----
> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
>
> Behalf Of orazio.nelson
> Sent: Saturday, January 02, 2010 9:26 AM
> To: jQuery (English)
> Subject: [jQuery] css editor with jquery
>
> Hello,
> i made a proof of concept about a css editor made with jquery.
>
> You can see and download it from:http://tt4fn.netsons.org/fonte
>
> Is possible to edit almost all the page, for each section there are 34
> css customizable options.
>
> But now I've a trouble: how can I push the generated css and save it?
>
> Tnx
> Alfredo

Reply via email to