alternative to 'window.parent.frames'

G

Guest

I have a frameset that breaks my page into 3 sections. Top, middle &
bottom.

My navigation is in the middle part. I use the following code to
change my top & bottom page when a user clicks a link. Problem is, if
they ever hit the back button, the previous top page shows and only if
the hit the previous button again, the previous bottom page shows. The
code I'm using is below:



function redirectToForum ()
{
window.parent.frames("TopFrame").location="../pages/top/topForum.aspx";
window.parent.frames("MainFrame").location="../pages/bottom/bottomForum.aspx";
}


<A onclick="redirectToForum();" style="FONT-WEIGHT: bold; FONT-SIZE:
medium">forum</A>

The most IMPORTANT thing this code accomplishes is that my navigation
page (in the middle) is NOT refreshed after I click a link. Otherwise
I would have used controls. Is there a better way to keep my 3 parts
of the page with the navigation in the middle and be able to change
both top & bottom page without getting that previous page problem?

Any help would be appreciated.


7078895

/ra
 
C

Cor

Hi SpamProom

Can you tell us what is VB.net language related in this so that we maybe can
give you an answer?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top