-
May I know how can I make a pop up window with a close button ?
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.
-
Hey Illegal Alien and rh71,
Thanks for your great links.
Have a nice weekend , dude !
-
This site has the code for the pop up window and MAYBE the close button as well, enjoy www.Dynamicdrive.com
-
Senior Member
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:
Code:
<A HREF="javascript:window.close()">Close Window</A>
[This message has been edited by rh71 (edited 05-04-2001).]
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
|
|