I suggest you ...

UWA.Controls.Popup - I cannot get status, toolbar or menubar to show up in popup

the netvibes documentation for the UWA.Controls.Popup has options for status, toolbar, location, menubar and directories. Each of these options are strings, are optional and have a default value of null.

The documentation does not give any examples of what the string values could be. I tried the following: true, 1, "yes", "status" and other things but have not been able to figure out how to show any of these in the popup.

1 vote
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Dave shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • AlK commented  ·   ·  Flag as inappropriate

    Hello,

    The correct usage is indeed using booleans, ex: new UWA.Controls.Popup({ toolbar: true }) . But browsers tends to implements only subsets of those options. For example, Chrome does not support displaying a toolbar ( https://bugs.chromium.org/p/chromium/issues/detail?id=82522 ). Firefox (and other) can't remove the location bar...

    For further informations about supported option in each browsers, please refer to https://developer.mozilla.org/en-US/docs/Web/API/Window/open

    If you want to be sure if a browser support an option or not, try using window.open directly, like this: `window.open("about:blank", "_blank", "location=yes")`. If an option is supported like this but not with `UWA.Controls.Popup(...)`, we'll be glad to fix it.

Feedback and Knowledge Base