popup

Pop-up window scrolls back to the top when closed

/*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 ...

What type of Jquery call would produce a popup similar to what you get from the 'Flag' link?

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? ...

Posting a form through popup in Rails

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...

Changing the address of the opener window in IE8

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...

Supress pop-up with VB 2008 Express Edition

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 ...

[js] link to itunes (itms://...) without opening a new window

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! ...

AJEX PopUp Extender not properly working on IE

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 ...

make a WPF Popup not screen bound

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...

Targeting JS named opening window in Safari?

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...

In IE6, how can I determine if window.open is redefined?

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 ...

How can I access the children popup windows without knowing their handle names?

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! ...

ToolStripDropDown issue

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 ...

In Flex, How can I prevent my variable from losing state after being set?

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 ...

Popup window, how to Hide URL bar in IE8

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 ...

Proper way to get a wxWidgets pop-up window to dismis when the parent gets clicked?

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, ...

Show error message using popup in a mvc project

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? ...

closing fancybox doesn't remove black screen

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>...

How do I make a Silverlight popup with a TextBox fill its parent?

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...

how can we disable resizing of new popup window in firefox?

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? ...

DHTML popup window

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...