Alienware Posted March 24, 2009 Share Posted March 24, 2009 Ok so im pretty sure this doesnt fall under PHP... but then again im not sure what it does fall under.. given this is the most active forum and i need help urgently so i can go to bed and sleep after staying up all night trying to complete the website... ill post it here... sorry to upset anyone by posting off topic... I have made a form.... its one i got from the internet and have altered all the information for... the only problem is i want it to open the selected pages in new windows!!! I have tried loads of things and the havn't worked.... perhaps someone here could help me solve this so i can go to bed lol... <FORM ACTION="../cgi-bin/redirect.pl" METHOD=POST onSubmit="return dropdown(this.gourl)"> TARGET= <SELECT NAME="gourl"> <OPTION VALUE="">Please select a Game... <OPTION VALUE="10ball.html">10 BALL <OPTION VALUE="2vs2bestof3.html">2 VS 2 BEST OF 3 <OPTION VALUE="69seconds.html">69 SECONDS <OPTION VALUE="abc.html">ABC <OPTION VALUE="arabian.html">ARABIAN <OPTION VALUE="bankofone.html">BANK OF ONE <OPTION VALUE="bank8.html">BANK 8 <OPTION VALUE="bank8andcue.html">BANK 8 AND CUE <OPTION VALUE="bank8andlastpocket.html">BANK 8 AND LAST POCKET <OPTION VALUE="bank8suicide.html">BANK 8 SUICIDE <OPTION VALUE="bankcueonly.html">BANK CUE ONLY <OPTION VALUE="bankrobbery.html">BANK ROBBERY <OPTION VALUE="banksandcombos.html">BANKS AND COMBOS <OPTION VALUE="bankspecificcolor.html">BANK SPECIFIC COLOR <OPTION VALUE="barpool.html">BAR POOL <OPTION VALUE="battleship.html">BATTLESHIP <OPTION VALUE="blackandblue.html">BLACK AND BLUE <OPTION VALUE="blackjack.html">BLACKJACK <OPTION VALUE="bootem.html">BOOTEM <OPTION VALUE="bootemblacklast.html">BOOTEM - BLACK LAST <OPTION VALUE="bootemmagic8.html">BOOTEM – MAGIC 8 <OPTION VALUE="bootembomb.html">BOOTEM - BOMB <OPTION VALUE="bootemmole.html">BOOTEM - MOLE <OPTION VALUE="bootemweakestlink.html">BOOTEM – WEAKEST LINK <OPTION VALUE="callafriend.html">CALL A FRIEND <OPTION VALUE="centerpocketsonly.html">CENTER POCKETS ONLY <OPTION VALUE="copycat.html">COPYCAT <OPTION VALUE="crazy8.html">CRAZY 8 <OPTION VALUE="defaultpocket.html">DEFAULT POCKET <OPTION VALUE="dynamite.html">DYNAMITE <OPTION VALUE="fewestshots.html">FEWEST SHOTS <OPTION VALUE="fireandsmoke.html">FIRE AND SMOKE <OPTION VALUE="firstpocket.html ">FIRST POCKET <OPTION VALUE="flawless.html">FLAWLESS <OPTION VALUE="forbiddenpocket.html">FORBIDDEN POCKET <OPTION VALUE="fourcorners.html">FOUR CORNERS <OPTION VALUE="fourplay.html">FOUR PLAY <OPTION VALUE="frozencueball.html">FROZEN CUE BALL <OPTION VALUE="fullenglish.html">FULL ENGLISH <OPTION VALUE="fullpower.html">FULL POWER <OPTION VALUE="golf.html">GOLF <OPTION VALUE="guysandgals.html">GUYS AND GALS <OPTION VALUE="highlow.html">HIGH LOW <OPTION VALUE="inviterschoice.html">INVITERS CHOICE <OPTION VALUE="killer.html">KILLER <OPTION VALUE="ladiesandgents.html">LADIES AND GENTS <OPTION VALUE="lastpocket.html">LAST POCKET <OPTION VALUE="lastpocketreversed">LAST POCKET - REVERSED <OPTION VALUE="lowpower.html">LOW POWER <OPTION VALUE="mystery8.html">MYSTERY 8 <OPTION VALUE="merrygoround.html">MERRY GO ROUND <OPTION VALUE="musicalchairs.html">MUSICAL CHAIRS <OPTION VALUE="nerveracker.html">NERVE RACKER <OPTION VALUE="noenglish.html">NO ENGLISH <OPTION VALUE="onepocket.html">ONE POCKET <OPTION VALUE="oneshot.html">ONE SHOT <OPTION VALUE="onlypocket.html">ONLY POCKET <OPTION VALUE="perfectenglish.html">PERFECT ENGLISH <OPTION VALUE="personalpanpocket.html">PERSONAL PAN POCKET <OPTION VALUE="pickyourpocket.html">PICK YOUR POCKET <OPTION VALUE="pool.html">P.O.O.L <OPTION VALUE="posterbed.html">POSTER BED <OPTION VALUE="ratedballlast.html">RATED BALL LAST <OPTION VALUE="reg8.html">REGULAR 8 <OPTION VALUE="racknrun.html">RACK N RUN <OPTION VALUE="rodeo.html">RODEO <OPTION VALUE="scrambledeggs.html"> SCRAMBLED EGGS <OPTION VALUE="scratchless.html">SCRATCHLESS <OPTION VALUE="screwyourneighbor.html">SCREW YOUR NEIGHBOR <OPTION VALUE="seekanddestroy.html">SEEK AND DESTROY <OPTION VALUE="speedball.html">SPEEDBALL <OPTION VALUE="suicide.html">SUICIDE <OPTION VALUE="suicidebank8.html">SUICIDE BANK 8 <OPTION VALUE="trafficlights.html">TRAFFIC LIGHTS <OPTION VALUE="triplethreatsuicide.html">TRIPLE THREAT SUICIDE <OPTION VALUE="tugofwar.html">TUG OF WAR <OPTION VALUE="vshapedtourney.html">V SHAPED TOURNEY <OPTION VALUE="yellowballtwist.html">YELLOW BALL TWIST </SELECT> <INPUT TYPE=SUBMIT VALUE="FIND RULES"> </FORM> </th> </tr> </table> <br><center> <table width="35%" border="2"> <tr><th> i REALLY need your help guys. Thanks in advance Quote Link to comment Share on other sites More sharing options...
Dan_Mason Posted March 24, 2009 Share Posted March 24, 2009 hay Try Javscript http://www.dhtmlgoodies.com Theres a few New Window Open Scripts On There. Quote Link to comment Share on other sites More sharing options...
Alienware Posted March 24, 2009 Author Share Posted March 24, 2009 hay Try Javscript http://www.dhtmlgoodies.com Theres a few New Window Open Scripts On There. Thanks for the link Dan, much appreciated.. but i have already been there.... nothing worked that i could find.. perhaps its me doing it wong... realy dunno. Quote Link to comment Share on other sites More sharing options...
Kalland Posted March 24, 2009 Share Posted March 24, 2009 Hi This should work: <option onclick="window.open('http://www.phpfreaks.com');">PHP Freaks</option> Quote Link to comment Share on other sites More sharing options...
kickstart Posted March 24, 2009 Share Posted March 24, 2009 Hi Think the "onclick" event doesn't work on an option clause in all browsers. This thread might help you:- http://www.phpfreaks.com/forums/index.php/topic,241747.0.html All the best Keith Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.