forked from james/femboyfinancial.jp
added date to marquee text
This commit is contained in:
parent
79c89cf7ec
commit
071428bcf5
@ -2,7 +2,7 @@ var marq = document.querySelector('marquee');
|
|||||||
var timeStr, stockPriceDelta, stockPriceDirection;
|
var timeStr, stockPriceDelta, stockPriceDirection;
|
||||||
var i = 0;
|
var i = 0;
|
||||||
function updateTimestamp() {
|
function updateTimestamp() {
|
||||||
timeStr = new Date().toLocaleTimeString();
|
timeStr = new Date().toLocaleString();
|
||||||
}
|
}
|
||||||
function updateStockPrice() {
|
function updateStockPrice() {
|
||||||
stockPriceDelta = Math.floor(Math.random() * 10000) / 100;
|
stockPriceDelta = Math.floor(Math.random() * 10000) / 100;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user