Resizing pop up window to zoom levels

We built a broadcast player that pops-up with the script:


The problem is, when someone zooms into the the player (or the parent frame for that matter) the pop-up window does not resize with it and the player overlaps within the window and some parts become hidden.

Is there any way to resize the window to fit it's contents when users zoom in? Would like to avoid enabling the scroll bars or just making the dimensions bigger. Thanks.


There is no way to know if a user has zoomed the browser, but there are some tricks to try to detect it.

See this thread: Catch browser's "zoom" event in JavaScript

Need Your Help

Google Map Marker dragging and zoom map issue

google-maps zoom drag

I received this project from a senior programmer, who has just left the company. This map had lots of issues out of which many are fixed.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.