[thelist] Javascript Woes

matt newell matt at sweetillusions.org
Mon Feb 19 19:50:52 CST 2001


<script language="JavaScript">

function launchwin(page,win,h,w){
		newwin =
window.open(page,win,"height='w',width='h',alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=1,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=0,scrollbars=1,status=0,titlebar=0,toolbar=0,z-lock=0,screenX=0,screeny=0");
		if (newwin.opener == null) newwin.opener = self;
}
</script>

<a href="javascript:launchwin('indexa.html','win3','1000','1002')">click
for site</a>


win3 is the window name

1000, 1002 are the w/h

indexa.html is the file called when you open the window.



hope this helps,



	.. matt

	.. www.sweetillusions.org   
	.. matt at sweetillusions.org   

	.. in our madness evermore we rave - chaucer




On Mon, 19 Feb 2001, Salvatore Palmisano wrote:

> Someone please put me out of my misery.  Id like to use some JS to open a
> new window of a specific size, and cant seem to get the syntax correct.
> Any ideas on what Im missing?
> 
> <A
> HREF="javascript:window.open(page.asp?id=intID),null,'resizable=yes,toolbar=
> no,location=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=385,h
> eight=295;')">
> 
> --Salvatore Palmisano
> Chief Information Officer
> International Security Solutions, Inc.
> spalmisano at usaiss.com
> 
> 
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt ! 
> 





More information about the thelist mailing list