popup

hide bar address in popup ( chrome ) [duplicate]

喜欢而已 提交于 2019-12-05 11:30:29
问题 This question already has answers here : Open new popup window without address bars in firefox & IE (6 answers) Closed 6 years ago . I'm looking for this, but I don't find the solution. I'm opening a popup using: window.open(url, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, copyhistory=no, width=w, height=h, top=top, left=left'); All is ok, but it doesn't work, at least in chrome, and I need it working. I found solutions like location

Invisible opened popup

十年热恋 提交于 2019-12-05 11:19:33
Second day fighting this issue. To reproduce, create new WPF application, xaml <StackPanel Orientation="Horizontal" VerticalAlignment="Top"> <Button Width="100" Height="100" MouseMove="Button_MouseMove"/> <Popup x:Name="popup" StaysOpen="False" AllowsTransparency="True" Placement="Center"> <TextBlock>Some random text</TextBlock> </Popup> <CheckBox IsChecked="{Binding (Popup.IsOpen), ElementName=popup}">Popup</CheckBox> </StackPanel> and code private void Button_MouseMove(object sender, MouseEventArgs e) { popup.IsOpen = true; } Mouseover button to open popup, click elsewhere to close. Click

Javafx popup won't hide behind other application upon losing focus

末鹿安然 提交于 2019-12-05 11:06:31
So my question, as stated (sort of) in the title, is about the behaviour in some respects of the Javafx (namely 2.2) Popup. Most of the time, you get a popup, and you give it a window to act as it's parent, you give it some scene, and it tends to act relatively independently. This is all fine, however, in my case, I needed a popup that would anchor itself to a particular stage (window), at a particular location, when an event happened. That popup would then, in turn, disappear when the window disappeared (minimize, off screen, whatever), moved when it would, and in all essence and

Can I modify JComboBox popup background color of an existing object?

让人想犯罪 __ 提交于 2019-12-05 10:21:25
I have an existing JComboBox object. I can modify many of its properties using the internal methods. However, I could not find similar methods to customize the popup's appearance - specifically, the popup's background color. I have an existing object, so I wish to use its existing methods/properties, not to write a dedicated class. Is this possible? Note: this question is NOT the same as the linked question above (which incorrectly states that this question already has an answer): that question asked about the selected item 's bgcolor (in the combobox's editbox); I am asking about the popup

How to open a popup window from an adapter class

谁说胖子不能爱 提交于 2019-12-05 10:17:25
I created a class for showing employee details in a CardView inside a RecyclerView . New requirement is to show a popup window of card while clicking. So I added setOnClickListener and it works fine(I got card name in Log). But how do I open a popup window from this click? Actually am a newbie in android public class EmployeeCardAdapter extends RecyclerView.Adapter<EmployeeCardAdapter.ViewHolder> { private Context context; private EmployeeBean employeeBean; private ArrayList<EmployeeBean> employeeList; public EmployeeCardAdapter(Context context, ArrayList<EmployeeBean> employeeList){ this

How to create Form Sheet popup for iPad (iOS 8.1)

只谈情不闲聊 提交于 2019-12-05 09:23:49
I want to make very basic popup window by using Swift (8.1) with presentation type "Form Sheet", it should be a window that float at the middle of the screen without tales. I created two View Controllers, one button and connect the button from one controller to another with parameter "Present As Popover". Second view controller was selected as "Form Sheet", but the result is wrong: Why? Don't present it as a Popover. You want the segue to be Modal and present it as a form sheet. In the storyboard, click on the segue and change the "Segue" to "Modal" EDIT In my haste, I used an Objective-C

iPhone SDK: Do I need to ask user for permissions to use GPS?

南笙酒味 提交于 2019-12-05 09:08:00
In my iPhone application I need to use GPS (CoreLocation to be exact) to get current position of the device. I know that most (if not all) applications using GPS have a popup implemented asking the user to allow GPS access. Is that done automatically by the iPhone SDK or should I implement such functionality myself? I've tried to run my app on iPhone Simulator and it didn't ask for permissions at all so I'm wondering if the same thing will happen on the actual phone. And if I implement that itself and the SKD provides that out-of-the-box then I'll have two confirmation in my app which I don't

jQuery mobile open popup from popup

Deadly 提交于 2019-12-05 07:20:45
I'm using jQuery mobile 1.9.1 min on PhoneGap. I have a list where each iten on click opens an actions popup: function showActions(index){ selectedIndex = index; $("#actionPopup").popup("open", {positionTo: '#list li:nth-child('+ index +')'}); } <div data-role="popup" id="actionPopup" data-overlay-theme="a"> <a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Close</a> <ul data-role="listview"> <li data-role="divider">Actions</li> <li data-icon="false" onclick="showDetails();">action1</li> <li data-icon="false">action2</li

How do you print from a popup window in javascript?

帅比萌擦擦* 提交于 2019-12-05 06:38:35
I have a .Net application that dynamically creates a small HTML page and pops it up in a new window using the javascript document.open method. Everything with that functionality is working fine. Now I want to add a button to the HTML page that prints the page. I have tried using the following code to no avail: <a href='print.html' onClick='window.print();return false;'> <img src='images/printer.png' height='32px' width='32px'></a> When the button is clicked in the popup window, nothing happens. But when the source code of of this page is saved and loaded in a browser as a separate page, the

About the “body” parameter for tinymce's “windowManager.open” method

拈花ヽ惹草 提交于 2019-12-05 06:30:56
I'm looking at this example w.r.t creating tinyMCE plugin. What I want to do is to open a popup, and the content inside the popup is specified programmatically, without having to load a physical page at certain url: Add an input element of type=file in tinymce container Basically the author solved the issue about a plugin he was trying to create. I'm trying the same code but the popup is completely empty for me, no errors, any suggestions? Where can I find info about the "body" parameter when calling "windowManager.open", like: // Open window editor.windowManager.open({ title: 'Example plugin'