I use .InsertHtml like in 8 samples to insert "<img src="/php.jpg">" in firefox all ok, but in ie he insert by absolute path, i need is relatively like in firefox , how i can do it ???
Tue, 07/12/2005 - 00:32
#1
RE: .InsertHtml
var oImage = FCK.CreateElement( 'IMG' ) ;
oImage.setAttribute(/php.jpg);
oImage.setAttribute("width", xxx);
oImage.setAttribute("height", xxx);
oImage.setAttribute("border", "0");
This will do the same thing that the InsertHTML does but without the absolute path.