473,397 Members | 2,077 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 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 3220
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

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

Similar topics

43
by: dan baker | last post by:
I have a page that gets loaded with a meta-refresh hardcoded so that a few things on the page get updated. its kind of a fake chat board. anyway, what I need to do is turn off the meta-refresh once...
14
by: Shiperton Henethe | last post by:
Hi Is there anyway to get a meta refresh to do so in an new browser window? e.g. This code forwards this user after 8 seconds... <meta http-equiv=refresh...
2
by: Jarson | last post by:
My webserver hosts some on-line reports with live data. I have put an html meta tag to force the client to refresh every 10 minutes so my clients will always show the latest data .. <meta...
4
by: Jim Hammond | last post by:
After much effort, it doesn't seem possible to redirect the user to a new page after 10 seconds by using a server-side timer. I am now using the following meta statement to accomplish the same...
1
by: Maziar Aflatoun | last post by:
Hi everyone, My goal is to modify the contents of my meta tag (html refresh). However, my code adds a new instance of the meta tag at the bottom of the page. Is there a way to modify it instead...
2
by: Prodip Saha | last post by:
I am sure there is an easy fix for this problem. I am reloading the same page at an interval using the meta refresh tag in aspx page. This page has one textbox and one button. The problem is -when...
4
by: Tim::.. | last post by:
Can someone please tell me why the following dynamic refresh doesn't work! Thanks Inline code... <!----- dynamically filled META REFRESH element -----> <meta id="mtaRefresh" runat="server" />...
3
by: dave | last post by:
I want to be able to have my webpage to continually refresh automatically every so many seconds. When it refreshes, I want it to refresh to the bottom of the screen. To accomplish this, I am...
2
by: runway27 | last post by:
i have a registration page which is a self submitting form <form action="<?php echo $_SERVER; ?>" method="POST" id="test2" name="registrationform"> where in a user fill a form, after the data...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.