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' );" ); Link to comment https://forums.phpfreaks.com/topic/82000-can-i-add-a-pre-popup-to-this/ Share on other sites More sharing options...
Daniel0 Posted December 17, 2007 Share Posted December 17, 2007 Huh? Link to comment https://forums.phpfreaks.com/topic/82000-can-i-add-a-pre-popup-to-this/#findComment-416967 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 Link to comment https://forums.phpfreaks.com/topic/82000-can-i-add-a-pre-popup-to-this/#findComment-416994 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.