Hi,
I was wondering if there's a method or a property in FCKEditor that allows me to tell if the Editor is maximized?
I presume the value will be true if it is maximized and false if it's not.
Thanks
I was wondering if there's a method or a property in FCKEditor that allows me to tell if the Editor is maximized?
I presume the value will be true if it is maximized and false if it's not.
Thanks
Re: How to detect if the editor is maximized?
If you're looking for FitWindow you can try these files:
\editor\_source\commandclasses\fckfitwindow.js
\editor\js\fckeditorcode_ie.js
\editor\js\fckeditorcode_gecko.js
Re: How to detect if the editor is maximized?
Thanks for your reply.
But what exactly I'm after is the following:
I have a few FCKeditors on the one page, and I want to invoke a particular function onKeyUp (a character counter function). However, I don't want this function to be invoked in case the editor is in full screen (FitWindow) mode.
So, I guess my calling function should look something like:
The only piece that I'm missing is the if statement, I can't get to figure out a way to detect whether the editor is in full screen mode or not at a particular point or not.
Does this explain it better?
Thanks
Re: How to detect if the editor is maximized?
returns 0 if the editor is NOT maximised
return 1 if the editor is in Fullscreen mode.
Thanks
Re: How to detect if the editor is maximized?
Congrats ITstudent
And thanks for posting the solution. It can get useful for other users with problems like this