Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2008-06-16 12:17:18

Atoramos
New member
Registered: 2008-06-16
Posts: 2

How to call Xinha functions from in-code?

I've got my code working nicely, however I'm attempting to implement tabs.

This ticket says that a good solution is using the method xinha_editors.textareaName.deactivateEditor();

http://xinha.webfactional.com/ticket/367

I was wondering how, exactly, to call the function. Do I just have something like this?:

<script type="text/javascript">
xinha_editors.workArea.deactivateEditor();
</script>

Offline

#2 2008-06-16 14:26:21

Pioden
Xinha Community Member
From: Bangor, Wales
Registered: 2008-06-06
Posts: 39
Website

Re: How to call Xinha functions from in-code?

What do you mean by 'implement tabs'? Sorry, just curious!

Offline

#3 2008-06-16 15:04:23

Atoramos
New member
Registered: 2008-06-16
Posts: 2

Re: How to call Xinha functions from in-code?

Pioden wrote:

What do you mean by 'implement tabs'? Sorry, just curious!

I would love to have Xinha work with in-page tabs, so I could have, say, one tab to write articles in and another tab to write summaries of articles. Something like this:

http://stilbuero.de/jquery/tabs/

Where different tabs handle different Text areas. It doesn't seem like Xinha will work with this, without a workaround, as described in the problem ticket I quoted earlier.

Offline

Board footer

Powered by FluxBB