popup

How to create an SVG "tooltip"-like box?

Given an existing valid SVG document, what's the best way to create "informational popups", so that when you hover or click on certain elements (let's say ) you popup a box with an arbitrary amount (i.e. not just a single line tooltip) of extra information? This should display correctly at least in Firefox and be invisible if the image ...

Flash Banners Conflicting with Pop-Up Blockers?

We've been creating banners using the getURL linking method (in a blank window). For many people, it works just fine. You click the banner and are taken to our site. For others (me included), clicking the flash object triggers a pop-up warning in FireFox (both 2 and 3, default settings). The weird thing is that it doesn't happen for ever...

System.Windows.Forms.WebBrowser open links in same window or new window with same session

When using the .NET WebBrowser control how do you open a link in a new window using the the same session (ie.. do not start a new ASP.NET session on the server), or how do you capture the new window event to open the URL in the same WebBrowser control? ...

IE7 and the statusbar

Hi, Is there a way to spawn a new window via javascript in IE7 that hides the statusbar? I've added the intranet app as a trusted site. Not sure what else I can use to try. This is my JS window.open("http:/localhost/start.html", "MyApp", "left=0, top=0, width=" + screen.width + "," + "height=" + screen.height + ", scrollba...

How do I confirm a browser window is open, with Javascript?

I'm opening a new browser window from my site for some of the members. However, some may later close it, or it might have initially failed to open. Is there a snippet of fairly plain Javascript that can be run on each page to confirm if another browser window is open, and if not, to provide a link to re-open it? [clarification:] The co...

Drag WPF Popup control

hi there, the WPF Popup control is nice, but somewhat limited in my opinion. is there a way to "drag" a popup around when it is opened (like with the DragMove() method of windows)? can this be done without big problems or do i have to write a substitute for the popup class myself? thanks ...

Popup detection before user logs in

Is there a good way to determine if a person has a popup blocker enabled? I need to maintain a web application that unfortunately has tons of popups throughout it and I need to check if the user has popup blockers enabled. The only way I've found to do this is to open a window from javascript, check to see if it's open to determine if a...

Advice on which modal popup to use: ASP.NET AjaxControlToolkit vs jQuery plugin vs Greybox vs ?

This is all being done in an ASP.NET web forms application: I need a modal popup that will show the user a preview of images that match a search criteria (e.g. they search for "dog" and the popup shows them all dog-related pictures). The search results shouldn't be too long, but the popup should support the ability to scroll if necessa...

Most efficient way to close a load() page using the X sign in jquery

I'm new to Jquery and I'm trying to use a div container to load a URL, however, I want to give a user an option to close it with an X sign on the top right corner like in Amazon.com. What's the best way to accomplish this? Here's what I have and seems clumsy to figure out where the top right corner is and place the image X: $("#url_lin...

Display confirmation popup with JavaScript upon clicking on a link

How do I make one of those hyperlinks where when you click it, it will display a popup asking "are you sure?" <INPUT TYPE="Button" NAME="confirm" VALUE="???" onClick="message()"> I already have a message() function working. I just need to know what the input type for a hyperlink would be. ...

Moving Silverlight 2 popup windows

We are using popup windows in a Silverlight 2 application; these can be moved in the standard way by clicking on the title bar and dragging. If the title bar is dragged out of site behind the browser chrome, the window can no longer be moved. We have users that consider this problematic and I was wondering if there might be some other ...

How to Open many NEW windows in Javascript?

Hey all, Wondering how to open many new windows with Javascript. I have found plenty of places on the internet that show you how to open a new browser window with Javascript, but I want to open a new UNIQUE window. For Example. I have two links on a page. the user clicks on both links and they are both opened in the same window. I ...

popups from embedded .swf cross-browser

Situation: you've got a .swf embedded in an html page, and when you click on something in the .swf, it needs to popup a chromeless window. Normally this would be fairly easy - but consider Safari, which completely disables all 'window.open' functionality while its popup-blocker is enabled (it makes an exception if the function is trigger...

Textbox with a popup in Silverlight

Hi Guys I'd like to build an own control, but therefore I need to know if its possible to combine a Textbox event with a Popup more or less like the Datepicker Control. Or is there a better way to do this than with a Popup? Greets Patrick ...

Display a Message When a Browser is Unsupported

I want to warn users of Internet Explorer 6 using my site, that IE6 has had serious compatibility issues with my site in the past. What is the best way to do this? Ideally, I want to have a message appear (not a new window, but a message box, if possible) that warns IE6 users of the issues and reccommends they update to either IE7, Fire...

How to create a pop-up window (the good kind)

I need to make a pop-up window for users to log-in to my website from other websites. I need to use a pop-up window to show the user the address bar so that they know it is a secure login, and not a spoof. For example, if I used a floating iframe, websites could spoof my login window and record the user's login information. Thanks Ad...

How to open a WPF Popup when another control is clicked, using XAML markup only?

I've got two controls, a TextBlock and a PopUp. When the user clicks (MouseDown) on the textblock, I want to display the popup. I would think that I could do this with an EventTrigger on the Popup, but I can't use setters in an EventTrigger, I can only start storyboards. I want to do this strictly in XAML, because the two controls are in...

Drawing a caret between a point and a draggable div

Hi all, I have a draggable div that represents a little info popup that the user can drag around the screen. But this div is anchored to a point on the screen, and I would like there to be a caret drawn between the div and the point that it is anchored to. An example of this can be found on Google maps, when you hover over a store or ...

HowTo generate HTML in a Pop Up window with Asp.Net

Hi All, I have very simple html report generated from one of my objects on server. I generate html code at PageLoad because I need to clear that object from session and don't want ask external web service for data after user clicks on linkbutton. Roughly idea is that user clicks on button on page and the report will be displayed ...

Is there a "share this" for Facebook which isn't a pop-up?

I want to add "share this on Facebook" to a page. I've got this working just fine using this URL format: http://www.facebook.com/sharer.php?u=my.url.here but the problem is, that's designed specifically to be a popup window, so the page looks weird at full browser size the buttons are a long way from the fields after submission, the ...