Could you please help me out, please see the code below. At present, the window attributes are loaded from the popup.js file.


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



new popUp(200, 100, 600, 550, "Brad", "CONTENT" "0066ff", "white", "#FFFFFF", "0066ff", "666666", true, true, true, true, false);

<a href="javascript:showbox('Brad')">LINK TO POPUP</a>

- The :showbox relates to the attributes in the .js file.

At present the window loads fine when the page is loaded, but i ONLY want it to be displayed when the link is clicked.

I have tryed changing window.onload to onclick but it does not seam to work. I know its simple but cannot figure it out.