472,975 Members | 1,682 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,975 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 3211
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...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.