firefox pr1 on windows xp here, and I'm having a problem with fck_image.html.
if you say place this into the file:
<span fckLang="DlgImgURL">URL</span><br>
<input id="txtURL" style="WIDTH: 100%" type="text" onblur="UpdatePreview();">
<script type="text/JavaScript">
<!--
document.getElementById('txtUrl').value = 'hello' ;
//-->
</script>
you will get the following error:
Error: document.getElementById("txtUrl") has no properties
Source File: http://localhost/VineCMS/modules/conten ... image.html
Line: 48
this is the same error that comes up when the filemanger tries to feed the url variable into this field.
I just can't seem to get it to work.
Grrr!!
Fri, 10/15/2004 - 01:38
#1
RE: firefox drama
I fixed it!!
<input id="txtURL" style="WIDTH: 100%" type="text" onblur="UpdatePreview();">
needs to be changed to
<input id="txtUrl" style="WIDTH: 100%" type="text" onblur="UpdatePreview();">
in fck_image.html
and then firefox works.
RE: firefox drama
<input id="txtURL" style="WIDTH: 100%" type="text" onblur="UpdatePreview();">
should be left as is and the function in fck_image.js
function SetUrl( url )
{
document.getElementById('txtUrl').value = url ;
GetE('txtHeight').value = GetE('txtWidth').value = '' ;
UpdatePreview() ;
UpdateOriginal() ;
}
needs to have the txtUrl changed to txtURL
Sorry, about the above post.