Jump to content

Open a new broswer window using a header


Shadowing

Recommended Posts

I got it to work with using java script. I needed to use java script anyways cause I wanted to control the size of the window as well.

 

I know this isnt php related. but i dont want users refreshing the new window that opens. right now i have it set to redirect the page if they try to refresh it. But id like the window to close instead. Also how do people select the name of the window at the very top of the broswer? instead of showing the link

 

function openWin()
{
myWindow=window.open('evaluate.php','','width=220,height=150,location=no,toolbar=no,menubar=no');
myWindow.focus();
}

 

 

 

newwindow.jpg

Link to comment
Share on other sites

If you are using javascript, why not use a pop up (div) populated via AJAX.  Then you would have no worry about page refresh, and you can easily close it at any time via javascript and the div id.  As far as the

Also how do people select the name of the window at the very top of the broswer? instead of showing the link
.  You should have a title element in the head of the document. If it is missing, the browser shows the link instead.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.