How to show random text that changes every 2 secs?

Links for php scripts

Moderators: macek, egami, gesf

monkchild
New php-forum User
New php-forum User
Posts: 1
Joined: Sat Jan 07, 2012 2:24 pm

How to show random text that changes every 2 secs?

Postby monkchild » Sat Jan 07, 2012 2:26 pm

Hi,

Sorry for the ignorance of this question, but I'm looking to show a selection of random quotes, and I want them to stay visible for 2-3 seconds each, then show the next one. Is this possible and is there an easy script out there ? Thanks in advance.

jorgepinho
New php-forum User
New php-forum User
Posts: 101
Joined: Tue Jul 05, 2011 5:41 am
Location: Portugal
Contact:

Re: How to show random text that changes every 2 secs?

Postby jorgepinho » Mon Jan 09, 2012 4:36 am

Hi,

You can use javascript with setTimeout(), then you can refresh a page or call some ajax...


Return to “PHP Scripts”

Who is online

Users browsing this forum: No registered users and 1 guest