This is a migrated thread and some comments may be shown as answers.

[Solved] FancyBox problems

2 Answers 130 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gareth
Top achievements
Rank 1
Gareth asked on 31 May 2011, 04:46 PM
Hi,

I've put the editor on a page and set it with some initial text and it works fine. I've then hidden it and popped it up using fancybox http://fancybox.net/ and the initial text doesn't display. There's obviously some incompatibility there - has anyone else come across this and, if so, did you solve it and how?

Thanks

Gareth

2 Answers, 1 is accepted

Sort by
0
Gareth
Top achievements
Rank 1
answered on 02 Jun 2011, 09:55 AM
O.K., I've got the editor to pop up in a fancy box and contain the text that I put in the initial value. However, when I change the text and submit the form I get the original text, not the text that I've entered. Looking at the code it looks like the hidden "-value" field is not being populated with the changes.

Anyone have any idea where I can look to see why this is going wrong?

Thanks

Gareth
0
Gareth
Top achievements
Rank 1
answered on 02 Jun 2011, 10:09 AM
Little bit more information.

If I put the editor in a div that's not hidden and change the text the "onChange" event fires. If I then pop the div up in a fancybox the onChange event doesn't fire... How are the onChange events (which I assume the rest of the functionality depends on) registered?

Gareth
Tags
Editor
Asked by
Gareth
Top achievements
Rank 1
Answers by
Gareth
Top achievements
Rank 1
Share this question
or