Page 1 of 1

HELP please. How to add extra space in a text Jscrip ?

Posted: Fri Oct 29, 2010 11:33 am
by MP3
I'm not a guru JAVAscript tech
can somebody help me adding extra blank space between the words appearing in the scrolling marquee?

I used the <pre> tag , but I lost control over the font size and type.

Code: Select all

<div class="marquee" id="mycrawler">
<script language="JavaScript">

TargetDate = "08/31/2010 0:00 AM";
BackColor = "withe";
ForeColor = "red";
CountActive = true;
CountStepper = +1;
LeadingZero = false;
DisplayFormat =  "  <pre>    EFFICIENZIOMETRO ASREM           Sono  passati : %%D%% giorni, %%H%% ore, %%M%% minuti, e %%S%% secondi, da quando la FOTOCOPIATRICE del Pronto Soccorso e' GUASTA e non e' stata ancora riparata !!!  Per non parlare degli ASCENSORI.      </pre> "  ;
</script>

<span 
style="font-family:arial;font-size:16px; bold ">
<script language="JavaScript" src="http://prontosoccorsoisernia.site11.com/countdown.js"></script>
</span>

Thank you

Franky

P.S. : part of this code comes from this http://www.dynamicdrive.com/dynamicinde ... /index.htm script.

Re: HELP please. How to add extra space in a text Jscrip ?

Posted: Fri Oct 29, 2010 12:21 pm
by BaconFries
Did you try this?? &nbsp; or just &nbsp;

Re: HELP please. How to add extra space in a text Jscrip ?

Posted: Fri Oct 29, 2010 4:28 pm
by MP3
BaconFries wrote:Did you try this?? &nbsp; or just
It doesn't seem to work. :cry:

How to use these in the script, both (&nbsp;) or each of them ?

What about semicolon , are they needed ?

Franky