[Javascript] syntax

Jens Brueckmann jens.brueckmann at gmail.com
Fri Oct 12 03:59:47 CDT 2007


Hi Jan,

your code is somewhat wanting readability and clarity.

Furthermore it would be helpful if you provided us with the exact
error message(s).

However, reformatting shows a couple of errors:

1.
<div style=\'right:18%; top: 0px; right:60px;width: 100px;
position:absolute; font-size:20px;\'>Test</div>

 - The property "right" is twice defined.

2.
<div style=\'left:360px; top:40px; position:absolute;\'
align=\'left\'><u>Text</u><br /><br /><ul><li>text1</li><li>text2</li>
</div>

 - Missing UL end tag

3.

<a href=\'\'onmousedown=\'document.getElementById(\'TestL\').style.visibility=\'hidden\'\'><center>Close</a></center></div>'">

 - Improper nesting of elements CENTER and A
 - No corresponding delimiters for opening quotation marks in: <a href=\'\'

Hope that helps.

Cheers,

jens

-- 
Jens Brueckmann
http://www.yalf.de



More information about the Javascript mailing list