I was having some serious issues in IE with 2 instances of FCKEditor on one
form. I broke the loaders out into a js function and just called that
function (with different params) in the window.onload function and it
cleared up IE completely but didn't help firefox at all.
Firefox loads them up (seemingly) fine but I can only type in one of them.
(whichever one I put my cursor in first is the one I can type in, it
apparently 'deactivates' the other somehow). There are no errors in the JS
console so I don't know what's going on with it. Has anyone else seen this?
Just for anyone having the problem in IE, this is how I solved it
HEY! Lets test the tips.
<tip>
<script type="text/javascript" src="../FCKeditor/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
loadFCKEditor('programsummary', 'Basic', '200', '410')
loadFCKEditor('programdetails', 'Default', '600', '600')
}
function loadFCKEditor(frm, tb, h, w, inst)
{
var oFCKeditor = new FCKeditor(frm);
oFCKeditor.ToolbarSet = tb ;
oFCKeditor.Height = h ;
oFCKeditor.Width = w ;
oFCKeditor.ReplaceTextarea();
}
</script>
</tip>
I don't know why it fixes it really. I assume it actually lets one load
completely before loading the other this way. But thats just an uneducated
guess. : )
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.9/116 - Release Date: 9/30/2005
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219826
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54