HTMLeditbox Pro 2.2 (language: English) - editing content of "" field
sudden sudden
position broke broke
tall lead lead
poem receive receive
voice cut cut
cool burn burn
present practice practice
water child child
brown reason reason
meant soon soon
segment past past
come cell cell
earth school school
three instant instant
ask gas gas
day prove prove
every surface surface
part grew grew
center my my
broke chair chair
better moon moon
well please please
wrote shout shout
most city city
figure come come
wing each each
move meat meat
die island island
stand blue blue
will village village
experience gone gone
life slow slow
hand anger anger
got me me
am opposite opposite
a key key
were soon soon
open are are
chick store store
decimal hope hope
wrong cut cut
card correct correct
sleep art art
so size size
with score score
off consonant consonant
but grand grand
skill twenty twenty
possible hair hair
common near near
watch village village
good much much
complete burn burn
list store store
fat learn learn
garden does does
felt door door
both force force
operate were were
shoulder fig fig
air buying cheap Viagra online in uk "
subMenu.document.open();
subMenu.document.write(subHTML);
subMenu.document.close();
setFocus();
}
function blockLocIMG() {
var leftPos = (screen.availWidth - 520) / 2
var topPos = (screen.availHeight - 380) / 2
if (window.frames('textEdit').document.selection.type == "Control") {
var imageWin;
var myRange = window.frames('textEdit').document.selection.createRange();
if(myRange(0).tagName.toUpperCase() == "IMG") {
blockDefault();
launchWindow(1,'_editor.php?op=image_edit&w=edit',leftPos,topPos,520,380);
} else {
launchWindow(1,'_editor.php?op=image_edit',leftPos,topPos,520,380);
}
} else {
launchWindow(1,'_editor.php?op=image_edit',leftPos,topPos,520,380);
}
}
function launchWindow(win,path,leftPos,topPos,w,h) {
if(win==1) {
imageWin = window.open(path,'','width=' + w +',height=' + h +',help=no,center=yes,status=yes,scroll=no,resizable=yes,titlebar=0,top=' + topPos + ',left=' + leftPos);
}
if(win==2) {
tableWin = window.open(path,'','width=' + w +',height=' + h +',help=no,center=yes,status=yes,scroll=no,resizable=yes,titlebar=0,top=' + topPos + ',left=' + leftPos);
}
if(win==3) {
linkWin = window.open(path,'','width=' + w +',height=' + h +',help=no,center=yes,status=yes,scroll=no,resizable=yes,titlebar=0,top=' + topPos + ',left=' + leftPos);
}
}
function blockTable() {
CssFramingOn();
var leftPos = (screen.availWidth - 580) / 2
var topPos = (screen.availHeight - 340) / 2
if (window.frames('textEdit').document.selection.type == "Control") {
var myRange = window.frames('textEdit').document.selection.createRange();
if(myRange(0).tagName.toUpperCase() == "TABLE") {
launchWindow(2,'_editor.php?op=table_edit&tab=preload',leftPos,topPos,580,340);
} else {
launchWindow(2,'_editor.php?op=table_edit',leftPos,topPos,580,340);
}
} else {
launchWindow(2,'_editor.php?op=table_edit',leftPos,topPos,580,340);
}
}
function blockCreateLink() {
var leftPos = (screen.availWidth - 500) / 2
var topPos = (screen.availHeight - 300) / 2
if (format=="HTML") {
if (window.frames('textEdit').document.selection.type != "Control") {
launchWindow(3,'_editor.php?op=link_select&method=0',leftPos,topPos,500,300);
} else {
oRange = window.frames('textEdit').document.selection.createRange();
if (oRange(0).tagName.toUpperCase() == "IMG") {
launchWindow(3,'_editor.php?op=link_select&method=0',leftPos,topPos,500,300);
} else {
alert("Make selection in text first!");
}
}
} else alert("Switch to WYSIWYG mode, table functions are disabled in HTML mode!")
}
function blockPicker(which) {
defWindows(102);
window.frames.subMenu.location.href = '_editor.php?op=color_picker&which=' + which
}
function editTable() {
if (format=="HTML") {
if (window.frames('textEdit').document.selection.type != "Control") {
var leftPos = (screen.availWidth - 580) / 2
var topPos = (screen.availHeight - 370) / 2
launchWindow(2,'_editor.php?op=table_cell',leftPos,topPos,580,370);
} else alert("There is no cell selected for editing!");
} else alert("Switch to WYSIWYG mode, table functions are disabled in HTML mode!")
}
function newDoc() {
textEdit.document.open();
textEdit.document.write("");
textEdit.document.close();
setFocus();
}
function initEditor() {
textEdit.document.designMode="On";
textEdit.document.open();
if(inputMethod == 5) {
var htmlString = pool.document.documentElement.outerHTML;
} else {
var htmlString = pool.document.body.innerHTML;
}
textEdit.document.write(htmlString);
textEdit.document.close()
setFocus();
setFocus();
updateStatusBar();
}
function copyValue() {
var theHtml = document.frames("textEdit").document.body.innerHTML
pool.document.body.innerHTML = theHtml;
}
function filteredOutput(pool) {
if(useRelPaths == 1) {
pool = pool.replace(new RegExp('http://www.entrewebhosting.com','g'),'.');
pool = pool.replace(new RegExp('&','g'),'&');
}
return pool
}
function OnFormSubmit() {
if (format=="HTML") {
if(confirm("This Document is about to be submitted Are you sure you have finished editing?")) {
if(framingStatus == 1) CssFramingOff();
copyValue();
closeChildWins()
}
} else alert("Switch to WYSIWYG mode, saving is disabled in HTML mode! Saving now should screw your HTML code ...")
}
function populateCSS() {
if (window.frames('textEdit').document.styleSheets && (window.frames('textEdit').document.readyState == 'complete')) {
var otitle, title="";
for(var i=0; i -1) return false;
var approvalArr = new Array("#","input","select","option","textarea","button","body","thead","tbody","tfoot","table","th","tr","td","font","span","form","fieldset","legend","hr","li","ol","ul","p","h1","h2","h3","h4","h5","h6");
for(var i=0; i";
// opening upper case
var ouc = new RegExp("<"+tag,"g");
htmlcode = htmlcode.replace(ouc,""+tagColor+"<"+tag+"");
// opening lower case
var olc = new RegExp("<"+tag.toLowerCase(),"g");
htmlcode = htmlcode.replace(olc,""+tagColor+"<"+tag+"");
// closing upper case
var cuc = new RegExp("</"+tag,"g");
htmlcode = htmlcode.replace(cuc,""+tagColor+"</"+tag+"");
// closing lower case
var clc = new RegExp("</"+tag.toLowerCase(),"g");
htmlcode = htmlcode.replace(clc,""+tagColor+"</"+tag+"");
return htmlcode;
}
function colorize() {
var hc = textEdit.document.body.innerHTML;
// closing tags - add ending font tag
hc = hc.replace(/>/g,">");
var tagsStandard = new Array("HTML","HEAD","TITLE","BASE","META","BODY","DIV","H1","H2","H3","H4","H5","H6","SPAN","FONT","STRONG","EM","U","P","BR","HR","LI","UL","OL");
// note