Jump to content

Countdown timer tweaking plz

Fredrikmikael
Go to solution Solved by Fredrikmikael,

 

<center>

 <script language="JavaScript">
   TargetDate = "02/24/2014 5:00 AM";
   BackColor = "white";
   ForeColor = "black";
   CountActive = true;
   CountStepper = -1;
   LeadingZero = true;
   DisplayFormat ="%%D%% <b>d %%H%% h %%M%% m %%S%% s</b>";
     </script>
        <script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js"></script>
</center>
</div>
 
 
it i centered now but how do i change the Font size ? and perhaps the font ?

 

i found out how to do it

 

<center>
<span style="font-family:verdana;font-size:25px">
 <script language="JavaScript">
   TargetDate = "02/24/2014 5:00 AM";
   BackColor = "";
   ForeColor = "white";
   CountActive = true;
   CountStepper = -1;
   LeadingZero = true;
   DisplayFormat ="%%D%% <b>d %%H%% h %%M%% m %%S%% s</b>";
   FinishMessage = "NO E DET LAAN PÅ G!!";
     </script>
        <script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js"></script>
</center>

it is this line 

<span style="font-family:verdana;font-size:25px">

Hello i found a javascript countdown timer

 

<div
   style="
      background-color:white;
      top: 150;
      position: center;
      z-index: 1;
      visibility: show;">
  
  <marquee behavior="scroll" direction="left">
 <script language="JavaScript">
   TargetDate = "02/24/2014 5:00 AM";
   BackColor = "white";
   ForeColor = "black";
   CountActive = true;
   CountStepper = -1;
   LeadingZero = true;
   DisplayFormat ="%%D%% <b>d %%H%% h %%M%% m %%S%% s</b>";
     </script>
        <script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js"></script>
</marquee>
</div>
 
 
how can i make it stop scrolling to the left and just stand still in the middle ? and maybe a bigger text
 
you can check it out on this site here
 
 
 
---
i know it is this code right here

<marquee behavior="scroll" direction="left">

but what should say instead for "scroll" and "left" ?

System

Spoiler

CPU: Intel Core i7 5820K @4.5GHz - 1.230v  RAM: HyperX Fury DDR4 4x4GB 2666MHz  MB: MSI X99S SLI PLUS  CASE: NZXT H440  CPU-COOLER: Fractal Design Kelvin S24  PSU: Corsair RM1000W w/ white sleeved cable kit  GPU: MSI GeForce RTX 2070 ARMOR  MONITOR: LG 27GL850-B  STORAGE: Samsung 970 EVO 1TB M.2, Samsung 840 EVO 256GB,  WD Red 3TB

 

 

 

 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Just <marquee> you don't have to have "scroll" and "left" i believe. Just trie some stuff out

[CPU: AMD FX-6100 @3.3GHz ] [MoBo: Asrock 970 Extreme4] [GPU: Gigabyte 770 OC ] [RAM: 8GB] [sSD: 64gb for OS] [PSU: 550Watt Be Quiet!] [HDD: 1TB] [CPU cooler: Be Quiet! Shadow Rock Pro Sr1]  -Did i solve your question/problem? Please click 'Marked Solved'-

Link to comment
Share on other sites

Link to post
Share on other sites

 

Hello i found a javascript countdown timer

 

<div
   style="
      background-color:white;
      top: 150;
      position: center;
      z-index: 1;
      visibility: show;">
  
  <marquee behavior="scroll" direction="left">
 <script language="JavaScript">
   TargetDate = "02/24/2014 5:00 AM";
   BackColor = "white";
   ForeColor = "black";
   CountActive = true;
   CountStepper = -1;
   LeadingZero = true;
   DisplayFormat ="%%D%% <b>d %%H%% h %%M%% m %%S%% s</b>";
     </script>
        <script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js"></script>
</marquee>
</div>
 
 
how can i make it stop scrolling to the left and just stand still in the middle ? and maybe a bigger text
 
you can check it out on this site here

 

 
 
---

i know it is this code right here

<marquee behavior="scroll" direction="left">

but what should say instead for "scroll" and "left" ?

 

 

Just get rid of the behavior and change the display format to adjust the font size if I'm not mistaken.

Heaven's Society - Like Anime? Check us Out Here!

 

-------------------------------------------------------------------------------------------------------------------------

 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

<center>

 <script language="JavaScript">
   TargetDate = "02/24/2014 5:00 AM";
   BackColor = "white";
   ForeColor = "black";
   CountActive = true;
   CountStepper = -1;
   LeadingZero = true;
   DisplayFormat ="%%D%% <b>d %%H%% h %%M%% m %%S%% s</b>";
     </script>
        <script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js"></script>
</center>
</div>
 
 
it i centered now but how do i change the Font size ? and perhaps the font ?

System

Spoiler

CPU: Intel Core i7 5820K @4.5GHz - 1.230v  RAM: HyperX Fury DDR4 4x4GB 2666MHz  MB: MSI X99S SLI PLUS  CASE: NZXT H440  CPU-COOLER: Fractal Design Kelvin S24  PSU: Corsair RM1000W w/ white sleeved cable kit  GPU: MSI GeForce RTX 2070 ARMOR  MONITOR: LG 27GL850-B  STORAGE: Samsung 970 EVO 1TB M.2, Samsung 840 EVO 256GB,  WD Red 3TB

 

 

 

 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

 

<center>

 <script language="JavaScript">
   TargetDate = "02/24/2014 5:00 AM";
   BackColor = "white";
   ForeColor = "black";
   CountActive = true;
   CountStepper = -1;
   LeadingZero = true;
   DisplayFormat ="%%D%% <b>d %%H%% h %%M%% m %%S%% s</b>";
     </script>
        <script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js"></script>
</center>
</div>
 
 
it i centered now but how do i change the Font size ? and perhaps the font ?

 

i found out how to do it

 

<center>
<span style="font-family:verdana;font-size:25px">
 <script language="JavaScript">
   TargetDate = "02/24/2014 5:00 AM";
   BackColor = "";
   ForeColor = "white";
   CountActive = true;
   CountStepper = -1;
   LeadingZero = true;
   DisplayFormat ="%%D%% <b>d %%H%% h %%M%% m %%S%% s</b>";
   FinishMessage = "NO E DET LAAN PÅ G!!";
     </script>
        <script language="JavaScript" src="http://scripts.hashemian.com/js/countdown.js"></script>
</center>

it is this line 

<span style="font-family:verdana;font-size:25px">

System

Spoiler

CPU: Intel Core i7 5820K @4.5GHz - 1.230v  RAM: HyperX Fury DDR4 4x4GB 2666MHz  MB: MSI X99S SLI PLUS  CASE: NZXT H440  CPU-COOLER: Fractal Design Kelvin S24  PSU: Corsair RM1000W w/ white sleeved cable kit  GPU: MSI GeForce RTX 2070 ARMOR  MONITOR: LG 27GL850-B  STORAGE: Samsung 970 EVO 1TB M.2, Samsung 840 EVO 256GB,  WD Red 3TB

 

 

 

 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×