Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Auto Refresh


13 replies to this topic

#1 moldboy

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 516 posts
  • Location:Canada Eh?!?

Posted 16 September 2005 - 10:39 PM

Okay this seem like a siple enough task, I would like to tell an html page to refresh, but two conditions have to be met, 1) the page must have finsihed loading, 2) it must wait a given number of seconds, say 5. Buy the way this needs to be automatic.

Thanks

#2 crapoartworks

    Newbie [Level 2]

  • Kontributors
  • PipPip
  • 37 posts

Posted 17 September 2005 - 12:08 AM

Ok, I think I can help you...

Try this website: http://www.draac.com/ , Then click on Javascripts.
There are a few things in there that may help you in doing that. :-D

I have been visiting that website for years, and I find it very helpful. Its how I learned image mapping.

#3 SystemWisdom

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 117 posts
  • Location:A Canadian South of the 49th Parallel
  • Interests:Everything & Nothing Simultaneously!

Posted 17 September 2005 - 12:28 AM

<body onload="window.setTimeout('window.location.reload()',1000);">

The 1000 = 1 Second...

#4 littleweseth

    Member [Level 2]

  • Kontributors
  • PipPipPipPipPip
  • 85 posts
  • Location:QLD, Aus. G'day!
  • Interests:Replacing your current MonkeyGoddess, and various other nerdy stuff.

Posted 17 September 2005 - 05:35 AM

If it's for yourself, you could just use Opera. You can just tell it to refresh every n seconds.

If it's for users - just annihilate IE, then put Opera into the vaccum thus created :P Quick, easy and beneficial for all, except Microsoft of course. *gloat gloat*

#5 Lozbo

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 282 posts
  • Location:Wanatos
  • Interests:Multimedia Arts and Technologies =)

Posted 17 September 2005 - 07:04 PM

Theres also a meta tag that you can define on the head, but not sure wheter it refreshes even if the content has not finished loading or if it starts counting when the head section loaded. Code would be something like that:

<meta http-equiv="refresh" content="600">

#6 SystemWisdom

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 117 posts
  • Location:A Canadian South of the 49th Parallel
  • Interests:Everything &amp; Nothing Simultaneously!

Posted 17 September 2005 - 10:03 PM

The meta tag would refresh the page *before* it loads tho..

#7 galexcd

    Trap Grand Marshal Member

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,331 posts
  • Gender:Not Telling
  • myCENT:39.82

Posted 01 October 2005 - 10:41 PM

SystemWisdom, on Sep 17 2005, 02:03 PM, said:

The meta tag would refresh the page *before* it loads tho..

View Post


not if the contet is more than the time it takes to load the page... who cares when it starts counting... If it has to be like 5 secconds after it loads, then you can make it like 6 or 7...

#8 keep-in-touch

    Newbie

  • Kontributors
  • Pip
  • 2 posts

Posted 28 July 2006 - 08:38 AM

View Postqwertyiscool, on Oct 1 2005, 10:41 PM, said:

not if the contet is more than the time it takes to load the page... who cares when it starts counting... If it has to be like 5 secconds after it loads, then you can make it like 6 or 7...

hi i have tried to open the suggested website for javasc ( http://www.draac.com...ture-roll.html) but the links in that web did not work.

i'm using ASP.net when ever i will write the codes that you have mention in the HTML the code will change and it will appare on the webpage and will not work.

thank you

#9 RecordSites

    Newbie

  • Kontributors
  • Pip
  • 9 posts

Posted 28 September 2006 - 04:19 PM

Keep in mind that some methods really refresh the page including the images (bandwidth!), and some are more like forwarding.

#10 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 01 March 2009 - 11:01 AM

you can use http://www.Refreshthis.Com to auto refresh a website






Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users