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

In this section you can share self-made extensions with other users of WYSIWYG Web Builder.
There is a dedicated section for commercial extensions.
Post Reply
MP3

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

Post 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.
User avatar
BaconFries
 
 
Posts: 5981
Joined: Thu Aug 16, 2007 7:32 pm

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

Post by BaconFries »

Did you try this?? &nbsp; or just &nbsp;
MP3

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

Post 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
Post Reply