Re: External HTML



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>&nbsp Credits for my wesbite
&nbsp</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.


.



Relevant Pages

  • Re: Doubles and Integers as strings.
    ... "Alex Blekhman" wrote: ... programmers as to the best to way to convert numbers into ... these strings to the console. ... produced and output to the console interspersed with text. ...
    (microsoft.public.vc.language)
  • Re: Searching 40 Million short strings fast
    ... > of search mechanism of that certain website, ... Indexing strings happens to be one of the only (if ... entries of course. ... encoding them using SHA-1, and in fact use a prexfix of the SHA-1 value ...
    (comp.programming)
  • Re: Searching 40 Million short strings fast
    ... I am writing a program that queries a website and extracts certain ... Indexing strings happens to be one of the only (if ... database server for a temporary data collection stage of this program. ... representation, which is often smaller than the data it represents. ...
    (comp.programming)
  • Cryptographic protocols, again
    ... The website and I agree on some publicly known cryptographic algorithm. ... To roll the dice, I secretly choose a key, and encrypt thirty-six phrases: ... produces thirty-six random-looking strings of the same length. ... without of course revealing my secret key. ...
    (rec.games.backgammon)
  • Re: convert outputs to string,help needed!
    ... Alex wrote: ... > i have many outputs (syms) from one function and these outputs i ... > have to convert into strings. ... > char and num2str is the best? ...
    (comp.soft-sys.matlab)

Quantcast