# Close window button

**URL:** <https://forum.kirupa.com/t/close-window-button/135289>\
**Category:** Uncategorized\
**Created:** [January 26, 2005, 8:01am UTC](https://forum.kirupa.com/t/close-window-button/135289 "2005-01-26T08:01:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pucca](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@pucca](https://forum.kirupa.com/u/pucca)\
**Post date:** [January 26, 2005, 8:01am UTC](https://forum.kirupa.com/t/close-window-button/135289/1 "2005-01-26T08:01:37Z")

</div>

Hi

I’m using this scripting in a pop up window to close the window:

```auto
 <input name="button" type=button onClick="javascript:window.close();" value="Close Window"> 

```

But I would like to use my own rollover button… Please help me with the scripting for that…

Thanks!!
