Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open parent window without tool bar

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hi!

i am working on an aplication in i require to open a html page by cliking the icon on the desktop without tool bar directly.there is one solution in which i open a child window without toolbar and then close the parent window. but this is not what i want because when u are asked for confirmation which i dont want


thanking in anticipation

shjiv
 
Its better to use the concept of HTA instead of HTML file, HTA stands for Hyper Text Application, You can handle ur problem through this.
What u hav to do is ... Put the following code in notepad:
-----
<html><head><title>Hyper Text Application</title>
<hta:application id=&quot;htax&quot;
applicationname=&quot;app&quot;
icon=&quot;favicon.ico&quot;
scrollflat=&quot;yes&quot;
border=&quot;normal&quot;
caption=&quot;yes&quot;
sysmenu=&quot;yes&quot;
showintaskbar=&quot;yes&quot;
selection=&quot;no&quot;
scroll=&quot;no&quot;
contextmenu=&quot;yes&quot;
windowstate=&quot;maximize&quot;>
</hta></head>
<body style=&quot;font-family:arial;font-size:11&quot; topmargin=0 leftmargin=0>
<iframe style=&quot;width:expression(document.body.clientWidth);height:expression(document.body.clientHeight)&quot;
frameborder=&quot;no&quot; src=&quot;</iframe>
</body>
</html>
------------------
Now save the file as application.hta, Remember to give HTA extension.
Now u can see this file in Internet browser (IE)
Hope it will work
Bye...

Peeyush Nigam
npeeyush@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top