//flex table opened by JP

Click to See Complete Forum and Search --> : May I know how can I make a pop up window with a close button ?


gomcse
05-04-2001, 10:58 AM
I am making on my home page right now. Assume If I click on a hyperlink of my friend's profile), now it will open a new windows of my friend's profile. (it is not a pop up windows, it is just a pop up new page)

My question is what should I add to my html coding, in order to have a "CLOSE" button somewhere at teh buttom of my pop up windows, so the visitor can simply click on that CLOSE button to close and get rid of that opop up windows.

Please advise and appreciate for your great help in advance.

gomcse
05-04-2001, 02:27 PM
Hey Illegal Alien and rh71,

Thanks for your great links.


Have a nice weekend , dude !

Illegal Alien
05-05-2001, 12:00 AM
This site has the code for the pop up window and MAYBE the close button as well, enjoy http://www.sysopt.com/forum/smile.gif www.Dynamicdrive.com (http://www.Dynamicdrive.com)

rh71
05-05-2001, 12:28 AM
Always go here for Javascript help... it'll save you lots of time.
http://developer.irt.org/script/script.htm

In short, just use the following in that new window as a link:

<A HREF="javascript:window.close()">Close Window</A>


[This message has been edited by rh71 (edited 05-04-2001).]