mcmuney Posted February 6, 2008 Share Posted February 6, 2008 How can I modify the line below so that on the popup, the status bar is hidden? <a href='#' onclick='return popitup(\"./mp3/listen.php?name=".urlencode($files['names'][$i])."&file=".urlencode($files['links'][$i])."\")'><b>Listen</b></a> Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted February 6, 2008 Share Posted February 6, 2008 Well this has nothing to do with PHP. This is more of a javascript question. What parameters does the (javascript) popitup function allow? Quote Link to comment Share on other sites More sharing options...
mcmuney Posted February 6, 2008 Author Share Posted February 6, 2008 I guess this is the code I should be looking at: <SCRIPT LANGUAGE="JavaScript"> <!-- function popitup(url) { newwindow=window.open(url + "&id=" + new Date().getTime(),'name','height=150,width=300'); if (window.focus) {newwindow.focus()} return false; } // --> </script> Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted February 6, 2008 Share Posted February 6, 2008 http://blazonry.com/javascript/windows.php 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.