Click to See Complete Forum and Search --> : Minimise Onclick Function


spykemitchell
09-27-2003, 05:26 AM
Does anyone know the function to minimise a window when you click a link?

I know how to close it but i just want to minimse it...

spykemitchell
09-27-2003, 05:32 AM
Hang on, let me refine that...

This is the link i am using to minimise the window.

<a href="Javascript:popUp('indexstart.htm')" onmouseover="self.status=''; return true" onmouseout="self.status='' ; return true">Launch</a>

The script for the pop up is...

<SCRIPT LANGUAGE="JavaScript">
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=681,height=550,left = 0,top = 0');");
}
</script>

Whati want to do iswen you click the link, the new window opens and the window with the link in it minimises....

Thats a bit more specific...