I'm finding that when I use the following code in IE6 to create a link it is auto adding the website address upto the address where i am running the plugin from:
var sTagOutput = '<a href="' + sURL.value + '">' + document.getElementById( "txtTitle").value + '</a>';
oEditor.FCK.InsertHtml( sTagOutput );
the result would be something like <a href='http://www.spcs.eu/assets/plugins... etc
in firefox though i get <a href='pagename.html'> which is what i want
I have tried adding a / just before the page name which is slightly better and takes me to http://www.spcs.eu/pagename.html but i wish to loose the domain name altogether.
Any help would be much appreciated.
FCK.InsertHtml creating link in IE problem