English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

onClick="window.open('http://www.mcli.dist.maricopa.edu/tut/',
'myWin',
'toolbar,status,resizable,scrollbars,width=500,height=400'
);
return false">
web page tutorial in the universe


This script opens a new window when clicked which is gurrrd.
But how do i change this script so it opens 2 or 3 windows when clicked?

2007-02-24 05:48:26 · 2 answers · asked by peter s 1 in Computers & Internet Programming & Design

2 answers

add another window.open after the semicolon.

2007-02-24 05:52:28 · answer #1 · answered by Vegan 7 · 2 0

I can't place all the javascript here... but your best bet for *part* of it is, instead of trying to imbed it all directly in the html, to place onclick="javascript:somename( ...parameters if any ... ); return true;"

and then place your window.open( stuff in that external .js file where it can be carefully timed and coded and coordinated.

2007-02-24 13:56:48 · answer #2 · answered by fjpoblam 7 · 1 0

fedest.com, questions and answers