Stiebel Eltron
asked on
How do I disable address bar, scrollbars in a _blank New pop-up wIndow?
Dear EE,
I've created 1 page that has Image-map inside, so if the user direct their mouse to a certain point & click, a new window will pop up, but how can I disable to show the address bar & scrollbars. What I want is just to have a simple-neat, 1 page, without the address bar & scrollbars.
Thank you in advance!
I've created 1 page that has Image-map inside, so if the user direct their mouse to a certain point & click, a new window will pop up, but how can I disable to show the address bar & scrollbars. What I want is just to have a simple-neat, 1 page, without the address bar & scrollbars.
Thank you in advance!
you cannot remove address bar in IE7; so it may depend on the browser.
if
if
ASKER
For JPM:
Do I need to write that script for every point that have link? Bec. there are 14 points that have certain link on each, so I must write it 14x, am I right?
---------------
For govidarajan78:
Most of the users in our company are using IE 8 now. So it's the same as IE7, can't be remove the address bar?
Do I need to write that script for every point that have link? Bec. there are 14 points that have certain link on each, so I must write it 14x, am I right?
---------------
For govidarajan78:
Most of the users in our company are using IE 8 now. So it's the same as IE7, can't be remove the address bar?
yes its not possible with IE8 as far as i know
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Dear JPM,
Will the:
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function newWin(page)
{
wHeight = screen.height - 80; // for instance
wWidth = screen.width - 20;
window.open(page,'newwin', 'height=' +wHeight+ ',width=' +wWidth+',
locationbar=0,menubar=0,pe rsonalbar= 0,scrollba rs=0,statu sbar=0,too lbar=0,top =0,left=0' );
}
</SCRIPT>
be put inside <HEAD>--</HEAD> ?
Or? Please advise...
Will the:
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function newWin(page)
{
wHeight = screen.height - 80; // for instance
wWidth = screen.width - 20;
window.open(page,'newwin',
locationbar=0,menubar=0,pe
}
</SCRIPT>
be put inside <HEAD>--</HEAD> ?
Or? Please advise...
Yes you may.
i dont think you can hide the address bar in IE8
check this out. to avoid phising they made it mandatory.
http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/402ecb05-9833-4ca1-83f1-f486056a1c04
check this out. to avoid phising they made it mandatory.
http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/402ecb05-9833-4ca1-83f1-f486056a1c04
If it doesn't work with IE8, try to put the following between < head > .... < / head >
<meta http-equiv="X-UA-Compatibl e" content="IE=7">
<meta http-equiv="X-UA-Compatibl
For instance :
window.open( 'Movie1.html','newwin','wi