IE Toolbars!

Hi this should be a quick question for ya…

I want to hide several differnet toolbars when my website loads up.

I know how to do it on a pop up window but dont know how to actually do it on the current window that is open…

This is where u guys help :smiley:

hide several toolbars? why would you want to do this? are you using frames?

no im not using frames, well the website will have some i-frames but thats nothing to do with it.

Do you know how i can get the toolbars to hide?

well i asked because if you want to hide the tool bars on the side, you can’t, unless yu do soemthign liek this

http://www.hylansupply.com

you can copy my javascript from the source code, that might help

is that what u meant??

actually that has side scrollbars also let me see if you can take them out

nah i know how to do it on a pop up just not on the original window

well sry u confused me, or i confused myself. i really don’t thnk it’s possible to do on the 1st window

ok np, do u know how to launch a window in full screen (maximised) instead then?

yea look at the cod on that page, if that’s what you want, it detects resolution and fits browser accordingly


<SCRIPT language="JavaScript">
self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);
</SCRIPT>

<script language="javascript">

/* Variable Declarations */
var isMac = (navigator.userAgent.indexOf("Macintosh") != -1);
var isWin = (navigator.userAgent.indexOf("Windows 95") != -1 || navigator.userAgent.indexOf("Windows NT") != -1);
var isNS =  (navigator.appName == "Netscape");
var isIE =  (navigator.userAgent.indexOf("MSIE") != -1);
var ieWin = (navigator.userAgent.indexOf("MSIE") != -1 && (navigator.userAgent.indexOf("Windows 95") != -1 || navigator.userAgent.indexOf("Windows NT") != -1));
/*Kill*/
function reload() {

			if (window.parent.frames.length > 1) {
				window.open("http://www.delusioanlfx.com/index.htm", "_top")
			}
		}
/* Working Around Netscape Resize Bug */
if (isNS){
	origWidth = innerWidth;
	origHeight = innerHeight;       
}

/* Function: Restoring The Size */        
function restore(){       
	if (innerWidth != origWidth || innerHeight != origHeight){
	location.reload();
	}
}       

/* Function: Restoring The Size */        
if (isNS){
	onresize = restore;
}
</script>

cheers

lol no prob :slight_smile: