|
I am trying to insert this popover DHTML code (see end of post) in my blogger template. (it works fine on normal webserver)
I get this error:
"Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Open quote is expected for attribute "{1}" associated with an element type "type"."
Here is the code:
<SCRIPT language='JavaScript' type=text/javascript>
<!--
document.write("<table width='510' height='317' border='0' cellspacing='0' cellpadding='1' style='display:none;position:absolute;top:10px;left:10px;empty-cells:hide' id='v1771203068207781v181'>");document.write("<tr><td style='background: #006600'>");document.write("<table width='100%' height='100%' border='0' cellspacing='0' cellpadding='0'>");document.write("<tr height='1'><td>");document.write("<table width='100%' border='0' cellspacing='1' cellpadding='0' style='background: #FFFFFF; color: #006600; cursor: default'><tr style='font-family: Arial, sans-serif; font-size: 10pt; font-weight: bold'><td>$25 Gift Coupon");document.write("<td style='width: 20px; cursor: pointer;' onclick='javascript:v1771203068207781v183();'>-");document.write("<td style='width: 20px; cursor: pointer;' onclick='javascript:v1771203068207781v184();'>X");document.write("</table>");document.write("<tr><td>");document.write("<table width='100%' height='100%' id='v1771203068207781v185' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>");document.write("<tr>");document.write("<td>");document.write("<p align=\"center\"> </p>\n<p align=\"center\">\n<a href=\"http://www.reviewk.com/seoelite/buySEOElite.php\" target=\"_blank\"><img alt=\"SEO Elite Discount Coupon\" src=\"http://www.reviewk.com/seoelite/images/25-dollar-gift-rebate-seoelite.jpg\" height=\"217\" width=\"487\"></a></p>\n<p align=\"center\"><font color=\"#008000\"><font face=\"Verdana\"><strong>This is the Best Rebate/Discount Deal ever given by anyone \non SEOElite! Make the most of it. <br><font size=\"2\">But <font color=\"#ff0000\"><u>you will have to hurry</u></font>, \nas this offer is valid only for a limited time.</font> \n </strong> \n</font> \n</font></p>");document.write("<tr style='height: 10px'><td style='text-align: center'><INPUT type='button' value='Close' style='cursor: pointer' onclick='javascript:v1771203068207781v184();'>");document.write("</table></table></table>"); if ( document.getElementById ) v1771203068207781v186 = document.getElementById ( "v1771203068207781v181" ); else v1771203068207781v186 = document.all ["v1771203068207781v181"]; var v1771203068207781v187 = 10000; var v1771203068207781v188 = false; function v1771203068207781v183 ( ) { if ( document.getElementById ) v189 = document.getElementById ( "v1771203068207781v185" ); else v189 = document.all ["v1771203068207781v185"]; if ( v189.style.display == "none" ) { v189.style.display = ""; v1771203068207781v186.style.height = "317px"; } else { v189.style.display = "none"; v1771203068207781v186.style.height = "20px"; } } function v1771203068207781v184 ( ) { v1771203068207781v186.style.display = "none"; v1771203068207781v188 = true; } var v1771203068207781v175, v1771203068207781v176; var v1771203068207781v190, v1771203068207781v191; function v1771203068207781v192 ( ) { return ( ( window.pageXOffset ) ? window.pageXOffset : document.body.scrollLeft ) + v1771203068207781v190; } function v1771203068207781v193 ( ) { return ( ( window.pageYOffset ) ? window.pageYOffset : document.body.scrollTop ) + v1771203068207781v191; } function v1771203068207781v194 ( ) { var v195 = 500; v1771203068207781v186.style.top = v1771203068207781v193 ( ); v1771203068207781v186.style.left = v1771203068207781v192 ( ); if ( ( v1771203068207781v187 -= v195 ) <= 0 ) v1771203068207781v196 ( ); else setTimeout ( "v1771203068207781v194 ( );", v195 ); } function v1771203068207781v197 ( v198 ) { if ( v1771203068207781v190 != v1771203068207781v175 || v1771203068207781v191 != v1771203068207781v176 ) { if ( v1771203068207781v190 != v1771203068207781v175 ) if ( Math.abs ( v1771203068207781v190 - v1771203068207781v175 ) <= v1771203068207781v199 ) v1771203068207781v190 = v1771203068207781v175; else if ( v1771203068207781v190 < v1771203068207781v175 ) v1771203068207781v190 += v1771203068207781v199; else v1771203068207781v190 -= v1771203068207781v199; if ( v1771203068207781v191 != v1771203068207781v176 ) if ( Math.abs ( v1771203068207781v191 - v1771203068207781v176 ) <= v1771203068207781v199 ) v1771203068207781v191 = v1771203068207781v176; else if ( v1771203068207781v191 < v1771203068207781v176 ) v1771203068207781v191 += v1771203068207781v199; else v1771203068207781v191 -= v1771203068207781v199; v1771203068207781v186.style.top = v1771203068207781v193 ( ); v1771203068207781v186.style.left = v1771203068207781v192 ( ); setTimeout ( "v1771203068207781v197 ( " + v198 + " );", 20 ); } else if ( v198 ) v1771203068207781v194 ( ); else v1771203068207781v186.style.display = "none"; } function v1771203068207781v200 ( v201, v202 ) { v1771203068207781v175 = v201; v1771203068207781v176 = v202; v1771203068207781v190 = v201; v1771203068207781v191 = v202; var v205 = 0, v206 = 0; v205 = -v201 -510; v206 = -v202 -317; if ( v205 != 0 && v206 != 0 ) if ( Math.abs ( v205 ) < Math.abs ( v206 ) ) v206 = v206 / Math.abs ( v206 ) * Math.abs ( v205 ); else v205 = v205 / Math.abs ( v205 ) * Math.abs ( v206 ); v1771203068207781v190 += v205; v1771203068207781v191 += v206; v1771203068207781v186.style.top = v1771203068207781v193 ( ); v1771203068207781v186.style.left = v1771203068207781v192 ( ); v1771203068207781v186.style.display = ""; v1771203068207781v197 ( true ); } function v1771203068207781v196 ( ) { if ( v1771203068207781v188 ) return; v1771203068207781v199 = 1.4142271248762552; var v205 = 0, v206 = 0; var v201 = v1771203068207781v175, v202 = v1771203068207781v176; v205 = ( ( window.innerWidth ) ? window.innerWidth : document.body.clientWidth ) - v201; v206 = -v202 -317; if ( v205 != 0 && v206 != 0 ) if ( Math.abs ( v205 ) < Math.abs ( v206 ) ) v206 = v206 / Math.abs ( v206 ) * Math.abs ( v205 ); else v205 = v205 / Math.abs ( v205 ) * Math.abs ( v206 ); v1771203068207781v175 += v205; v1771203068207781v176 += v206; v1771203068207781v186.style.top = v1771203068207781v193 ( ); v1771203068207781v186.style.left = v1771203068207781v192 ( ); v1771203068207781v186.style.display = ""; v1771203068207781v197 ( false ); } var v1771203068207781v199 = 16.970725498515062; function v207 ( v208 ) { var v209 = v208.length; var v210 = document.cookie; var v211 = v210.length; var v179, v212; var v213; v179 = 0; while ( v179 < v211 ) { v212 = v179 + v209; if ( v210.substring ( v179, v212 ) == v208 ) { v214 = v210.indexOf ( ";", v212 ); if ( v214 == -1 ) v214 = v210.length; return unescape ( v210.substring ( v212 + 1, v214 ) ); } v179++; } return null; } if ( v207 ( "v1771203068207781" ) == null ) { var v215 = new Date ( ); var v216 = v215.getTime ( ) + 86400000; v215.setTime ( v216 ); document.cookie = "v1771203068207781=; expires=" + v215.toGMTString(); setTimeout ( "v1771203068207781v200 ( 180, 100, 16.970725498515062 );", 3000 ); } var v1771203068207781v217, v1771203068207781v218; function v1771203068207781v219 ( v220 ) { v221 = ( document.all ) ? event.clientX : v220.clientX; v222 = ( document.all ) ? event.clientY : v220.clientY; v1771203068207781v190 += v221 - v1771203068207781v217; v1771203068207781v191 += v222 - v1771203068207781v218; v1771203068207781v217 = v221; v1771203068207781v218 = v222; v1771203068207781v186.style.top = v1771203068207781v193 ( ); v1771203068207781v186.style.left = v1771203068207781v192 ( ); } function v1771203068207781v223 ( ) { } function v1771203068207781v224 ( ) { document.onmousemove = v1771203068207781v223; document.onmouseup = v1771203068207781v223; } function v1771203068207781v225 ( v220 ) { v1771203068207781v217 = ( document.all ) ? event.clientX : v220.clientX; v1771203068207781v218 = ( document.all ) ? event.clientY : v220.clientY; document.onmousemove = v1771203068207781v219; document.onmouseup = v1771203068207781v224; } v1771203068207781v186.onmousedown = v1771203068207781v225;
//-->
</SCRIPT>
|
|
|
|
|
|
|
// |