Javascript Text Add/Remove In DIV

seaside

New Member
Messages
14
Reaction score
0
Points
0
Is there a way to write some JS that will have a box that edits the text in a div. Basically so that I can make an Easy Edit page for people that I have made sites for?

Ex: There is a DIV on the homepage that consists of store hours. You go to your edit page and use a text area to change the content. Is this doable?

Also, is there a site BUILDER to downloat that I can add to my templates for people to use?
(Not like NVU of Coffee Cup, but like it shows the Div paragraph and lets people change them?)

Thanks.
Kevin
 

cybrax

Community Advocate
Community Support
Messages
764
Reaction score
27
Points
0
It cannot be done with Javascript all on its own because you need to interact with the hosting server and there in lies the rub. There are a number of ways of doing this but it does depend on what you are allowed to do with the hosting server.

Lots of folk run PHP like x10 so you should not have any problems finding a ready made CMS system, or WebWiz has a development package for asp that does a good WYSIWYG editor / file upload in one.

If you want to have a bash at building your own system then you should be able to google for the WYSIWYG editor( open source) and PHP or ASP upload scripts and find them quite easily.
 

seaside

New Member
Messages
14
Reaction score
0
Points
0
Thanks, but I do not mean on a server. I mean just on their desktop, they would have their page. Could I make JS that could change the text, locally, and then they can upload or ftp to their server?

Thanks,
Kevin
 
Top