insert hyperlink






openWYSIWYG | Select Color



var qsParm = new Array();


/* ---------------------------------------------------------------------- *\
Function : retrieveWYSIWYG()
Description : Retrieves the textarea ID for which the link will be inserted into.
\* ---------------------------------------------------------------------- */
function retrieveWYSIWYG() {
var query = window.location.search.substring(1);
var parms = query.split('&');
for (var i=0; i 0) {
var key = parms[i].substring(0,pos);
var val = parms[i].substring(pos+1);
qsParm[key] = val;
}
}
}


function insertHyperLink() {
var hyperLink = document.getElementById('linkType').value + document.getElementById('url').value;
window.opener.document.getElementById('wysiwyg' + qsParm['wysiwyg']).contentWindow.document.execCommand("CreateLink", false, hyperLink);
window.close();
}






Insert Hyperlink:


Type:


http:
https:
mailto:




URL:




 



Wyszukiwarka