Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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.
Reply With Quote
  #2 (permalink)  
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
Reply With Quote
  #3 (permalink)  
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
Reply With Quote
  #4 (permalink)  
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.

Reply With Quote
  #5 (permalink)  
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
Reply With Quote
  #6 (permalink)  
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
Reply With Quote
  #7 (permalink)  
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.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:38 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.