Re: Refreshing text question!

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

 



Hi,
   
  No, no that is not what i am after, I know how to do that but it's not what I want.
   
  I wrote some code a year or so ago with words, they refreshed every 5 or so seconds WITHOUT REFRESHING THE PAGE.  It was written in JavaScript as i can remember.  But I can't find where I did it. I want to have the code or a similar one without the need to re-write it.  
   
  The code does not require the page refreshing at all, just loops in a script and outputs.  I might have to do some web surfing on it, pity I can't remeber where it is.
   
  If anyone could help that would be great.
   
  It's for a PHP site using MySQL.  I am considering having the slogans in a database this time rather than just a text file.
   
  J

Julien Bonastre <julien@xxxxxxxxxxxxxxxx> wrote:
  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:


  

will refresh page in 10 seconds


  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" 
To: 

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

  


		
---------------------------------
Do you Yahoo!?
  Find a local business fast with Yahoo! Local Search

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

  Powered by Linux