popup

Close a popup browser window only if the user saves the downloaded file

We have a popup window where the user makes some selections and clicks on a button to generate a pdf file. We show a progress display (animated gif), and then eventually send the pdf contents to the user with content-disposition: inline. The user then usually prints the pdf file. For some users, there is no inline browser viewer for pdf...

How to customize windows default right click pop-up menu

Hi! I have two questions. My first one is, that how can i "put" something into the default windows right click pop-up menu? I mean, if i click with the right mouse button on an .exe, then the default things appers(like cut, copy, send to, run as...), but how can i put there one extra line, like "MyApp", which will start my application? ...

How to generate a popup window like that in Google maps using Jquery or Jquery plugin?

When you use Google Maps, you click a marker on a map, then a window will pop up. You can even enter your mobile phone number and receives a sms from Google. How to generate that popup window using Jquery or Jquery plugin? ...

Chrome Extension using popup bar

I'm trying to make something similar to the picture below. http://img696.imageshack.us/img696/8844/testi.jpg Unfortunately, I can't seem to get it to work within the extension. I get an error stating there was "Error loading the document". The screenshot above was done using a locally made html with the iBox javascript. Is there any ot...

popup for full calendar in jquery

I need to show a popup (balloon popup as in google calendar) while creating an event in the jquery full calendar. Any best plugins for the popup which shows as balloon and also which handles the click events (which I am using to create/edit/delete events from popup)? ...

insert text (edit text) using tooltip (popup)

Hi, I am trying to create a little popup div which contains a textbox and two buttons (insert, cancel). this div would appear when you click on a text to edit it. (like tooltip but contains button and text box) how can i make it by jquery? thank you alot I am newbie on jquery. ...

How can I trap the unknown cause of a Javascript popup?

I am debugging someone else's web page. There is a link on it which tries to open itself in a popup window, the reason for this is unclear -- there is nothing obvious in the HTML (onclick=foo) to cause this. Disabling JavaScript means the link opens normally. I have Firefox/Firebug/Dom Inspector and would like to trap whatever JavaScrip...

Is it possible to have jeditable popup instead of inline

i have a html table. there are a lot of columns to fit in, many columns are showing images to represent the data. I have been using jeditable to allow users to click on the image and choose from a drop down or enter text into a textbox and update that field (which then renders the appropriate image in the returned content. (works great...

asp.net mvc: display a lightbox from a controller's action result

I have an action that returns ViewResult (it's a detail form, public ViewResult AddFoo(long id) and I need to display this result in a lightbox My first idea was to generate a div with an iframe, but than I don't know how am I going to close (hide the div) this lightbox on submit Other thing that I could do is take somehow the generate...

Proper way to center pop window with Javascript and pass html

Goal: quick and dirty app (client side only) to grab some arguments from one page and put results onto a new page, which can be printed and then closed. Arguments on the original page then can be changed and new page popped. Used this as a starting point: https://developer.mozilla.org/en/DOM/window.open http://www.yourhtmlsource.com/jav...

How do you make those newfangled pop-up windows?

How do you make those newfangled pop-up windows, the Web 2.0 kind, like when a site wants you to take a survey or donate money? And more importantly, what are they called? ...

html Modal popup

All, How to make a simple modal popup for the following code.And on click on the background the modal popup should not disappear. <html> <input type="textarea"></input> </html> Thanks......... ...

How to do window.open with no scrollbars in Google Chrome

The following code opens the new window without scrollbars in Firefox, IE and Opera. var options = { height: 300, // sets the height in pixels of the window. width: 300, // sets the width in pixels of the window. toolbar: 0, // determines whether a toolbar (includes the forward and back buttons) is displayed...

MVVM + WPF + Popup = clueless

I'm still working on modifying my existing WPF application to be "compliant" with the MVVM approach. I'm getting pretty darned close, but am not sure how to solve one of remaining few hurdles. I have a GUI element (currently a button, though it could be a label), where when the mouse enters it, it fires the MouseEnter event, and this c...

javascript transparent alert centered and ontop.

I have almost done it.. but there is something wrong: function doAlert(title,text) { var alrt='<div onclick="this.parentNode.removeChild(this);" id="alert" style="background-attachment: scroll !important;background-clip: border-box !important;background-color: black !important;background-image: none !important;background-origin: paddi...

Showing a Captcha popup after failed login.

I have created two asp.net pages, if x times the login fails, I want to call the captcha page (second page) in a popup window. How do I automatically call the second page as a popup window in the first page without using a hyperlink button? Are there any tutorials? ...

i am calling pop window as x page it will displaying but the base page moving left how to resolve the problem?

Response.Write("window.open(\"CaptchaLogin.aspx\");"); ...

I got error while calling as popup window for .aspx page, is it right syntax? please reply to ame

this.Page.ClientScript.RegisterClientScriptInclude("utility.popupUrl(CaptchaLogin.aspx)",""); ...

popups based on querystring parameters

My querystring has 2 parameters say pm1 and pm2. I want to check the value of each and if the value if '1' then pop open a new window(one for each parameter) and the url for the two windows will be different. What is a good way to do this (javascript can be used)? I am doing this in an asp.net c# web project. ...

Jquery - waiting for user input

im trying to make a popup that comes up to confirm a users action (deleting a row in a table, for example..). aiming at making the popup entirely HTML and Javascript. What i can't get my head around is how i would make the javascript wait for the users input, but still function for other javascript events. (other click triggered stuff, e...