hello fmsoftware :)
i want to ask
how to give/add css on javascript code in order to be like this
you can see this image,
i have code when reload/refresh page, text always change (random text)
this code about random text, but this is the basic code, still no css code:)
https://i.imgur.com/7ErplEX.png
source: http://duelacademy.net/
please help me admin fmsoftware,
im very appreciate, thanks a lot
i want to ask
how to give/add css on javascript code in order to be like this
you can see this image,
i have code when reload/refresh page, text always change (random text)
this code about random text, but this is the basic code, still no css code:)
- Code:
function text() {
};
text = new text();
number = 0;
// textArray
text[number++] = "Real success is determined by two factors. First is faith, and second is action."
text[number++] = "Keep going and never quit! The champion is never quit."
text[number++] = "Make a history in your life, not just a story."
text[number++] = "If you want to get the best, follow the best person."
text[number++] = "Delay does not make us deserve to be success."
// keep adding items here...
increment = Math.floor(Math.random() * number);
document.write(text[increment]);
//-->
https://i.imgur.com/7ErplEX.png
source: http://duelacademy.net/
please help me admin fmsoftware,
im very appreciate, thanks a lot
Last edited by Kazekage on Wed Aug 14, 2013 5:05 am; edited 1 time in total