Forum Moderators: open
We plan to install this application on the users machine so here are my questions?
1. Has anyone figured out a way to do this in firefox?
2. Can I set parameters for a link in the start menu/desktop icon to open a browser window to my specifications?
Not being able to close the parnet window using javascript is a security feature that won't be easy to get around using a client side script.
As for your second option, you could use a script on the page that resizes the window:
<script type="text/javascript">
window.resizeTo(500,500);
</script>
HTH
Anyway... I don't remember exactly what I did... I remember having to manually allow javascript from "file:\\\" addresses, and I might have had to change an option in Firefox to allow non-script opened windows to be closed. I know I did it somehow... but it involved changing settings manually... something you will not be able to do for any clients you'd be releasing this product to... so I guess this isn't much help.