Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Frames:Need to reload main window

Posted on 1998-12-19
Medium Priority
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.
Question by:Firelord17
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

Expert Comment

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

Expert Comment

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.

Author Comment

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..  :)

Accepted Solution

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.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
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…

609 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