Add these code into HTML/JavaScript :
<p align="center"><script language="JavaScript">
<!--
var r_text = new Array ();
r_text[0] = "1st text";
r_text[1] = "2nd text";
r_text[2] = "3rd text";
r_text[3] = "4th text";
r_text[4] = "5th text";
r_text[5] = "6th text";
var i = Math.floor(6*Math.random())
document.write(r_text[i]);
//-->
</script></p>
- You can change the blue text with your own text.
- You must change the green text as same as r_text[] rows.
- You can add r_text[6] ,etc.
Tidak ada komentar:
Posting Komentar
Harap tinggalkan komentar jika terdapat tautan yang rusak atau bertanya seputar artikel ini!