Hiya
I have a small question, I saw this piece of code somewhere (it's for
creating a customized context menu) and I was wondering: Why is it
that the STYLE and SCRIPT-tags are broken up into parts? I hope
someone can answer my question, thanks! Sharon
html+='<TABLE STYLE="border:1 pt solid #808080" BGCOLOR="#CCCCC C"
WIDTH="140" HEIGHT="220" CELLPADDING="0" CELLSPACING="1" >';
html+='<ST'+'YL E TYPE="text/css">\n';
html+='a:link {text-decoration:none ;font-family:Arial;fo nt-size:8pt;}\n';
html+='a:visite d {text-decoration:none ;font-family:Arial;fo nt-size:8pt;}\n';
html+='td {font-size:8pt;}\n';
html+='</ST'+'YLE>\n';
html+='<SC'+'RI PT LANGUAGE="JavaS cript">\n';
html+='\n<'+'!--\n';
html+='window.o nerror=null;\n' ;
html+='/'+' -'+'->\n';
html+='</'+'SCRIPT>\n';
html+='<TR><TD STYLE="border:1 pt solid #CCCCCC"
ONMOUSEOVER="th is.style.backgr ound=\'#CFD6E8\ ';this.style.bo rder=\'1pt
solid #737B92\';" ONMOUSEOUT="thi s.style.backgro und=\'#CCCCCC\' ;this.style.bor der=\'1pt
solid #CCCCCC\';" ONCLICK="window .history.go(-1);"> Filt er op:'+
Value + '</TD></TR>';
html+='</TABLE>';
I have a small question, I saw this piece of code somewhere (it's for
creating a customized context menu) and I was wondering: Why is it
that the STYLE and SCRIPT-tags are broken up into parts? I hope
someone can answer my question, thanks! Sharon
html+='<TABLE STYLE="border:1 pt solid #808080" BGCOLOR="#CCCCC C"
WIDTH="140" HEIGHT="220" CELLPADDING="0" CELLSPACING="1" >';
html+='<ST'+'YL E TYPE="text/css">\n';
html+='a:link {text-decoration:none ;font-family:Arial;fo nt-size:8pt;}\n';
html+='a:visite d {text-decoration:none ;font-family:Arial;fo nt-size:8pt;}\n';
html+='td {font-size:8pt;}\n';
html+='</ST'+'YLE>\n';
html+='<SC'+'RI PT LANGUAGE="JavaS cript">\n';
html+='\n<'+'!--\n';
html+='window.o nerror=null;\n' ;
html+='/'+' -'+'->\n';
html+='</'+'SCRIPT>\n';
html+='<TR><TD STYLE="border:1 pt solid #CCCCCC"
ONMOUSEOVER="th is.style.backgr ound=\'#CFD6E8\ ';this.style.bo rder=\'1pt
solid #737B92\';" ONMOUSEOUT="thi s.style.backgro und=\'#CCCCCC\' ;this.style.bor der=\'1pt
solid #CCCCCC\';" ONCLICK="window .history.go(-1);"> Filt er op:'+
Value + '</TD></TR>';
html+='</TABLE>';
Comment