Connect with Facebook Lost Password?


Go Back   CodeCall Programming Forum > Web Development Forum > HTML Programming

HTML Programming Forum discussion covering HTML, XHTML, DHTML and all flavors of HTML. Hypertext Markup Language is used to create websites.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-10-2008, 10:45 AM
jashsayani's Avatar   
Learning Programmer
 
Join Date: Jun 2008
Posts: 30
Rep Power: 0
jashsayani is an unknown quantity at this point
Default HTML code to refresh page every X seconds...?

Hi,

I want to make a HTML page that refreshes every X seconds. Like 10 secs/20 secs.

How do I make it refresh on its own....?


Thanks.
__________________
My Blog | Follow me on Twitter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-10-2008, 11:31 AM
WingedPanther's Avatar   
Super Moderator
 
Join Date: Jul 2006
Age: 36
Posts: 8,079
Blog Entries: 48
Rep Power: 20
WingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to behold
Default Re: HTML code to refresh page every X seconds...?

You have to use JavaScript to make the page refresh.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-10-2008, 11:38 AM
nullbyte's Avatar   
Programming Professional
 
Join Date: Oct 2007
Location: ~
Age: 15
Posts: 300
Rep Power: 10
nullbyte will become famous soon enoughnullbyte will become famous soon enough
Default Re: HTML code to refresh page every X seconds...?

You can do it with HTML too.
Code:
<!-- n = seconds -->
<meta http-equiv="refresh" content="n" />
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-10-2008, 12:02 PM
Egz0N's Avatar   
Guru
 
Join Date: Sep 2008
Location: Kosovo
Age: 17
Posts: 3,822
Rep Power: 32
Egz0N is just really niceEgz0N is just really niceEgz0N is just really niceEgz0N is just really niceEgz0N is just really nice
Send a message via MSN to Egz0N
Default Re: HTML code to refresh page every X seconds...?

worked for me with HTML .. thnx nullbyte
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-10-2008, 02:45 PM
Xav's Avatar   
Xav Xav is offline
Code Slinger
 
Join Date: Mar 2008
Location: The North Pole
Posts: 13,210
Blog Entries: 13
Rep Power: 105
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: HTML code to refresh page every X seconds...?

I am glad to see that Jordan recommended some XHTML instead of the awful HTML that dargueta provides.
__________________

Quote:
Originally Posted by Jordan View Post
Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-10-2008, 02:54 PM
jashsayani's Avatar   
Learning Programmer
 
Join Date: Jun 2008
Posts: 30
Rep Power: 0
jashsayani is an unknown quantity at this point
Default Re: HTML code to refresh page every X seconds...?

Quote:
Originally Posted by nullbyte View Post
You can do it with HTML too.
Code:
<!-- n = seconds -->
<meta http-equiv="refresh" content="n" />
Thanks a lot.

____________

SOLVED
__________________
My Blog | Follow me on Twitter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-10-2008, 02:57 PM
Xav's Avatar   
Xav Xav is offline
Code Slinger
 
Join Date: Mar 2008
Location: The North Pole
Posts: 13,210
Blog Entries: 13
Rep Power: 105
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: HTML code to refresh page every X seconds...?

If you don't mind me saying, this question could be solved in two seconds flat with a Google search.
__________________

Quote:
Originally Posted by Jordan View Post
Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-12-2008, 08:14 AM
Jordan's Avatar   
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 18,348
Blog Entries: 90
Rep Power: 20
Jordan is a glorious beacon of lightJordan is a glorious beacon of lightJordan is a glorious beacon of lightJordan is a glorious beacon of lightJordan is a glorious beacon of light
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan Send a message via Yahoo to Jordan
Default Re: HTML code to refresh page every X seconds...?

10 seconds seems slow. At home some webpages take 15-20 seconds for me to load. Your page would reload before it ever finished loading the first time. Have you considered using AJAX to make your page dynamic without refreshing?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-15-2008, 11:07 PM
John's Avatar   
Co-Administrator
 
Join Date: Jul 2006
Age: 20
Posts: 5,305
Blog Entries: 24
Rep Power: 20
John is just really niceJohn is just really niceJohn is just really niceJohn is just really niceJohn is just really nice
Send a message via AIM to John Send a message via MSN to John
Default Re: HTML code to refresh page every X seconds...?

Quote:
Originally Posted by Jordan View Post
10 seconds seems slow. At home some webpages take 15-20 seconds for me to load. Your page would reload before it ever finished loading the first time. Have you considered using AJAX to make your page dynamic without refreshing?
10 seconds seems slow? I thought that was quite fast.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11-17-2008, 11:57 AM
Xav's Avatar   
Xav Xav is offline
Code Slinger
 
Join Date: Mar 2008
Location: The North Pole
Posts: 13,210
Blog Entries: 13
Rep Power: 105
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: HTML code to refresh page every X seconds...?

Sometimes CC takes about 25 seconds for me to load.
__________________

Quote:
Originally Posted by Jordan View Post
Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Principles of HTML Code Optimization Lema25 HTML Programming 6 11-10-2008 02:47 PM
About HTML Onur Tutorials 0 08-28-2007 06:13 PM
Special tags to display html code on the page Bodyag HTML Programming 4 04-10-2007 09:38 AM
HTML Introduction clookid Tutorials 5 01-08-2007 09:43 PM


All times are GMT -5. The time now is 05:06 PM.

Freelance Jobs

XML/XSL: Need code for Book with Chapers using XML
Create an XML file for a book of your creation, and a basic CSS file that will format it to display ...
Earn: $40.00


C++/C: Simple firework cue sequencer
What I require is a rework of a simple cue sequencer. I have a piece of hardware (an Arduino boar...
Earn: $50.00


HTML/XHTML: Menu Rework - ASCIIBin
I'm placing this in the HTML/XHTML section of the Freelance site but you are not limited to HTML. Wh...
Earn: $20.00



CodeCall Goal

Goal #1: 1,000 Blogs
Goal #2: 1,000 Wiki Pages
Goal #3: 300,000 Posts
Goal #4: 20,000 Threads
Done: 30%, 23%, 55%, 75%

Ads