471,582 Members | 1,679 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,582 software developers and data experts.

META refresh targetting

118 100+
Hi, I have a site that I'm working on for a project.

All it consists of is a div of tabbed links and an iFrame. For the specification it needs to flow, like a PowerPoint Presentation. My idea was to use META refresh to move pages after a certain amount of time. Though that moves the entire page and loses layout.

Would it be possible to target the refresh so it appears in the iFrame, or something similar? Rather than the entire page changing.


Thanks,
Sam
Sep 24 '07 #1
4 3190
Death Slaught
1,137 1GB
Hi, I have a site that I'm working on for a project.

All it consists of is a div of tabbed links and an iFrame. For the specification it needs to flow, like a PowerPoint Presentation. My idea was to use META refresh to move pages after a certain amount of time. Though that moves the entire page and loses layout.

Would it be possible to target the refresh so it appears in the iFrame, or something similar? Rather than the entire page changing.


Thanks,
Sam
If your wanting something like a slideshow of pics try the JavaScript forum.


Hope it helps, Death
Sep 24 '07 #2
helraizer1
118 100+
If your wanting something like a slideshow of pics try the JavaScript forum.


Hope it helps, Death
Sorry I wasn't very clear before. I'll try and rephrase it.

As you know Power Point Presentations can move to the next page after a number of seconds. To do this with HTML I used

Expand|Select|Wrap|Line Numbers
  1. <meta http-equiv="refresh" content="60; url=nextpage.htm">
  2.  
So that after 60 seconds the page refreshes to the next URL.

However, the layout of my page is such that there is a div of tabs(links) and an iFrame. All the links target to "frame", which is the iFrame. So the corresponding pages open in the iFrame below the links.

The only problem is that with the META refresh is that it refreshes the entire page and thus targets the parent window, rendering the links and iFrame pointless.

Is there any way in HTML to still have/use the 'META refresh' facility but have the next page appear in the iFrame rather than the parent window? Or am I looking for scripting to do that?

Hope that is more clear.

Thanks again,
Sam
Sep 25 '07 #3
drhowarddrfine
7,435 Expert 4TB
Putting that meta in the iframe doesn't do that?
Sep 25 '07 #4
helraizer1
118 100+
Putting that meta in the iframe doesn't do that?
Ah, good point.

So if I had an iframe

Expand|Select|Wrap|Line Numbers
  1. <iframe src="mypage.htm">
  2.  
and I put the meta tag in the mypage.htm, would that work. It's worth a try.

Thanks for that!

Sam
Sep 25 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

43 posts views Thread by dan baker | last post: by
14 posts views Thread by Shiperton Henethe | last post: by
2 posts views Thread by Jarson | last post: by
4 posts views Thread by Jim Hammond | last post: by
1 post views Thread by Maziar Aflatoun | last post: by
2 posts views Thread by Prodip Saha | last post: by
4 posts views Thread by Tim::.. | last post: by
2 posts views Thread by runway27 | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.