Current location: Hot Scripts Forums » General Web Coding » JavaScript » html rotating without sound


html rotating without sound

Reply
  #1 (permalink)  
Old 01-02-06, 09:09 AM
snhnic snhnic is offline
New Member
 
Join Date: Jan 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
html rotating without sound

I have an inline frame where I load a html file. That html files should refresh in 120 seconds with another html (its a sort of news flash). This I have done with javascript and on another page with meta refresh. This works both but IE is giving an annoying click on refreshing the page. Can this be prevented? If not in html perhaps in PHP, asp????? The click is very annoying.

<meta http-equiv="refresh" content="120 ;url=inlin5.htm">

<script Language="JavaScript">
setTimeout("location.href='inlin2.htm'", 120000);
</script>
Reply With Quote
  #2 (permalink)  
Old 01-02-06, 10:58 AM
Vineman Vineman is offline
Wannabe Coder
 
Join Date: Dec 2005
Location: Texas
Posts: 111
Thanks: 0
Thanked 0 Times in 0 Posts
I think the click is an internal IE thing to tell you a new page has loaded (not sure, its been a long time since ive used IE).
Reply With Quote
  #3 (permalink)  
Old 01-02-06, 11:25 AM
snhnic snhnic is offline
New Member
 
Join Date: Jan 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Your'e right and it is extreme annoying. Therefor I'm looking for a solution.

For a reload teh javascript code works but when loading another html the click is back.

Last edited by snhnic; 01-02-06 at 11:27 AM.
Reply With Quote
  #4 (permalink)  
Old 01-02-06, 05:04 PM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
Try this
PHP Code:

header("Refresh: 120000; inlin5.htm"); 

Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
html tutoral thefrtman HTML/XHTML/XML 5 04-27-09 10:25 AM
Classified Ads skipper23 Perl 3 11-22-05 02:22 AM
Need website design or HTML coding help? website_help HTML/XHTML/XML 0 05-26-05 12:07 PM
Please help insert html into php idforforums PHP 5 04-06-05 11:29 PM
Classified Ads skipper23 Perl 2 12-30-03 03:43 AM


All times are GMT -5. The time now is 10:59 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.