By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,730 Members | 1,567 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,730 IT Pros & Developers. It's quick & easy.

req help: make page open 'itself' without toolbars

P: n/a
net
I know how to make a page open itself at a certain size and location - I
use:

<html>
<head><script language="Javascript">
window.resizeTo(370,220);
window.moveTo(10,10);
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
page content here</body>
</html>.

Problem is, this page opens with
toolbar,location,directories,status,menubar,scroll bars etc, which I don't
want. What extra script do I need that will make this same page open without
the toolbar,location,directories...etc.
Please note: this page isn't going on the internet, it's for personal use so
no-one's going to be pissed off with having their browser altered. I've also
tried lots of scripts so far but they all open another window in one way or
another which is unsuitable. I just seek script to add to the above so the
page creates itself without all the gumf.
Thanks for any help.
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
In article <10****************@ersa.uk.clara.net>, "net" <no****@nospam.org>
writes:

I know how to make a page open itself at a certain size and location - I
use:
<head><script language="Javascript">
window.resizeTo(370,220);
window.moveTo(10,10);
</script>

</head>

page content here
.

Problem is, this page opens with
toolbar,location,directories,status,menubar,scrol lbars etc, which I don't
want. What extra script do I need that will make this same page open without
the toolbar,location,directories...etc.
Please note: this page isn't going on the internet, it's for personal use so
no-one's going to be pissed off with having their browser altered. I've also
tried lots of scripts so far but they all open another window in one way or
another which is unsuitable. I just seek script to add to the above so the
page creates itself without all the gumf.
Thanks for any help.


The only way to open the browser via script without all the "chrome" that you
don't want is via the window.open call. Open a new window without the chrome,
close the original. Once the window is open, script has no ability to remove
the toolbars,menubars, etc.

--
Randy
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.