Open New Window

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
desmondlk
Forum Commoner
Posts: 27
Joined: Tue Sep 24, 2002 10:27 pm
Location: Malaysia

Open New Window

Post by desmondlk »

Hi All,

May I know how to open a new window without the minimize and close button on the top right corner of brower?

<script>

MyWindow = window.open('show.php', +
'Show_Progress', 'location=no,scrollbars=no,menubar=no,'+
'toolbar=no,status=no,resizable=no,top=240,left=250,'+
'height=30,width=300');

<--end-->

Please help.

Thanks in advance.

Regard,
Desmond.
evilMind
Forum Contributor
Posts: 145
Joined: Fri Sep 19, 2003 10:09 am
Location: Earth

Post by evilMind »

Not sure if you can remove those... I thought that the min+max+close buttons were a window manager sort-of thing, and not really having to do with the browser....
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

i have seen some frameless windows..might wanna try here
http://www.dynamicdrive.com
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

there's a difference between the manager bar and the instance of the program. the min/max/close are done by a window manager, if it's even possible you probalby do NOT want to, because it will likely require some sort of permission that LOOK like you are attacking the viewer, which could result in issues for you. consider what happens if someoen misinterprets what's going on and sends your site to their local authorities. some of the new laws congress has passed against hacking may actually open you to legal issues even though you aren't trying to. a number of the more recent ones have been critisized for going to far and getting innocent people as a result of not qualifieing by creating conditions based on what's going on.
Post Reply