Hi.. I have seen plenty of ways to create a pop up.. but what simple script will close a pop up... Thanks Doug
If #onClick=windowopen..What will close pop up??
Collapse
X
-
Re: If #onClick=windowopen..What will close pop up??
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 -
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.
-
-
Re: If #onClick=windowopen..What will close pop up??
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
Comment
-
-
Re: If #onClick=windowopen..What will close pop up??
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.
Comment
-
Comment