Annoying Blank pop-up window go away

Posted by No Soup for YOU on Stack Overflow See other posts from Stack Overflow or by No Soup for YOU
Published on 2010-03-31T19:58:42Z Indexed on 2010/03/31 20:03 UTC
Read the original article Hit count: 349

Filed under:
|
|

Hi All,

Sorry about the wording for my question title.

I have a basic HTML anchor tag that when clicked it is suppose to bring up a dialog box to download a file from a differnt website. I am using an attribute of target="_blank" so that when my hyperlink is clicked, I don't navigate away from my main window.

This is all the easy part (if it was so easy I wouldnt be here though).

When I do the above though, and click on the hyperlink, an annoying blank window pops up with my download dialog box behind it.

How do I get rid of that annoying blank window and keep only my download dialog box on the screen?

Below is the HTML I'm working with...

<a href="http://www.fake-domain-name.com/downloads/setup.msi"       
   target="_blank">

       <img src="images/download.png" alt="download file"/>

</a>

© Stack Overflow or respective owner

Related posts about html

Related posts about popup