create a pop up window

Saratvaddilli
Posted by Saratvaddilli under JavaScript category on | Points: 40 | Views : 1085
<script lanuage="JavaScript" type="text/Javascript">
function popup(lightbulb){
popupWindow= window.open(lightbulb, "Pop Up", "toolbar=no")
popupWindow.focus()
}
</script>


<a href="javascript:popup('lightbulb_on.jpg')">Lights On</a>

Comments or Responses

Login to post response