Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 29th, 2004, 06:05 AM
Authorized User
 
Join Date: Jun 2004
Location: , , India.
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to silver_cuts Send a message via Yahoo to silver_cuts
Default window w/o menubar,toolbar ...

Hi folks,

How can we remove MENUBAR,TOOLBAR,ADDRESSBAR,STATUSBAR from a browser window .. like POP UP windows ...

Sudhan.

__________________
--------------------------------------------------
Sudhan Kanitkar.
Everything Is In Our Hands.
 
Old June 29th, 2004, 06:15 AM
Friend of Wrox
Points: 1,288, Level: 14
Points: 1,288, Level: 14 Points: 1,288, Level: 14 Points: 1,288, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2004
Location: Stockholm, Sweden
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi
Default

Dear Sudhan here is a function of java script which wil open a window of insertcolors.html which do not have MENUBAR,TOOLBAR,ADDRESSBAR,STATUSBAR


function ak_backcolor()
    {
        var mycolor = showModalDialog(subdirectory + "insertcolors.html", "", "dialogHeight:230px; dialogWidth: 250px; scroll: no; status: no; help: no;");
        myEditor.focus();
        myEditor.document.execCommand('BackColor', true, mycolor);
    }

Love 4 all
 
Old June 29th, 2004, 06:22 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: Cochin, Kerala, India.
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default

AFAIK, there is no way in general.

If you need your site/application to appear in IE alone, then there is a way. You can create a .hta file (html application file).

To create a .hts file please cut and paste the following script into a text file and save it in the name say, site.hta

<script language="JavaScript">
    window.open("http://yoursite.com/defaultpage.asp","Your_site", "height="+(screen.height-10)+", width="+(screen.width-10)+", left=0, top=0, status=no, scrollbars=no");
    self.close();
</script>

Just double click the file site.hta. It will start working.

In the above script, you can change http://yoursite.com/defaultpage.asp appropriately. This page will get opened in a window without menubar, toolbar, addressbar and statusbar.
You may adjust height and width also in the above script.

Best wishes,

Madhu
 
Old June 29th, 2004, 06:22 AM
Authorized User
 
Join Date: Jun 2004
Location: , , India.
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to silver_cuts Send a message via Yahoo to silver_cuts
Default

Hi Qazi,

Thats great .. works well ... but it would be great if i can something in VBSCRIPT

i know its possible in VBScript .. just dont know how to do it ...

Sudhan.

 
Old June 29th, 2004, 06:57 AM
Friend of Wrox
Points: 1,288, Level: 14
Points: 1,288, Level: 14 Points: 1,288, Level: 14 Points: 1,288, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2004
Location: Stockholm, Sweden
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi
Default

Sorry Sudhan I m not much familier with VBScript you can check that I think VBScript and Javascript have no much diffrence
LOL

Love 4 all
 
Old June 29th, 2004, 07:19 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: Cochin, Kerala, India.
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default

hi Sudhan,

This link contains the script required by you. You can view the source and get the script.

http://www.internet-nexus.com/books/...ce/05_open.htm
 
Old June 29th, 2004, 07:27 AM
Authorized User
 
Join Date: Jun 2004
Location: , , India.
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to silver_cuts Send a message via Yahoo to silver_cuts
Default

Hi Madhu,

thats exactly what i needed great ...

thanks ... to u also Qazi ..

Sudhan.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Horizontal Menubar using XSL and Java Script aaron385 XSLT 2 July 16th, 2008 03:09 AM
Access menubar of another application kg8299 Excel VBA 18 June 15th, 2007 07:53 PM
how to hide IE's addressbar, toolbar and menubar? MTLedari ASP.NET 2.0 Basics 6 April 12th, 2007 09:02 AM
how create menubar, menu, menu item in xsl vijayanmsc XSLT 1 June 5th, 2006 06:43 AM
ADP Menubar ginoitalo Access 2 April 11th, 2004 11:53 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.