[Javascript] Content Manager
tedd
tedd at sperling.com
Wed Aug 9 10:56:32 CDT 2006
At 10:19 AM -0500 8/9/06, Glenn E. Lanier, II wrote:
> > From: tedd
>> Sent: Wednesday, August 09, 2006 9:30 AM
>
>> Does anyone have any references/code for a *very simple* content
>> manager -- please allow me to explain.
>
>> What I am looking for is a way to edit a paragraph on a web site.
>> Perhaps a toggle icon where in one position (i.e., arrow pointing
>> down) the paragraph is non-editable text and click the icon (arrow
>> pointing toward the paragraph) and the paragraph becomes editable --
>> like changing the "readonly" attribute of <textarea> tag via js.
>
> > Does anyone have anything like that?
>
>----
>
>I don't know if this will work in your situation -- or if this is even
>considered the "preferred" way to do this (would love to hear if not
>(especially with an example of how it should be done)).
-snip- code
Glenn:
I'm sure there's no "preferred" way to this -- provided it works.
Your code is a great first step. From that with a little ajax mixed
in, I believe that I can alter what lies between the div's and get
what I want. I'll post my "solution" when I get it to work.
Thanks very must for your time and code.
Your code work can currently be viewed at:
http://xn--ovg.com/a8.php
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
More information about the Javascript
mailing list