FX.Slide problem with TinyMCE Textarea

General Discussion about Mootools 1.2

Moderator: 1.2 Moderators

FX.Slide problem with TinyMCE Textarea

Postby mda on Tue Jun 16, 2009 4:22 am

I'm having a problem getting an input TextArea to reappear with FX.Slide.toggle(). I'm using TinyMCE to provide WYSIWYG ability in the TextArea. When the page renders, I see the TextArea correctly. When I toggle its div, it hides fine. But then when I toggle again, it doesn't reappear. Has anyone faced this problem befores? Thanks in advance. Here's the code:

<div id="editText"><textarea id="testa" name="testa" rows="2" cols="50" wrap="off">testing</textarea></div>

<div id="menu_links"><a href="#">Oman3d</a></div>

<script type="text/javascript">
var box = {};
window.addEvent('domready', function(){
box = new MultiBox('mb', {descClassName: 'multiBoxDesc', useOverlay: true});
});

var mySlide = new Fx.Slide('editText');
$('menu').addEvent('click',function(o3dEvent){
o3dEvent = new Event(o3dEvent);
mySlide.toggle();
o3dEvent.stop();
})

</script>
mda
 
Posts: 1
Joined: Tue Jun 16, 2009 4:12 am

Re: FX.Slide problem with TinyMCE Textarea

Postby daKmoR on Tue Jun 16, 2009 9:58 am

demo?

TinyMCE creates an iframe for it's GUI and just copy the content all the time to the Textarea...
so maybe the iframe just doesn't get's displayed? can't tell without a demo... check with firebug
"Speak when you are angry and you will make the best speech you will ever regret." - Ambrose Bierce
User avatar
daKmoR
Site Admin
 
Posts: 860
Joined: Mon Jul 14, 2008 11:40 am


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest