473,608 Members | 2,689 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

refresh frames

Hi,
a newbie question:

How can I refresh a page in a separate frame. For example, when someone
logs in in the main frmae, I want to refresh another frame to display
info differently.

TIA.

Nov 23 '05 #1
4 18753
VK

Xerxes wrote:
How can I refresh a page in a separate frame. For example, when someone
logs in in the main frmae, I want to refresh another frame to display
info differently.


You may want to read this group FAQ:
<http://www.jibbering.c om/faq/#FAQ4_8>

This information is relevant to replacing one HTML page by another. If
by "refresh" you mean "update some parts of the current page" then you
have to use DOM methods.

Please do not hesitate to ask.

Nov 23 '05 #2
Thanks for the reply. How can I sent a "refresh command" to another
frame from within a frame?
When the user presses the submit button in a form that is displayed in
one frame, I want ot just "refresh" another frame.

Thanks.

Nov 23 '05 #3
Xerxes wrote:
Thanks for the reply. How can I sent a "refresh command" to another
frame from within a frame? [...]


parent.frames["otherFrame'sNa me"].location.reloa d()

Be sure that the other frame exists and has a `location' property that
refers to an object that has a reload() method to be called, using feature
tests.

<http://www.pointedears .de/scripts/test/whatami>, § 2.

Note that nothing but the form's target window will be refreshed if
client-side scripting is not available; in case the frame to be
refreshed *is* the target window, use

<form action="..." target="otherFr ame'sName">
...
</form>

where there is no script needed at all.
PointedEars
Nov 23 '05 #4
Thanks a lot for the reply. That helps.
I hope you can answer my original question:
I have a home page with a bunch of links. Whan I click on a link, I want
to go to a page that has frames (topFrame (for banner), menuFrame (for
menu), mainFrame (page content), stautsFrame (some staus info)). I want
the page, whose link I clicked, to be displayed in the mainFrame of the
window and I am not sure how to spcify the <a href= ...> for thos links.

Thanks.


*** Sent via Developersdex http://www.developersdex.com ***
Nov 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4847
by: Jawahar Rajan | last post by:
All, I have an ASP site that uses frames two frames. (yes I should be using include files, but we started ou using frames so we have been stuck with frames.) When I get a page expired warning (I am not caching pages) and a user clicks refresh from the menu bar the user is taken back to the home page! The home page is a frame with a top frame that is repeated on each subsequent asp pages
10
6463
by: Conax | last post by:
Hi there, My boss is hoping that I can come up with a page that displays some information. The information will always be displayed on specific part of the page, with auto refresh. But he doesn't want the whole page to be refreshed so that buttons and images around the information do not get reloaded each time. Is this really possible? Other pages on this site don't use frames, so this page can't use frams too. Creating an ActiveX...
2
6737
by: lost hope | last post by:
hey all, my index.html file has 2 frames. one of the frames (left.php) sets a php session variable (using a form). this works as expected. however, when the user hits refresh on index.html, that session variable is lost, even though the session id itself remains the exact same. is this the expected behavior? if possible, how can i ensure the session variable persists across the page refresh? thanks! -henry
3
1256
by: Mark | last post by:
Hi, I don't know if I'm just missing something obvious, but when running my app, not matter what page I'm on, when I hit 'refresh' on my browser, it takes me back to my homepage. I'm using global.asax and webconfig to fire some session onstart events and to set a few variables (connstring and such) and also for forms authentication.
4
1443
by: Eddie | last post by:
Hi All, How may I refresh my page, for exemple, when the user click a WebControls.Button on my form ? (Or on another frame ?) Thx for your help !
8
2857
by: Judy Ward | last post by:
I have an index.aspx with frames. The top frame has a navigation bar with a "Login" hyperlink. If the user has already logged in I want this link to change to "Logout". I am using forms-based authentication and think I know how to accomplish this part. My problem is that the top frame does not reload to get to the "If User.Identity.IsAuthenticated Then". Please don't tell me I shouldn't be using frames; this is a school assignment and the...
6
11085
by: Bob | last post by:
Hi All, Is the following possible, and if so could someone show me some example code please :o) I have a web page with several iframes, and I want to be able to refresh them only not the entire web page but also to refresh them at different time intervals. I've tried a few ways but it ends up refreshing the entire page, doh. I've tried with DIV's and objects aswell but no joy, I'm sure it must be possible and I'm been a thicket ;o)
8
9392
by: Jason S | last post by:
Hi, is there any way of getting my VB (6.0) program to automatically 'Refresh' an IE window that might be active (window status not applicable). It needs to be able to determine which active IE window to refresh, based on its caption. For example, there is a web site that I want to keep active where I normally have to refresh it manually before it times out (every 15 min or so). I might be doing something else at the time so I don't...
1
7274
by: monkeys paw | last post by:
I have a web page with four frames in it. If, within one of the frames, i use a javascript function to do something like: window.location = "app.cgi" Only the frame that contains the JS will refresh. I need to refresh all four frames from within one. How do I do that??
0
8050
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7987
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8130
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6805
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5471
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3954
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4015
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1574
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1318
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.