/*CSS */
#popup { background-color: #fff; border: 1px #000 solid; display: block; position: fixed; padding: 20px; top: 200px; left: 50%; margin-left: -300px; width: 600px; z-index: 1; }
/* JQuery */
$('#show-popup').live('click', function()
{
var tempWindow = $('<div id="popup">This is a draggable pop-up window created with ...
When you click on the Flag link on S.O. it produces some kind of popup.
What kind of jQuery call would produce a similar popup?
...
I have a model called Details, and two controller methods new and create. New method displays a form to create Details (in new.html.erb), which gets posted to the Create method that saves it. (when it succesffully saves, it it renders the new.html.erb file with the details.) This works as expected.
Now i want a separate page with a link...
From a child popup window (opened using window.open), I am trying to change the URL of the window that opened me, e.g.
window.opener.location.href = 'http://www.google.com';
In all browsers this works wonderfully, except for IE8 (and I am somewhat sure it worked in previous IE8. Maybe a security update kills this).
In IE8 what happens...
Hi
The radio recently broke in our bedroom and as a result my missus now listen to various radio stations through her laptop. She moans that visiting various pages and clicking the 'listen' link is a bit of a pain. (Note to self: Must buy new radio!)
In the meantime, I have made a 'radio player' in VB 2008 Express, which is nothing ...
how do i call a link to itunes (itms://...) without opening a new window.
with window.open there comes a new window (as the function says :))
$.get('itms://...'); doesn't work.
Any other possibilitys :)?
would be thankful for help!
...
Hi,
I'm using AJEX PopUp Extender on Sharepoint web site but it not properly working
Please check this image to get an idea
http://img217.imageshack.us/img217/8789/ajex.jpg
...
The default behavior of a Popup is if it is placed where it would extend beyond the edge of the screen, the Popup will reposition itself. Is there a way to turn this behavior off?
I have a Popup that the user can drag around the screen. However, when it gets to the edges it gets stuck. It gets stuck on the edge and stays there until th...
HI all.
I have a static HTML page which is named via javascript as such: window.name = "windowname". This window opens a popup window, which contains links that target 'windowname'.
This works as expected in IE/FF/Chrome and opens the links on the opener, howeve Safari opens all links in a new window and not the opener.
Is anyone awar...
I have this odd problem with a third party script. On our site a popup window loads a demo of one of our applications when a link is clicked. The third party script is supposed to popup an additional window underneath at the same time or sometime thereafter.
(Yeah this sounds crazy but the popups must load in this way.)
Of course this ...
I'm trying to see which windows are being opened, but I dont know the window names as they are called.
How can I access them in JAVASCRIPT/DOM/or JQUERY?
Thanks!
...
Hi,
So here is my problem:
I have a panel containing another panel. We'll call them outerPanel and innerPanel. Now I want to show a third panel on top of the innerPanel when the mouse enters the innerPanel. For that third panel, I have created a custom popup based on this thread.
In InnerPanel, I have overridden the OnMouseEnter method
...
I've hit a very strange issue in adobe flex and I'm not sure how to solve it. I have a popup box that is called on creationComplete before startup of my main application. The popup simply asks for an email address and then the application is enabled showing the email address in a label component.
However, when I try to access the email ...
when I open popup window and set location=0 or location=no, url bar is still shown in IE8 and readonly.
How can hide it?
Thanks
...
Preface: wxWidgets 2.8.10 project on Windows.
I have a main application window (controls in a frame). If the user presses a hotkey, a pop-up window (implemented as a wxDialog) shows centered within the parent.
The behavior I want is if the user clicks outside of the pop-up window, on to the parent window, then the pop-up will dismiss, ...
Hi.
I want to create an error handler for a mvc project, but the error message should be displayed in a popup. I tried to override onException event of the controller, but I don't know how to get back to the initial page and show the popup. I don't want to be redirected to an error page. Any advices?
...
I am using fancybox to display both pop ups for video and images.
<script type="text/javascript" src="../jquery.fancybox/jquery.easing.1.3.js"></script>
<script src="../jquery.fancybox/jquery-1.3.2.min.js" type="text/javascript"></script>
<script type="text/javascript" src="../jquery.fancybox/jquery.fancybox-1.2.1.pack.js"> </script>...
I have a popup within a user control. The popup uses a TextBox to show a textual preview of data produced by the control.
How do I make the popup size itself to the user control it's inside of? With code as shown below, I find that the text box is sized according to its content, and the popup is sized according to the textbox.
It wor...
i tried openeing a new window using
window.open("lookup.htm","lookupWin", "height=400,width=500,resizable=false");
it works fine in IE, but in FF the pop up is still resizable. How to disable this resizing in FF as well?
...
I am trying to make a DHTML window on my website and I can actually get it to popup for me. The problem I am having with it is when it pops up it moves the text around on the page. I have seen examples of DHTML popups where this doesn't occur for instance here: http://dhtmlpopups.webarticles.org/basics.php or here: http://www.php-devel...