1
ivistar
Help, I need a script that can do this
  • 2009/1/2 4:51

  • ivistar

  • Just popping in

  • Posts: 28

  • Since: 2008/12/14


Greetings. I need your wise help.
Does anyone know some java script or module that could help me implement some headlines that will be changing automatically, like the ones on this page:http://mundo-gotico.com/portada/ (at the upper part there is a frame that changes 10 headlines)

2
anderssk
Re: Help, I need a script that can do this
  • 2009/1/2 7:21

  • anderssk

  • Quite a regular

  • Posts: 335

  • Since: 2006/3/21


Try this i a custom block. (HTML)



<SCRIPT>

quote1"Some text 1.";
quote2"Some text 2.";
quote3"Some text 3.";
quote4"Some text 4.";
quote5"Some text 5.";
quote6"Some text 6.";
quote7"Some text 7.";
quote8"Some text 8.";
quote9"Some text 9.";
quote10"Some text 10.";

var 
ran_number Math.floor(Math.random()*10+1)
document.write(eval("quote"+ran_number));
</
SCRIPT>

Login

Who's Online

202 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 202


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits