...

View Full Version : new window



applesauce
08-21-2002, 04:03 PM
hi

i know i've seen this answer before, but i can't find it in search.

how can i change this code to make the button open a new window instead of changing the parent?

<button onClick="window.location='http://www.tpwd.state.tx.us/park/cedarhil/'" style="background-image:url(fpics/f2back.jpg)"><b>cedar hill sp</b></button>

thanks!
:D

beetle
08-21-2002, 04:10 PM
onClick="window.open('http://www.tpwd.state.tx.us/park/cedarhil/','','');"

applesauce
08-21-2002, 04:13 PM
thanks!
:cool:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum