mrpowless Posted December 17, 2007 Share Posted December 17, 2007 onClick="javascript:return confirm('Would you like to increase your search engine rank?')">Improve your site! to this: $ret .= $oTemplMenu -> getMenuItem( 'action_block.gif', _t('_Block'), "javascript:void(0);", '', '', "window.open( 'list_pop.php?action=block&ID=$profileID', '', 'width={$this -> oTemplConfig -> popUpWindowWidth},height={$this -> oTemplConfig -> popUpWindowHeight},menubar=no,status=no,resizable=no,scrollbars=yes,toolbar=no,location=no' );" ); Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted December 17, 2007 Share Posted December 17, 2007 Huh? Quote Link to comment Share on other sites More sharing options...
mrpowless Posted December 17, 2007 Author Share Posted December 17, 2007 I would like to add the javascript to that php code instead of: javascript:void(0) onClick="javascript:return confirm inother words fit a confirm ei: "yes no" in place of the window popup 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.