Solved

Frames:Need to reload main window

Posted on 1998-12-19
4
159 Views
Last Modified: 2010-04-09
I have a page with 2 frames.  I need to reload the 'Main' frame even if the user has 'surfed' beyond my website with it.  I want the NavBar on the left to break off and just leave what is in the 'Main' frame.  I need this to work at anytime. Thanks.
0
Comment
Question by:Firelord17
  • 2
4 Comments
 
LVL 5

Expert Comment

by:j_powers
ID: 1840823
If you want it to refresh on a regular basis, you can use the <meta> tag to refresh the frame.
0
 
LVL 4

Expert Comment

by:rafistern
ID: 1840824
Have a link in the nav frame that does:

<a href="javascript:top.location.href="the/main/page.html">

This will load the main page into the top frame at any time.
0
 

Author Comment

by:Firelord17
ID: 1840825
I don't want to reload my homepage.  I want the page (whatever it is - like yahoo.com) to just be displayed without the navibar.  Thanks anyway..  :)
0
 
LVL 4

Accepted Solution

by:
rafistern earned 50 total points
ID: 1840826
OK so what you need is

<a href="javascript:top.location.href=parent.mainframe.location.href">

where I assume you have a frame called mainframe in which the page is displayed.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
HTML5 save .Dat to server side 20 50
key press alert 2 32
Html fieldset fix its height and width 4 32
Bootstrap 3 - Style a dropdown 1 12
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question