codetoad.com
��ASP Shopping Cart,�Forum�&�BBS
��- all for $20 from CodeToad Plus!
��Home�||�ASP�|�ASP.Net�|�C++/C#�|�DHTML�|�HTML�|�Java�|�Javascript�|�Perl�|�VB�|�XML�||�CodeToad�Plus!�||�Forums�||�RAM
Search Site:
Search Forums:
A little help �tivinm at 18:54 on Monday, September 15, 2008

Hi All,

I'm trying to write a small program and I don't really understand why it's not working, please help ....

I know that the problem with the document.write line, but where ? ...

<HTML>


<BODY>
<SCRIPT language=JavaScript>
var a = "<table id='b";
var b = "' width='42' height='16' bgcolor='#00";
var c = "' style='position:absolute; top:48; left:";
var d = "'><td></td></table>";
for ( int i = 0 ; e < 8 ; e++ ){
document.write(a + e + b + "FF00" + c + (29 + (46 * e)) + d);
}
for ( int i = 8 , int j =0 ; i < 16 && j < 8 ; j++ , i++ ){
document.write(a + i + b + "00FF" + c + (29 + (46 * j)) + d);
}
for ( int i = 16 , int j =0; i < 24 && j < 8 ; j++ , i++ ){
document.write(a + i + b + "FF00" + c + (29 + (46 * j)) + d);
}
</SCRIPT>
</BODY>
</HTML>






Thanks a lot
Michael








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
�� Scrolling Javascript Product Slider
�� Re: TO SEND Text message or URL through Clickatell
�� A little help
�� Re: Storing data from HTML to Excel or TXT
�� Re: Parsing, fish up all between <td> and </td> ... without possibility of confusion.
�� Technical problem with Visual Studio C++
�� Put confirm do you really on button instead of link
�� How Can i Create a list[Validation] in embedded Excel Object in JavaScript ?
�� Re: searching for gd::graph guide


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


� Copyright codetoad.com 2001-2008