Questions tagged [popup]

In general, popup refers to any UI element that floats above a window or application surface. This may include tooltips, context menus, and modal dialog windows.

See also , , , , and .

10952 questions
313
votes
7 answers

How to implement a pop-up dialog box in iOS?

After a calculation, I want to display a pop up or alert box conveying a message to the user. Does anyone know where I can find more information about this?
Namratha
  • 16,630
  • 27
  • 90
  • 125
223
votes
12 answers

How to generate a simple popup using jQuery

I am designing a web page. When we click the content of div named mail, how can I show a popup window containing a label email and text box?
Rajasekar
  • 18,392
  • 34
  • 106
  • 137
221
votes
12 answers

Avoid browser popup blockers

I'm developing an OAuth authentication flow purely in JavaScript and I want to show the user the "grant access" window in a popup, but it gets blocked. How can I prevent pop up windows created by either window.open or window.showModalDialog from…
Pablo Fernandez
  • 103,170
  • 56
  • 192
  • 232
178
votes
5 answers

Show pop-ups the most elegant way

I have this AngularJS app. Everything works just fine. Now I need to show different pop-ups when specific conditions become true, and I was wondering what would be the best way to proceed. Currently I’m evaluating two options, but I’m absolutely…
Bruno
  • 5,961
  • 6
  • 33
  • 52
160
votes
9 answers

How can I detect if a browser is blocking a popup?

Occasionally, I've come across a webpage that tries to pop open a new window (for user input, or something important), but the popup blocker prevents this from happening. What methods can the calling window use to make sure the new window launched…
Nathan Bedford
  • 8,924
  • 5
  • 35
  • 29
127
votes
8 answers

How do I make a Mac Terminal pop-up/alert? Applescript?

I want to be able to have my program display an alert, notice, whatever that displays my custom text. How is this done? Also, is it possible to make one with several buttons that sets a variable? Similar to batch's: echo msgbox""
JShoe
  • 3,186
  • 9
  • 38
  • 61
121
votes
10 answers

Javascript Confirm popup Yes, No button instead of OK and Cancel

Javascript Confirm popup, I want to show Yes, No button instead of OK and Cancel. I have used this vbscript code: