|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have a asp page contain 2 frames.
the asp page code: <html> <head> <title>test</title> </head> <frameset cols="240,*"> <frame name="contents" target="main" src="menu.asp" scrolling="auto"> <frame name="main" src="ad.asp"> <noframes> <body> <p>test<p> </body> </noframes> </frameset> </html> I want to close the hole 2 frame in the windows by click the close button.But i don't know how to realize it!I put the close button in one frame by using vbscript to close the windows,but it doesn't work!..Some body can give some advice?..Thx ![]()
__________________
Being a Code Headman !
|
|
#2
|
|||
|
|||
|
what are u trying to do? u just wanna close the window or u wanna go from 2 frames to 1 frame?
|
|
#3
|
|||
|
|||
|
Thx for haroldd!
I wanna close the whole window!..Can u give me some idea? |
|
#4
|
|||
|
|||
|
I find a way to implement it:add a link in the html...<A href="javascript:top.close;">close windows</A>
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > How to close the windows automatic? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|