Re: Refreshing text question!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes I can help you there..

There is a technique you can use which is actually more "browser" friendly then the Javascript alternative you mentioned..

You can use the META tags in your page as such:


<META HTTP-EQUIV="refresh" CONTENT="10">

will refresh page in 10 seconds


<META HTTP-EQUIV="refresh" CONTENT="10;url=http://www.operation-scifi.com";>

will reload page in 10 seconds and direct browser to one of my first highschool webpages..





For a quick reference I found this via the I'm Feeling Lucky of Google: http://webdesign.about.com/cs/metatags/a/aa080300a.htm

Otherwise the good ole' W3C at www.w3c.org will have some great doco's on it too



enjoy ;-)




---oOo--- Allowing users to execute CGI scripts in any directory should only be considered if: ... a.. You have no users, and nobody ever visits your server. ... Extracted Quote: Security Tips - Apache HTTP Server ---oOo--- ------oOo---------------oOo------ Julien Bonastre [The_RadiX] The-Spectrum Network CEO ABN: 64 235 749 494 julien@xxxxxxxxxxxxxxxx www.the-spectrum.org ------oOo---------------oOo------ ----- Original Message ----- From: "JeRRy" <jusa_98@xxxxxxxxx>
To: <php-db@xxxxxxxxxxxxx>
Sent: Wednesday, January 18, 2006 11:51 AM
Subject:  Refreshing text question!


Hi,

I did a little bit of script that refreshes a text slogan every 5 or so seconds with a new slogans and wraps to each slogan, I had about 5, and loops over and over again. This was done WITHOUT the need of refreshing the page. I think I used JavaScript but not 100% sure of this. Has anyone seen this before I seen a site use it?

I can't recall the site I did it for, I know I have done it before. I need the code again without needing to re-do it all again as it took me a while to configure it last time.

 The site is written in PHP and uses MySQL.

 Any help would be mostly appreciated.

 J


---------------------------------
Do you Yahoo!?
 Messenger 7.0: Free worldwide PC to PC calls


--------------------------------------------------------------------------------


Incoming mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.148 / Virus Database: 267.14.20 - Release Date: 17/01/2006




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.375 / Virus Database: 267.14.20/233 - Release Date: 18/01/2006

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux