We help IT Professionals succeed at work.
Get Started

Remove scroll bar and tool bars

The_Master_Chief
on
6,720 Views
Last Modified: 2012-06-08
Hi guys, it's me again.  I just wanted to know hot to remove the IE tool/menu bars and the scroll bar on a window.  Once again here is my script:


<html>

<head>

<script language="JavaScript">
<!--
// This will move the window when it is opened or
// refresh/reload is clicked to a location zero pixels to the left
// and zero pixels from the top. Left command goes first,
// top to bottom comes after
self.moveTo(0,0)

 
// This will resize the window when it is opened or
// refresh/reload is clicked to a width and height of 368x413
// with is placed first, height is placed second
self.resizeTo(368,432)
l=(screen.width-432)/2
t=(screen.height-368)/2
self.moveTo(l,t)
-->
</script>

<script language="JavaScript"><!--
function refreshIt() {
   if (!document.images) return;
   document.images['myCam'].src = 'imagecam.jpg?' + Math.random();
   setTimeout('refreshIt()',2000); // refresh every 2 secs
}
//--></script>
</head>

<body onLoad=" setTimeout('refreshIt()',2000)">

<img src="imagecam.jpg" name="myCamReal">
<img style=display:none onload="document.images['myCamReal'].src=this.src" src="imagecam.jpg" name="myCam">

</body>

</html>
Comment
Watch Question
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE