Is there code to hide the taskbar in I-Net explorer, all menu icons, menu's and address bar? or perhaps make it AutoHide?

Member Avatar for iamthwee

Er I don't think so. I'm pretty sure it's something only the user has control over. Why would you want to do that anyway?

haha, I did it! So simple I could kick myself.

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
if (this.name!='fullscreen'){
window.open(location.href,'fullscreen','fullscreen,scrollbars')
}
// End -->
</script>

And to answer your question, it's for navigational purposes in Coursware.

Member Avatar for iamthwee

Hey that's simple but how do you close it? I had to terminate it using windows task manager.

Any window you open, with script, you can close, with script.

The typical approach is to add a button with onclick="self.close();" .

If you're asking how a user would close a fullscreen window... toggle out of FullScreen mode (F11 on Windows platform), and close it normally.

Any window you open, with script, you can close, with script.

The typical approach is to add a button with onclick="self.close();" .

If you're asking how a user would close a fullscreen window... toggle out of FullScreen mode (F11 on Windows platform), and close it normally.

You cannot toggle as it is JS that tells it to go fullscreen. You need a JS button to tell it to close.

<form>
<input type=button value="Close Window" onClick="javascript:window.close();">
</form>

or

<a href="javascript:window.close();">Close Window</a>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.