?
Solved

Frames:Need to reload main window

Posted on 1998-12-19
4
Medium Priority
?
172 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 200 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

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
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…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

771 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