popup

CSS Modal window and iFrame

两盒软妹~` 提交于 2020-01-15 10:59:12
问题 The following CSS opens a modal window within the iframe as it should. But I would like the modal popup to overlay the parent and not just within the ifram. Is there a way to modify the CSS to get the popup to overlay the parent? Just as a side note, the id of the iFrame may change, so I won't be able to rely on a specific id. All suggestions are appreciated, I'd even consider another tool such as javascript. <iframe frameborder="no" height="200px" id="066E0000001KmQ9" marginheight="0"

How to show a popup in primefaces with the requiredMessages, only if these messages exist?

大城市里の小女人 提交于 2020-01-15 05:04:06
问题 I want to show a popup with the requiredMessages of some inputText fields when I click on a submit button. But just only in case of there are those messages. I have tried with bean variable and javascript on the oncomplete tag, but I'm not able to make it work properly. If I put visible="true" in p:dialog, the popup is always displayed, although I try to control it from the commandButton. Now, I have this, but the popup is never displayed: <h:inputText id="Scheme" required="true"

How to show a popup in primefaces with the requiredMessages, only if these messages exist?

谁说胖子不能爱 提交于 2020-01-15 05:03:12
问题 I want to show a popup with the requiredMessages of some inputText fields when I click on a submit button. But just only in case of there are those messages. I have tried with bean variable and javascript on the oncomplete tag, but I'm not able to make it work properly. If I put visible="true" in p:dialog, the popup is always displayed, although I try to control it from the commandButton. Now, I have this, but the popup is never displayed: <h:inputText id="Scheme" required="true"

facebook application, dialogue to publish on user's wall, using javascript api, pop-up blocked in browsers

百般思念 提交于 2020-01-15 01:40:25
问题 i am using JS-API to generate a dialogue which asks for permission to publish the status message generated by my Application. given below is the screenshot of what i am talking about: here is the code: FB.ui( { method: 'feed', name: 'Facebook Dialogs', link: 'http://developers.facebook.com/docs/reference/dialogs/', picture: 'http://fbrell.com/f8.jpg', caption: 'Reference Documentation', description: 'Dialogs provide a simple, consistent interface for applications to interface with users.',

facebook application, dialogue to publish on user's wall, using javascript api, pop-up blocked in browsers

允我心安 提交于 2020-01-15 01:40:14
问题 i am using JS-API to generate a dialogue which asks for permission to publish the status message generated by my Application. given below is the screenshot of what i am talking about: here is the code: FB.ui( { method: 'feed', name: 'Facebook Dialogs', link: 'http://developers.facebook.com/docs/reference/dialogs/', picture: 'http://fbrell.com/f8.jpg', caption: 'Reference Documentation', description: 'Dialogs provide a simple, consistent interface for applications to interface with users.',

Select and focus an already existing window

孤街浪徒 提交于 2020-01-14 12:37:40
问题 I run an e-commerce website, and I need to get this popup working when a client submits an order. Ideally, the popop would appear when the order success page loads, but popup blockers will stop this. Instead, I generate the popup when the use clicks the "confirm order" button, but this obscures the 3DSecure page that the checkout redirects to before the order finishes. To counteract this, I create the popup when the user clicks "confirm order", but instantly refocus the main window; a pop

how to build a facebook comment like popup in android?

一个人想着一个人 提交于 2020-01-14 10:11:08
问题 I would like to make a popup box like facebook android app which opens up on pressing the comments button. i want to design the same kind of pop-up for my application . Can anyone let me know how it can be build or just guide me what is the requirement to design that kind of thing. Thanks. 回答1: you can achieve it through PopupWindow Here is the procedure of calling popup window over activity or fragment. Facebook using Rebound Library for awesome swing animations. But i used normal xml

How to make QComboBox popup upwards?

我们两清 提交于 2020-01-14 07:12:14
问题 my QComboBox -derived class lives in a QGraphicsScene at the bottom end of the (visible) screen - but it pops up downwards, thus out of view. (How) is it possible to force the popup to open above the widget? I've tried re-implementing showPopup like this: void MyComboBox::showPopup() { QAbstractItemView *popupView = view(); popupView->move(0,-100); //popupView->window->move(0,-100); QComboBox::showPopup(); } The result is, that the content seems to be shifted, but not the underlying popup

Custom PopUp to work like tooltip without time out

怎甘沉沦 提交于 2020-01-14 05:38:08
问题 I need to create a Customised PopUp to work like a ToolTip How can i achieve it i have worked on a code please check out and tell me where i need improvement import net.rim.device.api.ui.Graphics; import net.rim.device.api.ui.component.LabelField; import net.rim.device.api.ui.container.PopupScreen; import net.rim.device.api.ui.container.VerticalFieldManager; public class ToolTip extends PopupScreen{ private static VerticalFieldManager vfm; private LabelField lbl; private int xPosition;

Popping up a TextBox on mouse click over a PictureBox for adding custom note to picture

隐身守侯 提交于 2020-01-14 04:24:05
问题 In my C# winforms application, I have a picturebox which some bitmap images can be loaded into it. What I want to do is if user clicks somewhere within picturebox, at the mouse location a small textbox will be appeared and user can add a custom text (note) to the picture. I know how to write a string into a bitmap file, but I couldnt find a way to POP UP a textbox at mouse location, and automaticly add the text to the image when user wrote something and hit enter key. How this textbox and its