Hello, please help i know it must be really simple but i cannot figure it out. Please have a look at the code below. The popup.js is just a script which defines the attributes of the window.

I basically want it to display the popup as it is doing at the moment but only whent he hyper link is clicked. At present it is displaying it perfectly, but as the page loads.

I know its the onload function which need changing, i have tryed OnClick but it dosent work.


<script language="JavaScript" src="popup.js">

</script>

<script>

window.onload=function(){
new popUp(200, 100, 600, 550, "JEFF", "Content" true, true, true, true, false);
}
</script>

<a href="javascript:showbox('JEFF')">Click here to read more about this service.</a>