Ticket #74 (closed enhancement: inactive)

Opened 8 years ago

Last modified 4 years ago

Enable and Disable Xinha from a checkbox or other

Reported by: anonymous Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version:
Severity: normal Keywords:
Cc:

Description

Users of mine have requested the ability to start and stop/enable and disable Xinha without having to reload the page.

Attachments

replaceElementOnClick.htm (5.9 kB) - added by judah@… 8 years ago.
code to add or remove xinhaarea

Change History

Changed 8 years ago by judah@…

code to add or remove xinhaarea

Changed 8 years ago by anonymous

  • version set to 2.0

i came up with a couple options. check em out.

the borders are just for show. i think what is left is to cancel out the htmlarea auto generation and then use these checkboxes to turn on the htmlarea. to turn off the htmlarea we would have to decide if we are going to erase the textarea. if we erase the textarea then we also have to erase the htmlarea. or we coud play peekaboo. or you decide...

or it could be a one way switch. have it just turn an htmlarea on. if people like it they will be turning it on. if they turn it on and don't like it they can reload the page and not turn it on ever again.

Changed 8 years ago by gogo

  • version deleted

Changed 8 years ago by tess@…

another idee (for PHP users):

before user can edit there text, place a 'edit' submit-button and a checkbox with > name='editorOff'.

Then get the information from the previous page with $_POST and put before every editor object the statement:

if(!isset($_POST['editorOff'])){

if you like you can also give the user the option to choose for a simple javascript editor.

I hope you can use this

Changed 7 years ago by mokhet

Humm, i dont see the point of the attached document which is only creating dynamic buttons and checkbox. Anyway, please refer to ticket #658 for more explanations

http://mokhet.com/xinha/branch_events/examples/on_demand.php based on the branch : http://svn.xinha.python-hosting.com/branches/mokhet

Changed 4 years ago by gogo

  • status changed from new to closed
  • resolution set to inactive

Don't know where mokhet got to with the ondemand stuff, but this ticket is inactive, closing.

Note: See TracTickets for help on using tickets.