FCKEditor works perfectly with Firefox. But i have some strange issues with IE. When i load the page the FCKEditor get focus and the page scroll down to the bottom. I have set the
FCKConfig.StartupFocus = false;
But it doesnt seems to help. Anyone know if this is a bug or if its just the way it works or something?
Anyone know any good workaround for this issue?
FCKConfig.StartupFocus = false;
But it doesnt seems to help. Anyone know if this is a bug or if its just the way it works or something?
Anyone know any good workaround for this issue?
RE: Strange focus issue with IE.
RE: Strange focus issue with IE.
I'm thinking there might be a workaround where you could force the FCKEditor to blur after it loads, but I'm not exactly sure how to accomplish that.
Make sure to submit a bug report if you are having this issue too and you are able to reproduce the error.
Anyone else have any ideas?
RE: Strange focus issue with IE.
RE: Strange focus issue with IE.
Here's example:
<body>
<div id="FCKDiv">
'FCKCreation function or frame
</div>
...
<script>
setTimeout("document.getElementById("FCKDiv").style.display = 'block'", 1000);
</script>
</body>
Something like this.
Bluntly simple, but it worX!;)
RE: Strange focus issue with IE.
Well, there is a simple solution do exists. Just hide, or disable FCKEditor frame for 1000 ms via JScript (invisible/disabled items can't get focus!:) )
Here's example:
<body>
<div id="FCKDiv" style="display: none;">
'FCKCreation function or frame
</div>
...
<script>
setTimeout("document.getElementById("FCKDiv").style.display = 'block'", 1000);
</script>
</body>
Something like this.
Bluntly simple, but it worX!;)
Re: Strange focus issue with IE.
I used this snippet:
This code scrolls up the page without changing focus.
I think that can be a good solution because it's more general and can be written in an include file