
04-14-2001, 03:52 PM
|
|
Account Disabled
|
|
Join Date: Apr 2000
Posts: 1,726
|
|
I would like to add a javascript pop up window if someone clicks on a "more info" button and have it open a small window in the top corner
I also would like to have a "close" button in the window as well and auto close so in case they dont close the window, it dissappers
any ideas of such javascript anywhere???
|

04-14-2001, 04:06 PM
|
|
Web Hosting Evangelist
|
|
Join Date: Feb 2001
Posts: 519
|
|
close window
****paste in <body>
<form>
<input type=button value="Close This Window" onClick="self.close()">
</form>
<form>
<input type=button value="Open New Window" onClick="ANY_NAME=window.open('/index.htm', 'win1','toolbar=no,location=yes,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=400,height=200')">
</form>
Link: <a href="" onClick="ANY_NAME=window.open('/index.htm', 'win1','toolbar=no,location=yes,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width=400,height=200'); return false;">Open
New Window</a>
<form>
<input type=button value="Close New Window" onClick="ANY_NAME.close();">
</form>
Link: <a href="" onClick="ANY_NAME.close(); return false;">Close
New Window</a>
__________________
Exabytes ™ - ASP, ASP.NET. Windows 2008 Hosting - Windows Reseller Plans
1 Exabyte = two to the sixtieth power byte, 1,152,921,504,606,846,976 bytes
|

04-14-2001, 04:08 PM
|
|
Web Hosting Evangelist
|
|
Join Date: Feb 2001
Posts: 519
|
|
** new window
<a href="PARENT WINDOW LOCATION" ONCLICK="window.open('DESTINATION LINK IN NEW WINDOW', 'NewWindow','toolbar=yes,location=yes,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=no,copyhistory=yes,width=635,height=260')">Link description</a>
** get more from www.24fun.com
__________________
Exabytes ™ - ASP, ASP.NET. Windows 2008 Hosting - Windows Reseller Plans
1 Exabyte = two to the sixtieth power byte, 1,152,921,504,606,846,976 bytes
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|