Hi.. I have seen plenty of ways to create a pop up.. but what simple script will close a pop up... Thanks Doug
Hi.. I have seen plenty of ways to create a pop up.. but what simple script will close a pop up... Thanks Doug
It depends on what script you use to open it as to which you use to close it - but you'll find lots of them if you google it - here's one easy one -
http://www.javascript-coder.com/wind...ow-close.phtml
If you are using the onclick method- here's the onclick close - insert this in the body of the page:
<form>
<input type="button" value="Close Window" onClick="window.close()">
</form>
or
<a href="javascript:window.close()">Close Window</a>
First gives you a button to click on - second is text.
Bethers... You're the best I have been searching for a "close" pop up script and messing with java script for quite a while... I have a question though about the java script.. I guess I should use the Java tool to enter it... but where to enter into the java tool.. properties?? or some where else... All this time I have had very little luck inserting such script in java... Thanks again... Doug
And one more thing if you please Bethers... I sure would like to utilize a transparent shape as the button ... like an overlay... any Ideas for me... Thanks Doug
Thaks Beth, very useful.............
Without spending lots of time - to change the appearance of the button, you'd have to download an image you want to use - and you'd have to add that image into what's called up by the statement calling for the button.
There are currently 1 users browsing this thread. (0 members and 1 guests)