popup

asp.net/jQuery: post data with jQuery to a popup [IE]

痞子三分冷 提交于 2019-12-12 10:44:26
问题 I'm trying to post data with jQuery in an asp.net application to a popup. If the popup opens, I'm getting three errors. The first error is: Errror: the value of the property is null or undefined not a function object (error code [code is in popup site]:http://www.suckmypic.net/26449/e65f2d77.png, orig. code [code is in popup site]:http://www.suckmypic.net/26450/7dfdf013.png) then I'm getting two errors of private functions which are included correctly. Then - if I'm reloading the popup window

Open External Page in Popup in jQuery Mobile

橙三吉。 提交于 2019-12-12 10:43:30
问题 I'm using jQuery Mobile. Actually i want open an externl link in a popup. I tried this. <a href="#" id="dialoglink" data-rel="dialog">Open Dialog</a> <script> $(document).delegate('#dialoglink', 'click', function() { $(this).simpledialog({ 'mode' : 'blank', 'prompt': false, 'forceInput': false, 'useModal':true, 'fullHTML' : 'http://www.google.com/' }) }); </script> It is opening a popup the content is the text http://www.google.com/. But i actually want to load the url. i.e google index page.

JavaFX popup hidden when stage is in fullscreen mode

£可爱£侵袭症+ 提交于 2019-12-12 10:03:22
问题 I am trying to popup a dialog over my fullscreen primary stage in javafx. When I create my popup, it is unexpectedly hidden behind my fullscreen primary stage until the stage is removed from fullscreen mode (via ESC ). If I make my primary stage maximized and undecorated instead of fullscreen, then my popup will appear on top of the primary stage as expected. Am I missing something about how fullscreen mode is different than maximized and undecorated mode? Am I using fullscreen mode

Leaflet Mouseout called on MouseOver event

夙愿已清 提交于 2019-12-12 09:34:43
问题 I have a leaflet map where I'm dynamically adding markers. I want to call the popup for a marker when I hover over it in addition to when I click the marker. My code is: function makeMarker(){ var Marker = L.marker... Marker.on('mouseover', function(){Marker.bindPopup('HI').openPopup();}); Marker.on('mouseout', function(){Marker.closePopup();}); } If I comment out the mouseout line, then the popup appears but then I have to click elswhere to close it. The problem is when I put in the mouseout

HTML/Javascript popup box with table

感情迁移 提交于 2019-12-12 09:04:20
问题 In my application I have a button, when the user clicks on the button I want a popup box (not window) to appear with a table populated with information I pass in to it. I have been looking online and cant seem to find how to do this, or even where to start (use all HTML, use all Javascript, use both HTML and Javascript). Has anyone done something similar to this or know a good starting point for this (e.g. what components to use)? 回答1: There's a range of frameworks that'll do the trick for

How to pass data to parent window from popup window?

家住魔仙堡 提交于 2019-12-12 08:22:00
问题 How can I pass some data or call a function on the parent window from a popup window? The user will click a link which will open a popup on the same website, once he is finished with the popup, I want it to send the new data back to the parent window, or call a function on the parent window. 回答1: The window.opener object is what you're looking for, used it from within your popup like so to call the a function of the parent window: window.opener.yourFunc() 回答2: Here is a fun and easy demo that

Position javascript window.open centered on secondary screen?

馋奶兔 提交于 2019-12-12 06:06:42
问题 I have this code from an example: <script type="text/javascript"> function open_and_move2(){ win3=window.open("page.htm","","width=600,height=500") win3.moveTo(screen.width/2-300,screen.height/2-250) } </script> It works just fine with the exception that, if the browser window is located at a secondary screen, the javscript window pops up on the main screen. Seems like the calculated offsets would be correct for the secondary screen, but the offsets are executed on an absolute scope. I would

PHP External Oauth : how to displaying a waiting message while waiting for callback (not using AJAX)

一笑奈何 提交于 2019-12-12 05:15:24
问题 We allow external OAuth using PHP APIs to several social networks. When the user choose external authentication, a new window (popup) is opened, where the application asks authorization. Then, still in the popup, the user is redirected using the callback url given to the external application. The callback script performs various tasks (login, checks, synchronization,...) that may requires some time, before the popup is closed, and the mother page updated. While those task are performed, the

Dynamic positioned hover popup

风格不统一 提交于 2019-12-12 04:59:13
问题 How to create dynamic positioned hover popup, that can change direction from left to right depending on parent indent without tooltip plugins HTML <div class="main"> <div class="visible">visible content</div> <div class="hidden">hidden content</div> </div> JS $('.main > .visible').hover(function () { $('.hidden').show(); }, function () { $('.hidden').hide(); }); example (when hover over poster popup change the direction) http://www.ivi.ru/videos/all/all/all/by_new/?year_from=2010&year_to=2012

Starting Dialog from QuickAction Button

好久不见. 提交于 2019-12-12 04:58:45
问题 I have an app with a quickaction shown once a button is pressed. The quickaction shows a popup like in the Gallery 3D application for android, and when an action is clicked, I try to show a dialog, but I recieve a force close. Debug in Eclipse points to the slideDialog.show(); line, but I need that to show the dialog, right? Here's an example of one of those quickaction/dialogs. final ActionItem third = new ActionItem(); third.setTitle("Adjust Brush Width"); third.setIcon(getResources()