|
-
Jul 13th, 2000, 03:07 PM
#1
Thread Starter
Hyperactive Member
I have a training system that is run using active server pages. When you come to the training document I brake the document and the sign off form into two seperate frames to be displayed at once. The user then clicks sign off to show he has completed the training and is taken to a training received page. How do I get rid of the frames now. I don't want the certificate to be displayed in the upper frame with the sign off still at the bottom. I want it to have its own page again. Whats more is looping back to the home page after he clicks done puts the home page into the contents frame. So now with the sign off still at the bottom its a nested frame. How do I get away from the frames once I have completed what they were used for... Very frustrating. Thanks
-
Jul 13th, 2000, 05:15 PM
#2
use one of the following in a link to mess around with frame sets:
_blank - A new window
_parent - The parent frame not sure on this one exactly...haven't used it much
_top - whole frameset (the one for you! )
_erm...one more that i can't think of
e.g.
Code:
<a href="signoff.asp" target="_top">Sign Off</a>
ah, yeah... and
_self
[Edited by matthewralston on 07-13-2000 at 06:21 PM]
-
Jul 13th, 2000, 06:01 PM
#3
Frenzied Member
It may be easiest to do this using JavaScript (or client-side VBScript) because then you can open/close them as you like, referring to them by name.
I think that's probably how I would do it anyway. Incidentally, if you haven't ever tried JavaScript then do have a go because it's very useful and also very simple and (mostly) very sensible in it's modelling of the browser.
Oh and although it might not matter much if you're making a training system, referring to the top frame can be a bit unpredictable, because some webpages open other webpages in frames, and you can't be sure that the top frame on your page will be the top frame on your users' browsers.
Harry.
"From one thing, know ten thousand things."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|