0

Hi,

When a web browser window is opened, only the menu options should be visible to users. I don't want other toolbars. Also, is it possible to blocking users add toolbar from the menu that will be visible to them. IE and Firefox please.

Thanks in advance

3
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by almostbob
0

PopUps PopOpen PopUnder are blocked by most
Anything like this would get you downgraded in searches, and have a negative impact on your site traffic
Use layers within your code to give the effect of popups without the stigma of popups

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript">
<!--
(document.getElementById) ? dom = true : dom = false; //check for IE or firefox DOM
function hideIt() {
 if (dom) {document.getElementById("layer1").style.visibility='hidden';} // IE
 if (document.layers) {document.layers["layer1"].visibility='hide';} }// ff
function showIt() {
 if (dom) {document.getElementById("layer1").style.visibility='visible';}
 if (document.layers) {document.layers["layer1"].visibility='show';} }
//-->
</script>
</head>
<body>
<button align="center" onClick="showIt();">Important Information</button>
<div id="layer1" style="position:fixed; left:20px; width:45%; top:20px; visibility:hidden;">
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td Align="right" onClick="hideIt()">
<font Color="#ffffff"><Strong>Close</strong></font>
</td>
</tr>
<tr>
<td>
<center><font size="+1"><b>Title</b>:</font></center>
bla bla bla bla bla bla bla bla bla bla bla bla
<UL compact>
<li>Green Green Green</li>
<li>Green Green Green</li>
<li>Green Green Green</li>
<li>Green Green Green</li>
<li>Green Green Green</li>
<li>Green Green Green</li>
<li>Green Green Green</li>
<li>Green Green Green</li>
<li>Green Green Green</li>
</ul>
</td>
</tr>
<tr>
<td Align="right" onClick="hideIt()">
<font Color="#ffffff"><Strong>Close</strong></font>
</td>
</tr>
</table>
</div>
</body></html>

didnt bother importing all the styles, but it runs as is, the styles just color code the buttons

0

Sorry. I think i should be a bit more spesific.

I mean address bar, standard buttons etc. should be disabled or removed when a new windows is opened.

0

Please, read detailed description of the methode open() of the object window, eg. here.
I suppose that what you request is something like:

window.open("./page.html", "the_name",  "left=350, top=25, width=800, height=500, menubar=no, toolbar=no, location=no, status=no, resizable=no")

In some discusion it is shown that you can change the attributes of curent window

window.locationbar.visible=false;
window.menubar.visible=false;
window.personalbar.visible=false;
window.scrollbars.visible=false;
window.statusbar.visible=false;
window.toolbar.visible=false;

but I never got success with those commands.

Jan

Edited by Reverend Jim: Fixed formatting

0

kiosk mode
at the machine, change the shortcuts to
Iexplore -k
Opera -k
unsure about firefox, but there is the 'public fox' plugin that is supposed to work in the same way

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.