PDA

View Full Version : IE Toolbars!



chrisbees1
July 8th, 2003, 05:34 PM
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 :D

Digitalosophy
July 8th, 2003, 05:38 PM
hide several toolbars? why would you want to do this? are you using frames?

chrisbees1
July 8th, 2003, 05:40 PM
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?

Digitalosophy
July 8th, 2003, 05:42 PM
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??

Digitalosophy
July 8th, 2003, 05:43 PM
actually that has side scrollbars also let me see if you can take them out

chrisbees1
July 8th, 2003, 05:45 PM
nah i know how to do it on a pop up just not on the original window

Digitalosophy
July 8th, 2003, 05:47 PM
well sry u confused me, or i confused myself. i really don't thnk it's possible to do on the 1st window

chrisbees1
July 8th, 2003, 05:48 PM
ok np, do u know how to launch a window in full screen (maximised) instead then?

Digitalosophy
July 8th, 2003, 05:52 PM
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,s creen.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>

chrisbees1
July 8th, 2003, 05:54 PM
cheers

Digitalosophy
July 8th, 2003, 05:54 PM
lol no prob :)