Hi .
I want to know is their any way to disable the maximize button by using javascript or php.
Thankz in Advanz

Recommended Answers

All 9 Replies

try this or post your code...

window.open("","newWin","toolbar=no,location=no,resizable=no,
width=200,height=200,left=100,top=100")

Setting the resizable argument to no disables the maximize button.

[B]resizable=no[/B]
commented: correct!!!uqick respone lol! +2
Thanz yar,but can plz tell me where to use it.

whether i want to call a function and place it inside that?

like this

function func(){
//alert("hii");
window.open("","newWin","toolbar=no,location=no,resizable=no,
width=200,height=200,left=100,top=100")
}
</script>
<input type="button" onclick="func()" value="window"/>

try this:

<a href="javascript:;" onClick="window.open(yourpage.html,'no','scrollbars=yes,width=500,height=400,resizable=no ')" >View</a>
i tried it,,but it is opening a window with all its  controls enabled

my code is working on ie only....

it is working in IE ,not in opera and firefox.
anyway thankz

i hav gone tru te site,but its really a big desc..
so wat u conclide frm it.. whtr these can b done in firefox or not?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.