Click here to Skip to main content
15,910,878 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all&

my_window = window.open("ProjectPopupAddMilestones.aspx", "NewWin", "title=0,status=0,width=520,height=105,left=300,top=500,toolbar=no,resizable=no,menubar=no,location=no,scrollbar=no,modal");



It works in internet explorer but when i open it in google chrome it opens but with scroll bars i can resize it.
Is there any code for cross browser window.open?



please help me.


Thanks in advance
Posted
Updated 9-Aug-11 22:15pm
v3

1 solution

http://lmgtfy.com/?q=resizable%3Dno+chrome[^]

First hit contains this solution:
You just need to set the resize property in your css:

resize:none;

Or using inline style like : style="resize:none"
 
Share this answer
 
Comments
Sachin__Sharma 10-Aug-11 4:24am    
where should i write inline style as i am calling javascript function of Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
lnkbtnAddMilestones.Attributes.Add("onclick", "javascript:popuponclick();")

End Sub

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900