Talk:Resizing popups

From MozillaZine Knowledge Base
Jump to navigationJump to search

Is this covered by web standards?

Is this issue a bug in Firefox or is this a web standards issue? Or something else mayhaps... I really think that the default should be changed, what's the point of the current default? --FatJohn 14:03, 13 June 2006 (UTC)

Webpage authors can disable a number of features in new windows, as was recently discussed here. Setting the dom.disable_window_open_feature. resizable preference to "true" Prevents popup window resizing from being disabled. Why that particular preference is not set to "true" by default, or isn't one of the UI preferences shown in the "Advanced" JavaScript settings, I don't know. (Note: unchecking "Move or resize existing windows" in Firefox Content options, "Advanced" JavaScript settings, will prevent webpage scripts from both moving and resizing windows.) Here is the reference on not allowing website authors to disable window resizing, from About:config entries: Alice Wyman 01:15, 14 June 2006 (UTC)


Name Type Meaning of Values
dom. disable_window_open_feature. * Boolean Web Page authors can disable many features of a popup window that they open. Setting these preferences to true will override the author's settings and ensure that that feature is enabled and present in any popup window.
close: Prevents the close button from being disabled.
directories: Prevents the bookmarks toolbar from being hidden.
location: Prevents the address bar from being hidden
menubar: Prevents the menubar from being hidden.
minimizable: Prevents popup window minimization from being disabled.
personalbar: Prevents the bookmarks toolbar from being hidden.
resizable: Prevents popup window resizing from being disabled.
scrollbars: Prevents the scrollbars on a popup from being disabled.
status: Prevents the status bar from being hidden.
titlebar: Prevents the title bar from being hidden.
toolbar: Prevents the navigation toolbar from being hidden.
P.S. I added a link to about:config in the article so that users have a reference. Alice Wyman 01:15, 14 June 2006 (UTC)

Why are some popups the wrong size for the content?

Hi there! I meant the issue of the content being too small for the popup windows. Do the web page authors define the popup window size? Are they defining it wrong then or why do we actually need to worry about resizing them? (I've seen those too small windows but have no idea what the deal there really is) --FatJohn 04:37, 15 June 2006 (UTC)

Hi FJ! Sorry, the first sentence of the article did say that sometimes, pop-up windows are too small to display all their content, I should have figured that was what you meant when you asked, Is this issue a bug in Firefox or is this a web standards issue?. In any case, from what little I know about JavaScript and page coding (and that would be minuscule!) and from what I see in this microsoft article and in newwindow.restriction (which links here) I would say that the size of the popup window is controlled by the web page author, but the JavaScript used to create the popup might work differently depending on the browser (possibly overriding the height and width settings?) , so that might be a web standards issue. In a nutshell, I don't know the specifics! Could you post an example of a web page that results in one of those popups that needs to be resized? Or a forum link? I'm afraid I don't ever remember coming across one. Hopefully someone else can explain why a particular popup is the wrong size for the content. Alice Wyman 13:40, 15 June 2006 (UTC)
P.S. After looking here again, I noticed the link to bug 176320 so incorrect windows size for some popups might also be bug-related. Again, I don't know enough about JavaScript to be more specfic. Alice Wyman 14:13, 15 June 2006 (UTC)
Thanks for your complete reply. I'm big on popup blocking so I rarely see a popup of any dimensions. Should I come up with an URL, I'll post it here. We must be glad that this potentially complicated issue has such an easy workaround... --FatJohn 15:49, 16 June 2006 (UTC)

Article name

This article name seems a little awkward; does anyone prefer "Resizing popups", for example? (Or do we plan on having a whole series of "making popups ... " articles?) --Mozcerize 09:11, 14 June 2006 (UTC)

"Resizing popups" does seem like a better article name; alternately, "Resizing pop-up windows", if using "pop-up" as an adjective (notwithstanding the use of the term "popup window" in the about:config entries article reference!). We just got finished discussing pop-ups or popups? in the Popups_not_blocked article discussion, here and we decided to go with popups if using the term as a noun. Alice Wyman 13:03, 14 June 2006 (UTC)
I just came up with a random name (with no series in mind, however that might be a nice idea though...), feel absolutely free to rename. (maybe put a redirect into the place of the old article) --FatJohn 04:37, 15 June 2006 (UTC)
When you move articles, the wiki automatically makes a redirect. You just have to be sure other things redirecting to the old name redirect to the new name (Special Pages -> Double Redirects) --Np 17:24, 15 June 2006 (UTC)
Somewhat OT but can I ask how you go about moving or renaming an article, other than creating a new page and then redirecting the old page to the new one? Is moving/renaming done only by sysops or can anyone do it? Is there an article somewhere with instructions on doing such things? Just curious. Alice Wyman 19:37, 15 June 2006 (UTC)
I have a link on the right called "Move". I don't know if you do.--Np 19:46, 15 June 2006 (UTC)
Yes, I do, thanks. Never knew about that. Alice Wyman 00:55, 16 June 2006 (UTC)
The new name is better. Thanks for the info np, I had no idea either... --FatJohn 15:44, 16 June 2006 (UTC)