rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
15
136k
if ( !(BX_xml_nodelist) ) { if (xml) { BX_xml_nodelist = xml.getElementsByTagName("*"); } else { BX_xml_nodelist = this.getElementsByTagName("*"); }
if (!xml) { xml = this; } if ( !(xml.BX_xml_nodelist) ) { BX_xml_nodelist = xml.getElementsByTagName("*");
function BX_getElementById(id,xml) { if ( !(BX_xml_nodelist) ) { if (xml) { BX_xml_nodelist = xml.getElementsByTagName("*"); } else { BX_xml_nodelist = this.getElementsByTagName("*"); } } for (var i=0; i < BX_xml_nodelist.length; i++) { ...
for (var i=0; i < BX_xml_nodelist.length; i++) { var idAttr = BX_xml_nodelist[i].getAttribute("id"); if (!idAttr) continue;
for (var i=0; i < xml.BX_xml_nodelist.length; i++) { var idAttr = xml.BX_xml_nodelist[i].getAttribute("id"); if (!idAttr) continue;
function BX_getElementById(id,xml) { if ( !(BX_xml_nodelist) ) { if (xml) { BX_xml_nodelist = xml.getElementsByTagName("*"); } else { BX_xml_nodelist = this.getElementsByTagName("*"); } } for (var i=0; i < BX_xml_nodelist.length; i++) { ...
return BX_xml_nodelist[i];
return xml.BX_xml_nodelist[i];
function BX_getElementById(id,xml) { if ( !(BX_xml_nodelist) ) { if (xml) { BX_xml_nodelist = xml.getElementsByTagName("*"); } else { BX_xml_nodelist = this.getElementsByTagName("*"); } } for (var i=0; i < BX_xml_nodelist.length; i++) { ...
if (xml) { BX_xml_nodelist = xml.getElementsByTagName("*"); } else { BX_xml_nodelist = this.getElementsByTagName("*");
if (xml) { xml.BX_xml_nodelist = xml.getElementsByTagName("*"); } else { this.BX_xml_nodelist = this.getElementsByTagName("*"); xml = this;
function BX_getElementByIdClean(id,xml) { if (xml) { BX_xml_nodelist = xml.getElementsByTagName("*"); } else { BX_xml_nodelist = this.getElementsByTagName("*"); } for (var i=0; i < BX_xml_nodelist.length; i++) { var idAttr = BX_xml_nodelist[i].getAttribute("id"); if (...
for (var i=0; i < BX_xml_nodelist.length; i++) { var idAttr = BX_xml_nodelist[i].getAttribute("id"); if (!idAttr) continue;
for (var i=0; i < xml.BX_xml_nodelist.length; i++) { var idAttr = xml.BX_xml_nodelist[i].getAttribute("id"); if (!idAttr) continue;
function BX_getElementByIdClean(id,xml) { if (xml) { BX_xml_nodelist = xml.getElementsByTagName("*"); } else { BX_xml_nodelist = this.getElementsByTagName("*"); } for (var i=0; i < BX_xml_nodelist.length; i++) { var idAttr = BX_xml_nodelist[i].getAttribute("id"); if (...
return BX_xml_nodelist[i];
return xml.BX_xml_nodelist[i];
function BX_getElementByIdClean(id,xml) { if (xml) { BX_xml_nodelist = xml.getElementsByTagName("*"); } else { BX_xml_nodelist = this.getElementsByTagName("*"); } for (var i=0; i < BX_xml_nodelist.length; i++) { var idAttr = BX_xml_nodelist[i].getAttribute("id"); if (...
while(startNode && startNode.parentNode && startNode.parentNode.nodeName != "body" && startNode.parentNode.getAttribute("name") != "bitfluxspan") {
while(startNode && startNode.parentNode && startNode.parentNode.parentNode.nodeName != "html" && startNode.parentNode.getAttribute("name") != "bitfluxspan") {
function BX_getParentNode(startNode,nodename) { var thisNodeName = ""; while(startNode && startNode.parentNode && startNode.parentNode.nodeName != "body" && startNode.parentNode.getAttribute("name") != "bitfluxspan") { startNode = startNode.parentNode; thisNodeName = startNode.nodeName; var t...
BX_xsltProcessor.transformDocument( BX_xml, BX_xmlTRBack, xmltransformedback, null);
BX_xsltProcessor.transformDocument( BX_xml.doc, BX_xmlTRBack.doc, xmltransformedback, null);
function BX_getResultXML(){ BX_updateXML(); var xmltransformedback = document.implementation.createDocument("","",null); BX_xsltProcessor.transformDocument( BX_xml, BX_xmlTRBack, xmltransformedback, null); return xmltransformedback;}
node.style.background = "transparent";
node.removeAttribute("bxe_mark");
function BX_hide_node(id){ var node = BX_getElementByIdClean(id,document); node.style.background = "transparent";}
window.open("./"+BX_root_dir+"/insertpicture/index.html","image",'toolbar=no,width=550,height=350,scrollbars=no,resizable=yes','');
window.open(BX_root_dir+"/insertpicture/index.html","image",'toolbar=no,width=550,height=350,scrollbars=no,resizable=yes','');
function BX_image_popup (){ window.open("./"+BX_root_dir+"/insertpicture/index.html","image",'toolbar=no,width=550,height=350,scrollbars=no,resizable=yes','');}
infotext_attr.innerHTML = "";
BX_innerHTML(infotext_attr,"");
function BX_infobar_printAttributes(node){ var infotext_attr = document.getElementById("BX_infotext_attr"); infotext_attr.innerHTML = ""; if (node.getAttribute("name") != "bitfluxspan") { var element_id = node.getAttribute("id"); var infotext2 = "<b>"+BX_elements[node.nodeName]+"</b> <a href=\...
var infotext2 = "<b>"+BX_elements[node.nodeName]+"</b> <a href=\"javascript:BX_infobar_printAttributes(BX_getElementByIdClean('"+node.getAttribute("id")+"',document));BX_down()\">down</a><br/>"; infotext2 += "<table class=\"usualBlackTd\">\n";
var infotext2 = ""+BX_elements[node.nodeName]+"<a href=\"javascript:BX_infobar_printAttributes(BX_getElementByIdClean('"+node.getAttribute("id")+"',document));BX_down()\">down</a><br/>"; infotext2 += "<table class=\"usual\">\n";
function BX_infobar_printAttributes(node){ var infotext_attr = document.getElementById("BX_infotext_attr"); infotext_attr.innerHTML = ""; if (node.getAttribute("name") != "bitfluxspan") { var element_id = node.getAttribute("id"); var infotext2 = "<b>"+BX_elements[node.nodeName]+"</b> <a href=\...
for (var i=0; i < node.attributes.length; i++ ) { if (node.attributes[i].nodeName != "bx_originalname" && node.attributes[i].nodeName != "internalid" && node.attributes[i].nodeName != "id" && node.attributes[i].nodeName != "style" ) { infotext_attr.innerHTML = "<a href=\"javascript:BX_infobar_printAttributes(BX_getEle...
for (var i=0; i < node.attributes.length; i++ ) { if (node.attributes[i].nodeName != "bxe_originalname" && node.attributes[i].nodeName != "bxe_internalid" && node.attributes[i].nodeName != "id" && node.attributes[i].nodeName != "style" ) { BX_innerHTML(infotext_attr,"<a href=\"javascript:BX_infobar_printAttributes(BX_...
function BX_infobar_printAttributes(node){ var infotext_attr = document.getElementById("BX_infotext_attr"); infotext_attr.innerHTML = ""; if (node.getAttribute("name") != "bitfluxspan") { var element_id = node.getAttribute("id"); var infotext2 = "<b>"+BX_elements[node.nodeName]+"</b> <a href=\...
infotext2 += "<td><input onchange=\"BX_getElementByIdClean('"+element_id+"',document).setAttribute('"+node.attributes[i].nodeName+"',this.value); \" onfocus=\"javascript: BX_range= null;\" size=\"40\" value=\""+node.attributes[i].nodeValue+"\"></td></tr>\n";
infotext2 += "<td><input onchange=\"BX_getElementByIdClean('"+element_id+"',document).setAttribute('"+node.attributes[i].nodeName+"',this.value); \" onfocus=\"javascript: BX_range= null;\" size=\"40\" value=\""+node.attributes[i].nodeValue+"\" /></td></tr>\n";
function BX_infobar_printAttributes(node){ var infotext_attr = document.getElementById("BX_infotext_attr"); infotext_attr.innerHTML = ""; if (node.getAttribute("name") != "bitfluxspan") { var element_id = node.getAttribute("id"); var infotext2 = "<b>"+BX_elements[node.nodeName]+"</b> <a href=\...
BX_infotext2.innerHTML = infotext2 + "</table>";
BX_innerHTML(BX_infotext2,infotext2 + "</table>");
function BX_infobar_printAttributes(node){ var infotext_attr = document.getElementById("BX_infotext_attr"); infotext_attr.innerHTML = ""; if (node.getAttribute("name") != "bitfluxspan") { var element_id = node.getAttribute("id"); var infotext2 = "<b>"+BX_elements[node.nodeName]+"</b> <a href=\...
BX_xmlTR = new BXE_XmlDocument("/config/files/transform/file[@name='BX_xmltransformfile']");
BX_xmlTR = new BXE_XsltDocument("/config/files/transform/file[@name='BX_xmltransformfile']");
function BX_init() { BX_schema_init(); BX_xmlTR = new BXE_XmlDocument("/config/files/transform/file[@name='BX_xmltransformfile']"); BX_xmlTR.includes = BX_config_getContentMultiple("/config/files/transform/includes/file[@name='BX_xmltransformfile']"); BX_xmlTR.xsltParams = BX_config_getContentMultipleAsso...
BX_xmlTRBack = new BXE_XmlDocument("/config/files/transform/file[@name='BX_xmltransformbackfile']");
BX_xmlTRBack = new BXE_XsltDocument("/config/files/transform/file[@name='BX_xmltransformbackfile']");
function BX_init() { BX_schema_init(); BX_xmlTR = new BXE_XmlDocument("/config/files/transform/file[@name='BX_xmltransformfile']"); BX_xmlTR.includes = BX_config_getContentMultiple("/config/files/transform/includes/file[@name='BX_xmltransformfile']"); BX_xmlTR.xsltParams = BX_config_getContentMultipleAsso...
BX_xslViewSource = new BXE_XmlDocument("/config/files/transform/file[@name='BX_xslViewSourceFile']");
BX_xslViewSource = new BXE_XsltDocument("/config/files/transform/file[@name='BX_xslViewSourceFile']");
function BX_init() { BX_schema_init(); BX_xmlTR = new BXE_XmlDocument("/config/files/transform/file[@name='BX_xmltransformfile']"); BX_xmlTR.includes = BX_config_getContentMultiple("/config/files/transform/includes/file[@name='BX_xmltransformfile']"); BX_xmlTR.xsltParams = BX_config_getContentMultipleAsso...
BX_xsl = new BXE_XmlDocument("/config/files/input/file[@name='BX_xslfile']");
BX_xsl = new BXE_XsltDocument("/config/files/input/file[@name='BX_xslfile']");
function BX_init() { BX_schema_init(); BX_xmlTR = new BXE_XmlDocument("/config/files/transform/file[@name='BX_xmltransformfile']"); BX_xmlTR.includes = BX_config_getContentMultiple("/config/files/transform/includes/file[@name='BX_xmltransformfile']"); BX_xmlTR.xsltParams = BX_config_getContentMultipleAsso...
}
function BX_init() { BX_schema_init(); BX_xmlTR = new BXE_XmlDocument("/config/files/transform/file[@name='BX_xmltransformfile']"); BX_xmlTR.includes = BX_config_getContentMultiple("/config/files/transform/includes/file[@name='BX_xmltransformfile']"); BX_xmlTR.xsltParams = BX_config_getContentMultipleAsso...
BX_xmltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']"); var BX_xmltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']/@method");
BX_xmlTR = new BXE_XmlDocument("/config/files/transform/file[@name='BX_xmltransformfile']"); BX_xmlTR.includes = BX_config_getContentMultiple("/config/files/transform/includes/file[@name='BX_xmltransformfile']"); BX_xmlTR.xsltParams = BX_config_getContentMultipleAssoc("/config/files/transform/parameters/param[@name='...
function BX_init(){ BX_schema_init(); BX_xmltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']"); var BX_xmltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']/@method"); BX_xsltransformfile = BX_config_getConten...
BX_xsltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xsltransformfile']"); var BX_xsltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xsltransformfile']/@method"); BX_xmltransformbackfile = BX_config_getContent("/config/files/transform/file[@name='BX_xml...
BX_xslTR = new BXE_XmlDocument("/config/files/transform/file[@name='BX_xsltransformfile']");
function BX_init(){ BX_schema_init(); BX_xmltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']"); var BX_xmltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']/@method"); BX_xsltransformfile = BX_config_getConten...
BX_xslViewSourceFile = BX_config_getContent("/config/files/transform/file[@name='BX_xslViewSourceFile']");
BX_xmlTRBack = new BXE_XmlDocument("/config/files/transform/file[@name='BX_xmltransformbackfile']"); BX_xmlTRBack.includes = BX_config_getContentMultiple("/config/files/transform/includes/file[@name='BX_xmltransformbackfile']");
function BX_init(){ BX_schema_init(); BX_xmltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']"); var BX_xmltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']/@method"); BX_xsltransformfile = BX_config_getConten...
BX_xmlfile = BX_config_getContent("/config/files/input/file[@name='BX_xmlfile']"); var BX_xmlfile_method = BX_config_getContent("/config/files/input/file[@name='BX_xmlfile']/@method");
BX_xslViewSource = new BXE_XmlDocument("/config/files/transform/file[@name='BX_xslViewSourceFile']");
function BX_init(){ BX_schema_init(); BX_xmltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']"); var BX_xmltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']/@method"); BX_xsltransformfile = BX_config_getConten...
BX_xslfile = BX_config_getContent("/config/files/input/file[@name='BX_xslfile']"); var BX_xslfile_method = BX_config_getContent("/config/files/input/file[@name='BX_xslfile']/@method");
BX_xml = new BXE_XmlDocument("/config/files/input/file[@name='BX_xmlfile']");
function BX_init(){ BX_schema_init(); BX_xmltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']"); var BX_xmltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']/@method"); BX_xsltransformfile = BX_config_getConten...
BX_posturl = BX_config_getContent("/config/files/output/file[@name='BX_posturl']"); BX_posturl_method = BX_config_getContent("/config/files/output/file[@name='BX_posturl']/@method");
BX_xsl = new BXE_XmlDocument("/config/files/input/file[@name='BX_xslfile']"); BX_xsl.xsltParams = BX_config_getContentMultipleAssoc("/config/files/transform/parameters/param[@name='BX_xslfile']","xsltParamName"); BX_posturl = new BXE_XmlDocument("/config/files/output/file[@name='BX_posturl']");
function BX_init(){ BX_schema_init(); BX_xmltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']"); var BX_xmltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']/@method"); BX_xsltransformfile = BX_config_getConten...
while (node = options.iterateNext()) { if (node.firstChild) { eval(node.getAttribute("name") + " = " + node.firstChild.data + ""); } else {
while (node = options.iterateNext()) { if (node.firstChild) { var nodeValue = BX_config_translateUrl(node); nodeValue = "'" + nodeValue.replace(/^'/,"").replace(/'$/,"") + "'"; if (nodeValue == "'false'" || nodeValue == "'0'") { nodeValue = false; } else if (nodeValue == "'true'") { nodeValue = true; } eval(node.ge...
function BX_init(){ BX_schema_init(); BX_xmltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']"); var BX_xmltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']/@method"); BX_xsltransformfile = BX_config_getConten...
BX_xml = BX_load_document(BX_xmlfile,BX_xmlfile_method); BX_xsl = BX_load_document(BX_xslfile,BX_xslfile_method);
BX_xml.load(); BX_xsl.load();
function BX_init(){ BX_schema_init(); BX_xmltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']"); var BX_xmltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']/@method"); BX_xsltransformfile = BX_config_getConten...
BX_xmlTR = BX_load_document(BX_xmltransformfile,BX_xmltransformfile_method);
BX_xmlTR.load();
function BX_init(){ BX_schema_init(); BX_xmltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']"); var BX_xmltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']/@method"); BX_xsltransformfile = BX_config_getConten...
BX_xslTR = BX_load_document(BX_xsltransformfile,BX_xsltransformfile_method);
BX_xslTR.load();
function BX_init(){ BX_schema_init(); BX_xmltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']"); var BX_xmltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']/@method"); BX_xsltransformfile = BX_config_getConten...
BX_xmlTRBack = BX_load_document(BX_xmltransformbackfile,BX_xmltransformbackfile_method);
BX_xmlTRBack.load(BX_xmlTRBack_loaded);
function BX_init(){ BX_schema_init(); BX_xmltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']"); var BX_xmltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']/@method"); BX_xsltransformfile = BX_config_getConten...
BX_transformLocation = document.getElementById("transformLocation");
BX_transformLocation = document.getElementById("transformlocation");
function BX_init(){ BX_schema_init(); BX_xmltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']"); var BX_xmltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']/@method"); BX_xsltransformfile = BX_config_getConten...
BX_xml.getElementById = BX_getElementById;
BX_xml.doc.getElementById = BX_getElementById;
function BX_init(){ BX_schema_init(); BX_xmltransformfile = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']"); var BX_xmltransformfile_method = BX_config_getContent("/config/files/transform/file[@name='BX_xmltransformfile']/@method"); BX_xsltransformfile = BX_config_getConten...
BX_infobar.style.width = window.innerWidth; BX_infobar.style.top = window.innerHeight - 30;
BX_infobar.style.width = window.innerWidth + "px"; BX_infobar.style.top = window.innerHeight - 30 + "px";
function BX_init_adjustButtonbar() { BX_infobar.style.width = window.innerWidth; BX_infobar.style.top = window.innerHeight - 30;}
BX_buttonbar.style.width = window.innerWidth; var result = BX_config.evaluate("/config/buttons
BX_buttonbar.style.width = window.innerWidth + "px"; var result = BX_config.doc.evaluate("/config/buttons
function BX_init_buttonBar(){ BX_buttonbar = document.getElementById("BX_buttonbar"); BX_buttonbar.style.width = window.innerWidth; var result = BX_config.evaluate("/config/buttons//*", BX_config, null, 0, null); var node; var resultArray = new Array(); var i = 0; BX_buttonbar = BX_buttonbar.append...
BX_buttonbar = BX_buttonbar.appendChild(document.createElement("table"));
BX_buttonbar = BX_buttonbar.appendChild(document.createElementNS("http:
function BX_init_buttonBar(){ BX_buttonbar = document.getElementById("BX_buttonbar"); BX_buttonbar.style.width = window.innerWidth; var result = BX_config.evaluate("/config/buttons//*", BX_config, null, 0, null); var node; var resultArray = new Array(); var i = 0; BX_buttonbar = BX_buttonbar.append...
var ahref = document.createElement("a");
var ahref = document.createElementNS("http:
function BX_init_buttonBar(){ BX_buttonbar = document.getElementById("BX_buttonbar"); BX_buttonbar.style.width = window.innerWidth; var result = BX_config.evaluate("/config/buttons//*", BX_config, null, 0, null); var node; var resultArray = new Array(); var i = 0; BX_buttonbar = BX_buttonbar.append...
} else if (node.nodeName == "row") { if (BX_buttonbar.nodeName.toLowerCase() == "table")
} else if (node.nodeName == "row") { if (BX_buttonbar.nodeName.toLowerCase() == "table") { BX_buttonbar = BX_buttonbar.appendChild(document.createElementNS("http: } else
function BX_init_buttonBar(){ BX_buttonbar = document.getElementById("BX_buttonbar"); BX_buttonbar.style.width = window.innerWidth; var result = BX_config.evaluate("/config/buttons//*", BX_config, null, 0, null); var node; var resultArray = new Array(); var i = 0; BX_buttonbar = BX_buttonbar.append...
BX_buttonbar = BX_buttonbar.appendChild(document.createElement("tr")); } else { BX_buttonbar = BX_buttonbar.parentNode.parentNode.appendChild(document.createElement("tr"));
BX_buttonbar = BX_buttonbar.parentNode.parentNode.appendChild(document.createElementNS("http:
function BX_init_buttonBar(){ BX_buttonbar = document.getElementById("BX_buttonbar"); BX_buttonbar.style.width = window.innerWidth; var result = BX_config.evaluate("/config/buttons//*", BX_config, null, 0, null); var node; var resultArray = new Array(); var i = 0; BX_buttonbar = BX_buttonbar.append...
}
} else if (node.nodeName == "cell") {
function BX_init_buttonBar(){ BX_buttonbar = document.getElementById("BX_buttonbar"); BX_buttonbar.style.width = window.innerWidth; var result = BX_config.evaluate("/config/buttons//*", BX_config, null, 0, null); var node; var resultArray = new Array(); var i = 0; BX_buttonbar = BX_buttonbar.append...
else if (node.nodeName == "cell") {
if (BX_buttonbar.nodeName.toLowerCase() == "tr") { BX_buttonbar = BX_buttonbar.appendChild(document.createElementNS("http: } else { BX_buttonbar = BX_buttonbar.parentNode.appendChild(document.createElementNS("http: }
function BX_init_buttonBar(){ BX_buttonbar = document.getElementById("BX_buttonbar"); BX_buttonbar.style.width = window.innerWidth; var result = BX_config.evaluate("/config/buttons//*", BX_config, null, 0, null); var node; var resultArray = new Array(); var i = 0; BX_buttonbar = BX_buttonbar.append...
if (BX_buttonbar.nodeName.toLowerCase() == "tr") { BX_buttonbar = BX_buttonbar.appendChild(document.createElement("td")); } else { BX_buttonbar = BX_buttonbar.parentNode.appendChild(document.createElement("td")); } if (node.getAttribute("align")) {
if (node.getAttribute("align")) {
function BX_init_buttonBar(){ BX_buttonbar = document.getElementById("BX_buttonbar"); BX_buttonbar.style.width = window.innerWidth; var result = BX_config.evaluate("/config/buttons//*", BX_config, null, 0, null); var node; var resultArray = new Array(); var i = 0; BX_buttonbar = BX_buttonbar.append...
BX_buttonbar.addEventListener("mouseup", BX_event_buttonbarMouseUp, false);
function BX_init_buttonBar(){ BX_buttonbar = document.getElementById("BX_buttonbar"); BX_buttonbar.style.width = window.innerWidth; var result = BX_config.evaluate("/config/buttons//*", BX_config, null, 0, null); var node; var resultArray = new Array(); var i = 0; BX_buttonbar = BX_buttonbar.append...
var html = '<div id="BX_buttonbar" style="height: 65px; position: fixed; background-color: #b4b4b4; z-index: 5; margin-left: -7px;"></div>'; html += '<div style="position:absolute; top:70; left: 5; z-index: 3;" id="transformLocation" ></div>' html += '<div id="BX_infobar" style="visibility: hidden; top: 530px; height:...
var html = ''; html += '<div id="BX_buttonbar" ></div>'; html += '<div id="transformlocation" ></div>' html += '<div id="BX_infobar" >';
function BX_init_page(){ var html = '<div id="BX_buttonbar" style="height: 65px; position: fixed; background-color: #b4b4b4; z-index: 5; margin-left: -7px;"></div>'; html += '<div style="position:absolute; top:70; left: 5; z-index: 3;" id="transformLocation" ></div>' html += '<div id="BX_infobar" styl...
html += '<div id="BX_infotext_tags"> </div>'; html += '<div id="BX_infotext_attr"> </div>'; html += '<div id="BX_infotext2" style="position: absolute; top: 0px; margin-left: 5px; visibility: hidden; "> </div>'; html += '<div id="BX_popup" class="popup" style="visibility: hidden; top: 130px; height: 30px; width: 500px; ...
html += '<div id="BX_infotext_tags"> </div>\n'; html += '<div id="BX_infotext_attr"> </div>\n'; html += '<div id="BX_infotext2" style="position: absolute; top: 0px; margin-left: 5px; visibility: hidden; "> </div>\n'; html += '<div id="BX_popup" class="popup" style="visibility: hidden; top: 130px; height: 30px; width: 5...
function BX_init_page(){ var html = '<div id="BX_buttonbar" style="height: 65px; position: fixed; background-color: #b4b4b4; z-index: 5; margin-left: -7px;"></div>'; html += '<div style="position:absolute; top:70; left: 5; z-index: 3;" id="transformLocation" ></div>' html += '<div id="BX_infobar" styl...
document.getElementsByTagName("body")[0].innerHTML = html;
var bxe_area = document.getElementById("bxe_area"); BX_innerHTML(bxe_area,html)
function BX_init_page(){ var html = '<div id="BX_buttonbar" style="height: 65px; position: fixed; background-color: #b4b4b4; z-index: 5; margin-left: -7px;"></div>'; html += '<div style="position:absolute; top:70; left: 5; z-index: 3;" id="transformLocation" ></div>' html += '<div id="BX_infobar" styl...
} catch (e) { return false; }
function BX_innerHTML (element,html,append){ if (html) { html = '<root xmlns="http://www.w3.org/1999/xhtml">'+html+"</root>"; docfrag = BX_parser.parseFromString(html,"text/xml"); } if (!append) { var len = element.childNodes.length; for (var i = 0; i < len ; i++) { element.removeChild(element.firstChild); } }...
BX_range.setEnd(BX_range.endContainer ,BX_range.endOffset +1);
try { BX_range.setEnd(BX_range.endContainer ,BX_range.endOffset +1);} catch(e) {};
function BX_insertContent(content, doNoCollapse) { var StartContainer = BX_range.startContainer; var StartPosition = BX_range.startOffset; if (typeof(content) == "string") { try { bla = BX_range.deleteContents(); } catch(e) {} if (content.length == 1) { content = document.createT...
try { BX_range.deleteContents(); } catch(e) {} ;
function BX_insertContent(content, doNoCollapse) { /* BX_selection.removeAllRanges();*/ try { BX_range.deleteContents(); } catch(e) {} ; var StartContainer = BX_range.startContainer; var StartPosition = BX_range.startOffset; if (typeof(content) == "string") { if (content.length == ...
}
} else { BX_selection.removeAllRanges(); try { BX_range.deleteContents(); } catch(e) {}
function BX_insertContent(content, doNoCollapse) { /* BX_selection.removeAllRanges();*/ try { BX_range.deleteContents(); } catch(e) {} ; var StartContainer = BX_range.startContainer; var StartPosition = BX_range.startOffset; if (typeof(content) == "string") { if (content.length == ...
function BX_insertContent(content, do_undo_save) {
function BX_insertContent(content, doNoCollapse) {
function BX_insertContent(content, do_undo_save){ /* BX_selection.removeAllRanges();*/ try {BX_range.deleteContents();} catch(e){}; var StartContainer = BX_range.startContainer; var StartPosition = BX_range.startOffset; if (typeof(content) == "string") { if (content.length == 1) { ...
else { var startOffBefore = BX_range.startOffset; BX_range.insertNodeBX = InsertNodeAtStartOfRange; try{ BX_range.insertNodeBX(content);} catch(e) {}; if (startOffBefore == BX_range.startOffset) { BX_range.setEnd(BX_range.endContainer ,BX_range.endOffset +1); } BX_range.collapse(false); } BX_selection.addRange(BX_...
function BX_insertContent(content, do_undo_save){ /* BX_selection.removeAllRanges();*/ try {BX_range.deleteContents();} catch(e){}; var StartContainer = BX_range.startContainer; var StartPosition = BX_range.startOffset; if (typeof(content) == "string") { if (content.length == 1) { ...
if (BX_range.toString().length == 0) { if (BX_range.endOffset == BX_range.endContainer.data.length) { if (BX_range.endContainer.nextSibling) { BX_range.selectNodeContents(BX_range.endContainer.nextSibling.childNodes[0]);
if (BX_range.toString().length == 0 && typeof (BX_range.endContainer.data) != "undefined") { var rightOfSelection = BX_range.endContainer.data.substring(BX_range.endOffset,BX_range.endContainer.data.length); var leftOfSelection = BX_range.endContainer.data.substring(0,BX_range.endOffset); if (/[^\t\n\r\s]/.test(left...
function BX_key_delete(){ BX_get_selection(); BX_selection.removeAllRanges(); if (BX_range.toString().length == 0) { if (BX_range.endOffset == BX_range.endContainer.data.length) { if (BX_range.endContainer.nextSibling) { BX_range.selectNodeContents(BX_range...
else if (BX_range.endContainer.parentNode) { BX_range.selectNodeContents(BX_range.endContainer.parentNode.nextSibling); } BX_range.collapse(1);
function BX_key_delete(){ BX_get_selection(); BX_selection.removeAllRanges(); if (BX_range.toString().length == 0) { if (BX_range.endOffset == BX_range.endContainer.data.length) { if (BX_range.endContainer.nextSibling) { BX_range.selectNodeContents(BX_range...
BX_range.setEnd(BX_range.endContainer, BX_range.endOffset+1);
BX_range.setEnd(BX_range.endContainer, BX_range.endOffset+( rightOfSelection.length - stripWS.length) + 1);
function BX_key_delete(){ BX_get_selection(); BX_selection.removeAllRanges(); if (BX_range.toString().length == 0) { if (BX_range.endOffset == BX_range.endContainer.data.length) { if (BX_range.endContainer.nextSibling) { BX_range.selectNodeContents(BX_range...
BX_range.collapse(1);
function BX_key_delete(){ BX_get_selection(); BX_selection.removeAllRanges(); if (BX_range.toString().length == 0) { if (BX_range.endOffset == BX_range.endContainer.data.length) { if (BX_range.endContainer.nextSibling) { BX_range.selectNodeContents(BX_range...
function BX_load(config_file) { try { if (navigator.appName != "Netscape" ) { BX_config_setLoadMessage("You need Mozilla or Netscape 7 for this Editor. Get it from <a href='http: return false; } if (navigator.productSub >= 20020826) { BX_mozilla_version = 1.1; } else if (navigator.productSub >= 20020523) { BX_mozilla_v...
function BX_load(config_file,fromUrl) { text = "Loading Bitflux Editor files...."; BX_innerHTML(document.getElementById("bxe_area"),"<br/><img hspace='5' width='314' height='34' src='./bxe/img/bxe_logo.png'/><br/><span style='font-family: Arial; padding: 5px; background-color: #ffffff'>"+text.replace(/\n/g,"<br/><br/...
function BX_load(config_file){ try { if (navigator.appName != "Netscape" ) { BX_config_setLoadMessage("You need Mozilla or Netscape 7 for this Editor. Get it from <a href='http://mozilla.org'>http://mozilla.org</a>"); return false; } if (navigator.productSub >= 20020826) { BX_mozilla_version = 1.1; } e...
BX_config = document.implementation.createDocument("","",null); BX_config_setLoadMessage("Loading Bitflux Editor files....");
for (var i=0; i < BX_js_files.length; i++) { var scr = document.createElementNS("http:
function BX_load(config_file){ try { if (navigator.appName != "Netscape" ) { BX_config_setLoadMessage("You need Mozilla or Netscape 7 for this Editor. Get it from <a href='http://mozilla.org'>http://mozilla.org</a>"); return false; } if (navigator.productSub >= 20020826) { BX_mozilla_version = 1.1; } e...
BX_config.onload = BX_config_loaded; BX_config.load(config_file); } catch(e) { BX_init_alert(e); }
scr.setAttribute("src",BX_js_files[i]); scr.setAttribute("language","JavaScript"); if (i == BX_js_files.length - 1) { scr.setAttribute('onload', 'try{BX_load2("'+config_file+'",'+fromUrl+')} catch(e) { alert(e)}'); } head.appendChild(scr); }
function BX_load(config_file){ try { if (navigator.appName != "Netscape" ) { BX_config_setLoadMessage("You need Mozilla or Netscape 7 for this Editor. Get it from <a href='http://mozilla.org'>http://mozilla.org</a>"); return false; } if (navigator.productSub >= 20020826) { BX_mozilla_version = 1.1; } e...
function BX_load(config_file,fromUrl) {
function BX_load(config_file,fromUrl,path) {
function BX_load(config_file,fromUrl) { text = "Loading Bitflux Editor files...."; BX_innerHTML(document.getElementById("bxe_area"),"<br/><img hspace='5' width='314' height='34' src='./bxe/img/bxe_logo.png'/><br/><span style='font-family: Arial; padding: 5px; background-color: #ffffff'>"+text.replace(/\n/g,"<br/><br...
BX_innerHTML(document.getElementById("bxe_area"),"<br/><img hspace='5' width='314' height='34' src='./bxe/img/bxe_logo.png'/><br/><span style='font-family: Arial; padding: 5px; background-color: #ffffff'>"+text.replace(/\n/g,"<br/><br/>")+"</span>");
if (! (BX_checkUnsupportedBrowsers())) { return false; } BX_parser = new DOMParser(); BX_ser = new XMLSerializer(); if (!path) { BX_root_dir = "./bxe/"; } else { BX_root_dir = path; } BX_innerHTML(document.getElementById("bxe_area"),"<br/><img hspace='5' width='314' height='34' src='"+BX_root_dir+"img/bxe_logo.png'/><...
function BX_load(config_file,fromUrl) { text = "Loading Bitflux Editor files...."; BX_innerHTML(document.getElementById("bxe_area"),"<br/><img hspace='5' width='314' height='34' src='./bxe/img/bxe_logo.png'/><br/><span style='font-family: Arial; padding: 5px; background-color: #ffffff'>"+text.replace(/\n/g,"<br/><br...
scr.setAttribute("src",BX_js_files[i]);
scr.setAttribute("src",BX_root_dir + BX_js_files[i]);
function BX_load(config_file,fromUrl) { text = "Loading Bitflux Editor files...."; BX_innerHTML(document.getElementById("bxe_area"),"<br/><img hspace='5' width='314' height='34' src='./bxe/img/bxe_logo.png'/><br/><span style='font-family: Arial; padding: 5px; background-color: #ffffff'>"+text.replace(/\n/g,"<br/><br...
var newNode = BX_xml.createElementNS("http: for (i = 0; i < nodeChildren.length; i++) {
var newNode = BX_xml.doc.createElement(newNodeName); for (i = 0; i < nodeChildren.length; i++) {
function BX_node_change(node,newNodeName){ var nodeChildren = node.childNodes; var newNode = BX_xml.createElementNS("http://www.w3.org/1999/xhtml",newNodeName); for (i = 0; i < nodeChildren.length; i++) { newNode.appendChild(nodeChildren[i].cloneNode(1)); } newNode.setAttribute("id","BX_id_"+BX...
newNode.setAttribute("internalid",'yes');
newNode.setAttribute("bxe_internalid",'yes');
function BX_node_change(node,newNodeName){ var nodeChildren = node.childNodes; var newNode = BX_xml.createElementNS("http://www.w3.org/1999/xhtml",newNodeName); for (i = 0; i < nodeChildren.length; i++) { newNode.appendChild(nodeChildren[i].cloneNode(1)); } newNode.setAttribute("id","BX_id_"+BX...
} catch(e) {};
function BX_node_clean_bg() { if (BX_opa_node != null) { var Opa_node = BX_getElementByIdClean(BX_opa_node,document); Opa_node.removeAttribute("bxe_mark"); BX_opa_node = null; }}
Opa_node.style.background = "transparent"; Opa_node.style.removeProperty("background",false);
Opa_node.removeAttribute("bxe_mark");
function BX_node_clean_bg(){ if (BX_opa_node != null) { var Opa_node = BX_getElementByIdClean(BX_opa_node,document); Opa_node.style.background = "transparent"; Opa_node.style.removeProperty("background",false); BX_opa_node = null; }}
function BX_node_insertID(node)
function BX_node_insertID(node) {
function BX_node_insertID(node){ if (node == "[object NodeList]") { node=node.item(0); } node.setAttribute("id",'BX_id_'+BX_id_counter); node.setAttribute("internalid",'yes'); BX_id_counter++; if (BX_elements[node.nodeName] && BX_elements[node.nodeName]["originalName"]){ node.setAttri...
{ if (node == "[object NodeList]") {
if (node == "[object NodeList]") {
function BX_node_insertID(node){ if (node == "[object NodeList]") { node=node.item(0); } node.setAttribute("id",'BX_id_'+BX_id_counter); node.setAttribute("internalid",'yes'); BX_id_counter++; if (BX_elements[node.nodeName] && BX_elements[node.nodeName]["originalName"]){ node.setAttri...
node.setAttribute("internalid",'yes');
node.setAttribute("bxe_internalid",'yes');
function BX_node_insertID(node){ if (node == "[object NodeList]") { node=node.item(0); } node.setAttribute("id",'BX_id_'+BX_id_counter); node.setAttribute("internalid",'yes'); BX_id_counter++; if (BX_elements[node.nodeName] && BX_elements[node.nodeName]["originalName"]){ node.setAttri...
if (BX_elements[node.nodeName] && BX_elements[node.nodeName]["originalName"]){ node.setAttribute("bx_originalname",BX_elements[node.nodeName]["originalName"]);
if (BX_elements[node.nodeName] && BX_elements[node.nodeName]["originalName"]) { node.setAttribute("bxe_originalname",BX_elements[node.nodeName]["originalName"]);
function BX_node_insertID(node){ if (node == "[object NodeList]") { node=node.item(0); } node.setAttribute("id",'BX_id_'+BX_id_counter); node.setAttribute("internalid",'yes'); BX_id_counter++; if (BX_elements[node.nodeName] && BX_elements[node.nodeName]["originalName"]){ node.setAttri...
BX_opa_node=node.getAttribute("id"); try { node.setAttribute("bxe_mark","true"); }
function BX_node_move_down (id) { // var node = BX_getElementByIdClean(id,document); var node = document.getElementById(id); var anchorNode = BX_selection.anchorNode; var anchorOffset = BX_selection.anchorOffset; var next = node.nextSibling; BX_popup_hide(); BX_node_clean_bg(); BX_opa_node=node....
catch(e) {}
function BX_node_move_down (id) { // var node = BX_getElementByIdClean(id,document); var node = document.getElementById(id); var anchorNode = BX_selection.anchorNode; var anchorOffset = BX_selection.anchorOffset; var next = node.nextSibling; BX_popup_hide(); BX_node_clean_bg(); BX_opa_node=node....
BX_range = BX_selection.getRangeAt(0); document.addEventListener("keypress",BX_keypress,false);
function BX_node_move_down (id) { // var node = BX_getElementByIdClean(id,document); var node = document.getElementById(id); var anchorNode = BX_selection.anchorNode; var anchorOffset = BX_selection.anchorOffset; var next = node.nextSibling; BX_popup_hide(); BX_node_clean_bg(); BX_opa_node=node....
BX_opa_node=node.getAttribute("ID"); try{node.style.background="#dddddd";}
BX_opa_node=node.getAttribute("id"); try { node.setAttribute("bxe_mark","true"); }
function BX_node_move_down (id){ // var node = BX_getElementByIdClean(id,document); var node = document.getElementById(id); var anchorNode = BX_selection.anchorNode; var anchorOffset = BX_selection.anchorOffset; var next = node.nextSibling; BX_popup_hide(); BX_node_clean_bg(); BX_opa_node=node.g...
try { node.setAttribute("bxe_mark","true") } catch(e) {}
function BX_node_move_up (id) { // var node = BX_getElementByIdClean(id,document); var node = BX_getElementById(id,document); var anchorNode = BX_selection.anchorNode; var anchorOffset = BX_selection.anchorOffset; var next = node.previousSibling; BX_popup_hide(); BX_node_clean_bg() ; BX_opa_node...
BX_range = BX_selection.getRangeAt(0); document.addEventListener("keypress",BX_keypress,false);
function BX_node_move_up (id) { // var node = BX_getElementByIdClean(id,document); var node = BX_getElementById(id,document); var anchorNode = BX_selection.anchorNode; var anchorOffset = BX_selection.anchorOffset; var next = node.previousSibling; BX_popup_hide(); BX_node_clean_bg() ; BX_opa_node...
var node = document.getElementById(id);
var node = BX_getElementById(id,document);
function BX_node_move_up (id){ // var node = BX_getElementByIdClean(id,document); var node = document.getElementById(id); var anchorNode = BX_selection.anchorNode; var anchorOffset = BX_selection.anchorOffset; var next = node.previousSibling; BX_popup_hide(); BX_node_clean_bg() ; BX_opa_node=nod...
BX_opa_node=node.getAttribute("ID");
BX_opa_node=node.getAttribute("id");
function BX_node_move_up (id){ // var node = BX_getElementByIdClean(id,document); var node = document.getElementById(id); var anchorNode = BX_selection.anchorNode; var anchorOffset = BX_selection.anchorOffset; var next = node.previousSibling; BX_popup_hide(); BX_node_clean_bg() ; BX_opa_node=nod...
try{node.style.background="#dddddd";} catch(e) {}
try { node.setAttribute("bxe_mark","true") } catch(e) {}
function BX_node_move_up (id){ // var node = BX_getElementByIdClean(id,document); var node = document.getElementById(id); var anchorNode = BX_selection.anchorNode; var anchorOffset = BX_selection.anchorOffset; var next = node.previousSibling; BX_popup_hide(); BX_node_clean_bg() ; BX_opa_node=nod...
function BX_onContextMenuImg(e){
function BX_onContextMenuImg(e,event){
function BX_onContextMenuImg(e){ var xref = e; BX_popup_start("Image",0,0); BX_popup_addLine("Copy Image","javascript:BX_copy_copyID('"+xref.id+"');BX_popup_hide()"); BX_popup_addLine("Cut Image","javascript:BX_copy_extractID('"+xref.id+"');BX_popup_hide()");// BX_popup_addLine("Edit Image","javascript:B...
BX_dump("window.setTimeout(BX_updateButtonsDelayed()) in BX_onkeyup");
function BX_onkeyup(e) { switch (e.keyCode) { case e.DOM_VK_UP: case e.DOM_VK_DOWN: case e.DOM_VK_LEFT: case e.DOM_VK_RIGHT: case e.DOM_VK_DELETE: case e.DOM_VK_BACK_SPACE: if (!BX_no_events) { BX_update_buttons = true; window.setTimeout("BX_updateButtonsDelayed()",10);...
BX_update_buttons = true; window.setTimeout("BX_updateButtonsDelayed()",10);
if (!BX_no_events) { BX_update_buttons = true; window.setTimeout("BX_updateButtonsDelayed()",10); var _node = window.getSelection().anchorNode; _node.target = _node; BX_focusSpan(_node); BX_dump("window.setTimeout(BX_updateButtonsDelayed()) in BX_onkeyup"); } e.preventDefault(); e.stopPropagation();
function BX_onkeyup(e){ switch (e.keyCode) { case e.DOM_VK_UP: case e.DOM_VK_DOWN: case e.DOM_VK_LEFT: case e.DOM_VK_RIGHT: case e.DOM_VK_DELETE: case e.DOM_VK_BACK_SPACE: BX_update_buttons = true; window.setTimeout("BX_updateButtonsDelayed()",10); }}
var content = BX_range.toString(); BX_range.extractContents(); var element = BX_xml.createElementNS("http: var frag = BX_range.extractContents(); element.appendChild(frag); var new_node = BX_insertContent(element); BX_range.selectNode(new_node);
var tags = new Array("bold","emphasis","emphasize","subscript","superscript","ulink"); var docFrag = BX_deleteTagsWithName(tags);
function BX_plain(){ BX_get_selection(); BX_undo_save(); var content = BX_range.toString(); BX_range.extractContents(); //create a temporary elemen var element = BX_xml.createElementNS("http://www.w3.org/1999/xhtml","span"); var frag = BX_range.extractContents(); element.appendChild(frag); va...
while (BX_range.startContainer.nodeName=="bold" || BX_range.startContainer.nodeName=="emphasis" || BX_range.startContainer.nodeName=="emphasize" || BX_range.startContainer.nodeName=="ulink" || BX_range.startContainer.nodeName=="subscript" || BX_range.startContainer.nodeName=="superscript" ) { BX_splitNode(); } var bla...
return;
function BX_plain(){ BX_get_selection(); BX_undo_save(); var content = BX_range.toString(); BX_range.extractContents(); //create a temporary elemen var element = BX_xml.createElementNS("http://www.w3.org/1999/xhtml","span"); var frag = BX_range.extractContents(); element.appendChild(frag); va...
BX_no_events = true;
function BX_popup_addTagWithAttributes(tag,attributes,defaults) { BX_popup_hide(); BX_popup_start( tag,0,0); attributes = attributes.replace(/\s+/g,"").split("|"); defaults = defaults.replace(/\s+\|/g,"|").replace(/\|\s+/g,"|").split("|"); var html = "<form name='addtag'>"; html += "<table class=\"usu...
html += "<table class=\"usualBlackTd\">\n";
html += "<table class=\"usual\">\n";
function BX_popup_addTagWithAttributes(tag,attributes,defaults){ BX_popup_hide(); BX_popup_start( tag,0,0); attributes = attributes.replace(/\s+/g,"").split("|"); defaults = defaults.replace(/\s+\|/g,"|").replace(/\|\s+/g,"|").split("|"); var html = "<form name='addtag'>"; html += "<table class=\"usua...
if (BX_range.toString().length > 0) { html += "<td><input type='text' name='content' value='"+BX_range.toString()+"'></td>";
if (BX_range.toString().length > 0) { html += "<td><input type='text' name='content' value='"+BX_range.toString()+"' /></td></tr>"; } else { html += "<td><input type='text' name='content' value='#"+tag+"#' /></td></tr>";
function BX_popup_addTagWithAttributes(tag,attributes,defaults){ BX_popup_hide(); BX_popup_start( tag,0,0); attributes = attributes.replace(/\s+/g,"").split("|"); defaults = defaults.replace(/\s+\|/g,"|").replace(/\|\s+/g,"|").split("|"); var html = "<form name='addtag'>"; html += "<table class=\"usua...
else { html += "<td><input type='text' name='content' value='#"+tag+"#'></td>"; } for (var i = 0; i < attributes.length; i++) {
for (var i = 0; i < attributes.length; i++) {
function BX_popup_addTagWithAttributes(tag,attributes,defaults){ BX_popup_hide(); BX_popup_start( tag,0,0); attributes = attributes.replace(/\s+/g,"").split("|"); defaults = defaults.replace(/\s+\|/g,"|").replace(/\|\s+/g,"|").split("|"); var html = "<form name='addtag'>"; html += "<table class=\"usua...
html += "<td><input type='text' name='"+attributes[i]+"' value='"+defaults[i]+"'></td>";
html += "<td><input type='text' name='"+attributes[i]+"' value='"+defaults[i]+"' /></td></tr>";
function BX_popup_addTagWithAttributes(tag,attributes,defaults){ BX_popup_hide(); BX_popup_start( tag,0,0); attributes = attributes.replace(/\s+/g,"").split("|"); defaults = defaults.replace(/\s+\|/g,"|").replace(/\|\s+/g,"|").split("|"); var html = "<form name='addtag'>"; html += "<table class=\"usua...
if (node.previousSibling) {
var prevnode = node; while (prevnode = prevnode.previousSibling) { if (prevnode.nodeType == 1 || (prevnode.nodeType == 3 && /[^\t\n\r\s]/.test(prevnode.data))) { break;} } if (prevnode && ("nodeType" in prevnode) ) {
function BX_popup_node(id){ var node = BX_getElementByIdClean(id,document); if (BX_elements[node.nodeName]) { BX_popup_start("Element " +BX_elements[node.nodeName]["name"],0,0); } else { BX_popup_start("Element " +node.nodeName,0,0); } if (node.previousSibling) { BX_popup...
if (node.nextSibling) {
function BX_popup_node(id){ var node = BX_getElementByIdClean(id,document); if (BX_elements[node.nodeName]) { BX_popup_start("Element " +BX_elements[node.nodeName]["name"],0,0); } else { BX_popup_start("Element " +node.nodeName,0,0); } if (node.previousSibling) { BX_popup...
BX_popup_addLine("Copy","javascript:BX_copy_copyID('"+id+"');BX_popup_hide()");
function BX_popup_node(id){ var node = BX_getElementByIdClean(id,document); if (BX_elements[node.nodeName]) { BX_popup_start("Element " +BX_elements[node.nodeName]["name"],0,0); } else { BX_popup_start("Element " +node.nodeName,0,0); } if (node.previousSibling) { BX_popup...
/* if (BX_clipboard)
if (BX_clipboard)
function BX_popup_node(id){ var node = BX_getElementByIdClean(id,document); if (BX_elements[node.nodeName]) { BX_popup_start("Element " +BX_elements[node.nodeName]["name"],0,0); } else { BX_popup_start("Element " +node.nodeName,0,0); } if (node.previousSibling) { BX_popup...
*/
function BX_popup_node(id){ var node = BX_getElementByIdClean(id,document); if (BX_elements[node.nodeName]) { BX_popup_start("Element " +BX_elements[node.nodeName]["name"],0,0); } else { BX_popup_start("Element " +node.nodeName,0,0); } if (node.previousSibling) { BX_popup...
button.setAttribute("src","./"+BX_root_dir+"/img/wt_"+gif+".gif");
button.setAttribute("src",BX_root_dir+"/img/wt_"+gif+".gif");
function BX_printButton (gif,width,height,id,title) { var button = document.createElementNS("http://www.w3.org/1999/xhtml","img"); button.setAttribute("border","0"); if (id) { button.setAttribute("id","but_"+id); } if (title) { button.setAttribute("title",title); } else { button.s...
function BX_printButton (gif,width,height,id,title) { var button = document.createElement("img");
function BX_printButton (gif,width,height,id,title) { var button = document.createElementNS("http:
function BX_printButton (gif,width,height,id,title){ var button = document.createElement("img"); button.setAttribute("border","0"); if (id) { button.setAttribute("id","but_"+id); } if (title) { button.setAttribute("title",title); } else { button.setAttribute("title",gi...
if (e.which == 1) {
var bx_span_anchor = BX_find_bitfluxspanNode(BX_selection.anchorNode); var bx_span_offset = BX_find_bitfluxspanNode(BX_selection.focusNode); if (bx_span_anchor != bx_span_offset) { if (bx_span_anchor.compareTreePosition(bx_span_offset) & document.TREE_POSITION_PRECEDING) { BX_selection.extend(bx_span_anchor,0); } els...
function BX_RangeCaptureOnMouseUp(e) { try { if (e.target && BX_elements[e.target.nodeName] && BX_elements[e.target.nodeName]["altMenu"] && BX_find_bitfluxspanNode(e.target)) { eval(BX_elements[e.target.nodeName]["altMenu"]+"(e.target)"); return; } BX_get_selection(); ...
BX_range_length = 0; BX_range_length = BX_range.toString().length;
function BX_RangeCaptureOnMouseUp(e) { try { if (e.target && BX_elements[e.target.nodeName] && BX_elements[e.target.nodeName]["altMenu"] && BX_find_bitfluxspanNode(e.target)) { eval(BX_elements[e.target.nodeName]["altMenu"]+"(e.target)"); return; } BX_get_selection(); ...
var ahref = document.createElement("a");
var ahref = document.createElementNS("http:
function BX_registerButton(tag,gif,width,height,title,tagoptions,tagoptions2){ if (!tagoptions) { tagoptions = 0; } if (!tagoptions2) { tagoptions2 = new Array(); } /* if options is inactive, print the inactive button (ending with _p) */ if (tagoptions & optInactive) { if...
if (tagoptions2["popUp"] == true) { var ahref = document.createElement("a");
if (tagoptions2["popUp"] == true) { var ahref = document.createElementNS("http:
function BX_registerButton(tag,gif,width,height,title,tagoptions,tagoptions2){ if (!tagoptions) { tagoptions = 0; } if (!tagoptions2) { tagoptions2 = new Array(); } /* if options is inactive, print the inactive button (ending with _p) */ if (tagoptions & optInactive) { if...