popup

How can I get properties of controls contained in a popup message box using VB.Net

孤街浪徒 提交于 2019-12-19 04:55:31
问题 I'm working on a VB.Net project where in part of it I catch a pop up message box when it's displayed and handle it in some way. My problem is that I have to know what buttons are included in this pop up window (their captions mainly). Is this possible? Can someone please tell me how this can be done? A sample would be much appreciated. Thanks. Update: Since I got a down vote, and Ed Cottrell told me that this is because of not adding any code related to my question. Now I have the answer to

Facebook Login not open in Safari/ iPhone

∥☆過路亽.° 提交于 2019-12-19 03:21:45
问题 I am creating one application which show Facebook friend. First, user need to click on login button then one simple popup screen will appear after filling login id and password it will show friend list. Everything ok and run on Firefox, Chrome,IE but it will not open popup in Safari and iPhone. someone suggest me add domain name and channel name in channelUrl . I create one channel.html and add reference but it didn't help me. I search lot's but didn't find helpful. Here is my code. Custom.js

Angularjs $window.open popups being blocked

大城市里の小女人 提交于 2019-12-19 02:54:11
问题 I am trying to use the Github API's web auth flow from within an AngularJS app. When my signup form submits, I want to open a new window to send them to the the auth page. Normally I would just use window.open inside a user event to ensure it wouldn't get caught by a popup blocker. In my angular app, I am wrapping a bit of the Github api in and Angular service, and the code to open the window goes in there. Because of that it gets blocked. I also tried putting it in a function in the

How do I fire a modal for the next step in my introjs?

旧街凉风 提交于 2019-12-18 17:26:42
问题 So IntroJS works off of the data-intro and data-step attributes. So for instance my logo looks like this: <h1 id="logo" data-step="1" data-intro="Welcome to MyApp, where you can start creating an album for generations! Let us help you get started."> But for step 3 it is on an element that when pressed, the next step should be on the modal that would appear if the element in Step 3 was pressed. I have this as my Step 4 which doesn't work: <div class="popup" id="add-images-step-1" data-step="4"

Tab key not working in popup in chrome extension

China☆狼群 提交于 2019-12-18 15:34:33
问题 I have created a chrome extension that has a popup with the following HTML markup in it: <html> <head> <style> body { font-family: 'Open Sans',arial,sans-serif; background-color: #E5E5E5; font-size: 13px; text-shadow: 0px 1px rgba(255, 255, 255, 0.5); } </style> </head> <script type="text/javascript">function sendRequest(s,r){ chrome.tabs.getSelected(null, function(tab) { chrome.tabs.sendRequest(tab.id, {search:s , replace:r}, function(response) { console.log(response.farewell); }); }); }; <

Windows 10 : naming programs main.exe cause them to show pop up

孤街醉人 提交于 2019-12-18 14:12:36
问题 On windows 10 when we create a program named main.exe or rename a program to main.exe , the program will show a pop up as seen here : There is 2 different pop up than can be shown : -the game bar one (French and English version): -the screenshot one : (In English: Press Win + Alt + PrintScreen to take a screenshot) I originally discovered the problem while using python and cx_freeze, I have tested this on multiple programs, including (as seen above) renaming notepad++.exe to main.exe , and

popup window blocked in ajax success handler

£可爱£侵袭症+ 提交于 2019-12-18 12:29:44
问题 I am trying to open a popup window to allow a user to authenticate with twitter without having to leave the page they are viewing. I have seen this technique used around the web, particularly with the Disqus commenting application. However, I am only able to get two results, either a 'Popup window blocked' message or nothing even happens. I have tried using the approaches outlined here and here. How can I fix this? My code currently looks like: var windowSizeArray = [ "width=200,height=200",

How to dismiss a popup in Silverlight when clicking outside of the control?

点点圈 提交于 2019-12-18 11:45:54
问题 In my Silverlight UI, I have a button that when clicked pops up a control with some filtering parameters. I would like this control to hide itself when you click outside of it. In other words, it should function in a manner similar to a combo box, but it's not a combo box (you don't select an item in it). Here's how I'm trying to capture a click outside of the control to dismiss it: public partial class MyPanel : UserControl { public MyPanel() { InitializeComponent(); } private void

Display portlet in pop-up Liferay

时间秒杀一切 提交于 2019-12-18 08:58:21
问题 I am trying show a portlet (that previously I have created) from another one, but the pop-up is empty. First, I create the renderURL: <liferay-portlet:renderURL var="testPopupURL" portletName="<%=rule.getBannerPortletId() %>" windowState="<%=LiferayWindowState.POP_UP.toString() %>"></liferay-portlet:renderURL> and I do the link: <aui:a href="#" onClick="showPopup('${testPopupURL}')">View</aui:a> and this is the function showPopup: function showPopup(url){ console.log("En el showPopup "); AUI(

PHP/Javascript Session Timeout with warning

巧了我就是萌 提交于 2019-12-18 05:27:05
问题 Does anyone know where I can read a tutorial on, or know how to create a Javascript-based session timeout that has a warning built in, and optionally these features: user activity resets the timer interacts with database (last seen on, etc.) if inactive, it will log out users (by redirecting to a logout.php page) before it logs users out, it will display a popup message that asks if they want to continue Unfortunately, I don't know too much about Javascript. 回答1: I don't know how your website