Code: Select all
<a href="script.php" onclick="return hs.htmlExpand(this,{objectType:'iframe'})">click here</a>
Code: Select all
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
To fix this I need to call the ckeditor.js in script.php which makes the expander slow to open as it has to pull the JS file again, even though the parent window has already done so.
EDIT
End CK editor is called thus in iframe:
Code: Select all
<script type="text/javascript">
CKEDITOR.replace( 'bodytext' ,
{
basePath : '/admin/ckeditor/'
});
</script>
If there any fix for this?
Thank you!