Hi. Thank you for your answers.
Let me give you, however, some specs:
In the head of an ASPX page I have a Java script to which I have to pass
some strings - it will build an array and make them scroll vertically along
the container (screen), as the credits in a movie.
For instance, I have:
my_msg[0] = '<div align="center"><u>  Credits for my wesbite
 </u></div>';
and
my_msg[1] = '<div align="center"><a>Website name here</a> is an example
website written by Alex to illustrate the principles of design,
specification, and implementation of a content-based website in ASP.NET.
This website is a three-tiered solution (Presentation Layer, Business Layer,
and the Data Services Layer).</div>';
and so on. I even have one of the messages which shows a table, like this:
my_msg[9] = '<div align="center"><table cellpadding=2 cellspacing=2 border=1
bordercolor=deepskyblue bgcolor=#000066 style="COLOR: lightskyblue;
FONT-FAMILY: Arial"><tr align=center><td colspan=2><a>MyWebsite</a> uses the
following technologies:</td></tr><tr align=center><td><img
src="/aspnetprojects/vsnet/MyWebsite/WebModules/FileManager/Images/html.gif"></td><td>HTML</td></tr><tr
align=center><td><img
src="/aspnetprojects/vsnet/MyWebsite/WebModules/FileManager/Images/html.gif"></td><td>DHTML</td></tr><tr
align=center><td><img
src="/aspnetprojects/vsnet/MyWebsite/WebModules/FileManager/Images/xml.gif"></td><td>XML</td></tr><tr
align=center><td><img
src="/aspnetprojects/vsnet/MyWebsite/WebModules/FileManager/Images/css.gif"></td><td>CSS</td></tr><tr
align=center><td><img
src="/aspnetprojects/vsnet/MyWebsite/WebModules/FileManager/Images/xls.gif"></td><td>XSLT</td></tr><tr
align=center><td><img
src="/aspnetprojects/vsnet/MyWebsite/WebModules/FileManager/Images/aspx.gif"></td><td>ASP.NET</td></tr><tr
align=center><td><img
src="/aspnetprojects/vsnet/MyWebsite/WebModules/FileManager/Images/js.gif"></td><td>JavaScript</td></tr><tr
align=center><td><img
src="/aspnetprojects/vsnet/MyWebsite/WebModules/FileManager/Images/vbs.gif"></td><td>VBScript</td></tr></table></div>';
All this is one formidable string.... It'is not nice, obviously.
As you can see, the format is:
my_msg[counter] = '<div align="center">My String</div>';
I tried to put "My String" in some separate documents and call them from
there, here, in this JScript. I couldn't make it. Either it gives me errors,
either it does not show anything.
This is the problem I'm trying to solve.... Any ideas ?
Thanks a lot !
Alex.