You are not logged in.
I got xinha up and running on my site. It's cool, but I'm a little disappointed, it looks like it might not be able to do everything I want.
I would like to be able to create a display mode and an edit mode. In display mode the toolbar will not be present and the content area will be read-only. In edit mode the xinha will look as normal.
From everything I have read, there seems to be no way to do either of the two things I need...make read-only and hide the toolbar. I'm guessing the best thing to do is have two divs, one containing a xinha and one containing a regular iframe, update the text in both as needed and hide/show the divs as needed, so only one is visible at a time.
Is this the best way to do what I want? Or am I mistaken about not being able to hide toolbar and/or make readonly?
Thanks,
BT
Offline
You can not switch on/off Xinha (you can of course hide it with display:none or similar AFTER it has been generated).
So yes, you should do so in a different way by taking the HTML and inserting it into a div or such which you manipulate appropriately.
James Sleeman
Offline
I tried the plan I wrote before and it actually works pretty well...I just write whatever I need to both the xinha and the iframe, and hide or show their containing divs. Seems to work pretty good. Not as elegant as I had hoped, but really not too hard of a workaround at all. Thanks for the response.
Offline
I just followed James' instruction posted above and it seems to do ok now. free pokies
Last edited by jamesturner125 (2010-06-11 03:24:51)
Offline