|
 |
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 .
|
 |
|
|
 |

June 29th, 2004, 06:05 AM
|
Authorized User
|
|
Join Date: Jun 2004
Location: , , India.
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

June 29th, 2004, 06:15 AM
|
Friend of Wrox
|
|
Join Date: Jun 2004
Location: Stockholm, Sweden
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

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
|
|
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
|

June 29th, 2004, 06:22 AM
|
Authorized User
|
|
Join Date: Jun 2004
Location: , , India.
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

June 29th, 2004, 06:57 AM
|
Friend of Wrox
|
|
Join Date: Jun 2004
Location: Stockholm, Sweden
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

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
|
|
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
|

June 29th, 2004, 07:27 AM
|
Authorized User
|
|
Join Date: Jun 2004
Location: , , India.
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Madhu,
thats exactly what i needed great ...
thanks ... to u also Qazi ..
Sudhan.
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |