Tengo los archivos js del fckeditor, me funciona bien, pero cuando lo quiero mostrar dentro de un div NO me lo muestra utilizando el navegador IExplorer, porque en el firefox si me lo muestra. Yo requiero q lo muestre en los dos.
Les pongo el codigo sin el div y mas abajo con el div:
SIN EL DIV (Asi me funciona)
Código:
<html> <head> <script type="text/javascript" src="tmp/fckeditor/fckeditor.js"></script> <script type="text/javascript"> window.onload = function() { var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ; var oFCKeditor = new FCKeditor("FCKeditor1") ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.ReplaceTextarea() ; } </script> </head> <body> <textarea id="FCKeditor1" style="width:200px; height:200px"> </textarea> </body> </html>
CON EL DIV (Asi NO me funciona)
Código:
Les repito que esto solo pasa en el Internet Explorer, y es necesario que funcione porque los usuarios del sistema estan acostumbrados a utilizar ese navegador. A demas decirles que esto es solo una parte del código y es necesario q si o si este dentro de un div <html> <head> <script type="text/javascript" src="tmp/fckeditor/fckeditor.js"></script> <script type="text/javascript"> window.onload = function() { var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ; var oFCKeditor = new FCKeditor("FCKeditor1") ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.ReplaceTextarea() ; } </script> </head> <body> <div id="div1" style="width:200px;height:200px"> <textarea id="FCKeditor1" style="width:200px; height:200px"> </textarea> </div> </body> </html>