PDA

View Full Version : break all frames.


mtuppers
04-11-2003, 02:00 PM
2 frames.

1. auto.asp will creat two frames

2. top frame will update the member credit, button frame showing advertisement

3. after top frame update, and return to auto.asp, then how am I able to change the buttom frame page?

I am think of breaking frames, but java script what ever I try expample form other script website or forum, but doesn't work.

After checking msdn.microsoft.com

I still does not know what to do?

This code is for traffic exchange.

raf
04-11-2003, 02:16 PM
can't you just use a target="_parent" in the top frame?

mtuppers
04-11-2003, 08:55 PM
But it have to be automaticaly though.

So what it mean is

after frame a update and frame a return to auto.asp and frame b change to another advertisers page.

raf
04-11-2003, 10:13 PM
see you have framepage test.asp with a frameset with testtop.asp and topbottom.asp.

In the form tag of testtop.asp, you add target="_parent"
like this
<form method="POST" action="phoneresult.asp" target="_parent">

Client loads it and submits it to process.asp. Process.asp will take the parent frame. You process everything and then build the frameset again.
What you load in the bottom page, could be controled by adding something to the querystring or from a session variable or even an application variable