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

Opening Internet explorer wihtout the nav bar etc.

P: n/a
ASD
Hi

Is this doable:
I have a shortcut on my desctop that points to web location. When a
user clicks on it the Internet explorer opens the web location but
without the navigation bar status,location bar address bar, but with
resize handlers.
Ok, if this cannot be done is there a javascirpt that can imediatly
remove this when the page is called?

Thanks!!
Jul 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
bo*******@hotmail.com (ASD) writes:
Is this doable:
I have a shortcut on my desctop that points to web location. When a
user clicks on it the Internet explorer opens the web location but
without the navigation bar status,location bar address bar, but with
resize handlers.
Maybe if the extension is .hta, i.e., an HTML application.
Look it up.

Ofcourse, it requires the user to have Internet Explorer. And a
desktop. :)
Ok, if this cannot be done is there a javascirpt that can imediatly
remove this when the page is called?


No. You can't change the composition of an existing window, only new
windows.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #2

P: n/a
I emailed this off list to books1999 before Lasse posted, but since Lasse
mentioned it, I'll share the code with everyone online.
(note that the style attributes and width/height keep the i-frame expanded)
-----------------------------
<html><HTA:APPLICATION>
<head>
<title>hta file for chromeless window
</title>
<style type='text/css'>
body{ margin-left:0px;
margin-top:0px;
margin-right:0px;
margin-bottom:0px;
}
</head>
<body >
<IFRAME name='myframe1' application="yes"
src="http://www.yahoo.com"
scrolling="no"
width="100%" height="100%"
frameborder="0">
</IFRAME>
</body>
</html>
Jul 20 '05 #3

P: n/a
PS: it looks like my code was posted without the html and body tags... please
insert where appropriate!
Jul 20 '05 #4

P: n/a
ji*******@aol.comNoSpam (JimMenees) writes:
PS: it looks like my code was posted without the html and body tags... please
insert where appropriate!


It must be your client that hides them. I can see them in your post.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #5

P: n/a
Lasse Reichstein Nielsen wrote:
bo*******@hotmail.com (ASD) writes:
Ok, if this cannot be done is there a javascirpt that can imediatly
remove this when the page is called?


No. You can't change the composition of an existing window, only new
windows.


Depends on the DOM. In the Gecko DOM of Mozilla/5.0 you can access
properties of properties of window to manipulate the GUI:

window.menubar.visible
window.toolbar.visible
window.locationbar.visible
window.personalbar.visible
window.statusbar.visible
window.directories.visible

By assigning `true' to the property, the respective GUI element is
shown, otherwise it is hidden. Nobody wants to do this on a Web site
without asking the visitor first, of course.
PointedEars
Jul 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.