|
-
June 7th, 2002, 03:44 AM
#1
Browser Window
All,
I don't usualy write scripting code but I am working on a project that requiers me to minimize the browser window programaticaly.
Does anyone know how to minimize the browser with VBScript
or JavaScript??
This forum is great, thanks to all??
MPenland
-
June 7th, 2002, 05:42 AM
#2
Re: Browser Window
Originally posted by Michael Penland
All,
I don't usualy write scripting code but I am working on a project that requiers me to minimize the browser window programaticaly.
Does anyone know how to minimize the browser with VBScript
or JavaScript??
Hmm..which kind of situation requires to minimize the window? Could you be a little more specific, and I think we'll find a suitable solution for your problem.
Do you have to hide window for while, or set focus off (blur) from window instance?
Zvona - First aid for client-side web design
-
June 7th, 2002, 07:55 PM
#3
The situation is that I am writting chromeless window interfaces to my VC++ moduals and want the user to be able to minimize.
I Create my own titlebar type minimize buttons. That is what I want the minimize functionality for.
Thanks
MGP
-
June 8th, 2002, 04:45 AM
#4
Oh, I understand. Well, there's no standard methods for minimizing window. I tried to search from MSDN Library about window-object manipulation, but no references regarding to minimization were found.
One thing I figured out, is blurring the window instance. This however, requires that other window instance exists (where to focus on).
Another thing would be like :
Code:
<script type="text/javascript">
function zMinimize()
{
window.resizeTo(0,0);
window.moveTo(0,screen.height-50);
}
</script>
Above function will resize your window instance to zero (only chrome will be seen) and re-position it to lower-left corner. I've seen some applications doing this as minimization.
Hope at least one of my advices help you to find a solution.
Zvona - First aid for client-side web design
-
June 8th, 2002, 08:46 AM
#5
I have looked at this approach and wanted to see if
I could minimize to the task bar.
-
June 8th, 2002, 08:49 AM
#6
Am I correct in assuming that the functionality of the title bar is governed by the operating system not the browser.
MGP
-
June 24th, 2002, 01:49 AM
#7
This link has some code related to chromeless window
http://www.dynamicdrive.com/dynamici...chromeless.htm
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
|