When i click on a link popup page opens without any address bar,menu (navigation bar).The code is able to hide the navigation bar in ie6 and ie 7 but not able do it in ie 8.
how to hide navigation bar in ie8 using javascript?
Collapse
X
-
this the index file containing the code
Stage.htmlCode:window.open("stage.html","mywindow","location=no,titlebar=no,status=no,scrollbars=no,menubar=no,toolbar=no,directories=no,resizable=no,copyhistory=no,width=1013,height=745 ");
Containing details as follows
Code:<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Stage</title> </head> <body bgcolor="#ffffff" topmargin="0" leftmargin="0"> <center> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="1013" height="715" id="Stage" align="top"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="Stage.swf" /><param name="loop" value="false" /><param name="menu" value="false" /><param name="quality" value="best" /><param name="scale" value="noscale" /><param name="bgcolor" value="#ffffff" /><embed src="Stage.swf" loop="false" menu="false" quality="best" scale="noscale" bgcolor="#ffffff" width="1013" height="715" name="Stage" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </body> </html>
Comment
-
The code seems OK enough. If the browser settings don't allow certain things to be hidden, you can't really control that. See window.open(). If this for an intranet, then you may be able to tweak the settings of each browser.Comment
-
not for intranet but for internetThe code seems OK enough. If the browser settings don't allow certain things to be hidden, you can't really control that. See window.open(). If this for an intranet, then you may be able to tweak the settings of each browser.Comment
-
as acoder already mentioned ... when the browser settings don't allow to hide something then you cannot do it (this might go for all modern browsers to avoid url-spoofing etc.) ... the only way would be to not use window.open() to open a popup and use an inline element instead ... you might use a div with an iframe to 'simulate' an 'in-page' window if you don't want to use an inplace iframe ...Comment
-
That's correct. using DHTML gives you a lot more control and no need to worry about popup blockers. Not only that, but there's a large number of ready-made solutions out there. Search for "lightbox alternative" or similar. One other bonus: they look a lot nicer than popup windows.Comment
-
I need it in a full screenas acoder already mentioned ... when the browser settings don't allow to hide something then you cannot do it (this might go for all modern browsers to avoid url-spoofing etc.) ... the only way would be to not use window.open() to open a popup and use an inline element instead ... you might use a div with an iframe to 'simulate' an 'in-page' window if you don't want to use an inplace iframe ...Comment
-
hey Gits Is there any other idea to solve my problem.The swf file contains the seek bar which will be hidden if the navigation bar shows.Anyway which i could solve the problem.Plz helpComment
-
Comment
Comment