Betty_S Posted January 13, 2007 Share Posted January 13, 2007 Hallo,I'm using window.open() in order to pop-up a window. How can I strip the window of all the bars so it may look like a "floating <div>?Thanks. Link to comment Share on other sites More sharing options...
Kristian_C Posted January 13, 2007 Share Posted January 13, 2007 Think this is what you are looking for : <script LANGUAGE="JavaScript">function popUp(URL) {day = new Date();id = day.getTime();eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=500,left = 250,top = 200');");}</script>Then :if you want to use etc :echo"<script>java script:popUp('yourpage.php');</script>"; Link to comment Share on other sites More sharing options...
Betty_S Posted January 13, 2007 Author Share Posted January 13, 2007 thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now