|
-
Apr 3rd, 2001, 09:33 AM
#1
Thread Starter
Addicted Member
how do I hide the menubar/toolbar of the browser when a user opens my page, also, how do I disable the system menu (maximize/close)?
-
Apr 3rd, 2001, 09:02 PM
#2
Lively Member
In javascript I use window.open.
Code:
function openNewWindow()
{
newURL = "mypopuppage.htm"
window.open(newURL,"New Window","HEIGHT=400;WIDTH=400;scrollbars=no;resizable=no;toolbar=no;status=no")
}
If you want to do it in VBScript you'll want to use the showModalDialog function:
Code:
Dim retVal
retVal = showModalDialog("calender.asp",dialarguments,"dialogwidth: 370px; dialogheight: 370px; center: yes; status: no; help: no")
Hope this helps, Chris
-
Apr 4th, 2001, 07:13 AM
#3
Thread Starter
Addicted Member
yes I think this is one way to make it work, however i was looking for another solution since this one requires opening the page from another page with the arguments passed on...
i wonder whether there's an in-page script for this (the script that resides in the page itself)...
thanks lots for this and in advance for any new comments
-
Apr 4th, 2001, 08:04 AM
#4
Lively Member
ahhh, I see what you are saying. But how would that work? If you select a page to go to and then it changes your browser size, takes away your address bar, status bar, etc...How would you get all of that back without opening another instance of your browser? I don't think what you are wanting to do is possible, but if someone knows different, please show us. I will look myself. Chris
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|