Here is the program, it is computationally expensive so it may take a few seconds to load.
Te code:
Expand|Select|Wrap|Line Numbers
- <html>
- <body>
- //1. Draws the down marquee
- <marquee direction = "down" width = 45 height = 700 vspace="2" hspace="2" style="position:absolute; right: 2px; background: green; font-family:arial">
- <script type="text/javascript">
- for (i = 39500; i <= 40000; i++)
- {
- document.write(String.fromCharCode(i).fontcolor("Blue").fontsize(16) );
- document.write("<br />");
- }
- </script>
- </marquee>
- //2. Draws the right marquee
- <marquee direction = "right" width = 900 style="position:relative; left: 60px; background: green; font-family:arial">
- <script type="text/javascript">
- for (i = 39500; i <= 40000; i++)
- {
- document.write(String.fromCharCode(i).fontcolor("Blue").fontsize(16) );
- }
- </script>
- </marquee>
- //3. Draws the up marquee the one giving me problems its border usurps the //window. Change color for illustartion
- <marquee direction="up" " " vspace="5" hspace="5" border-width: 3px align="left" width="45" height="500" style="font-size:12px;color:#000000;font-family:verdana;">
- <script type="text/javascript">
- for (i = 39500; i <= 40000; i++)
- {
- document.write(String.fromCharCode(i).fontcolor("Blue").fontsize(16) );
- document.write("<br />");
- }
- </script>
- </marquee>
- <marquee direction = "left" width = 900 height = 45 align = "right" scrollamount = 5 background: green;
- style= "background: red; border = 0; font-family:arial">
- <script type="text/javascript">
- for (i = 39500; i <= 40000; i++)
- {
- document.write(String.fromCharCode(i).fontcolor("Blue").fontsize(16) );
- }
- </script>
- </marquee>
- <p align=center>Explanation:</p>
- <p align=center>This is a marquee character loop starts with i=0.</p>
- </body>
- </html>