Help - Search - Members - Calendar
Full Version: popup window problem
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
chadshoup
I have a website where I sell billiard supplies.

I sell cloth for tables, so I have a link in a few sections where it says "Click HERE to see a color chart" (cloth comes in a number of colors and every manufacturer has their own color chart).

The problem is that when you click on the link, the popup I want shows up (without menu bar, etc), but ANOTHER popup also comes up in another free floating window.

Heres the code:

<th colspan="2" bgcolor="#99ccff" align="center"><a name="mali"></a>Mali 865 or 865T Cloth<br />Click <a target="blank" href="mali.html" onclick="window.open('mali.html','popup',& #39;width=500,height=345,scrollbars=no,resizable=no,toolbar=no,directories=no,lo
cation=no,menubar=no,status=no,left=0,top=0'); return false" title="mali">Here</a> to see Mali color chart</th>


Can anyone tell me the problem?

here's my website: www.mokanbilliards.com/prodcloth.html
pandy
Try removing target="blank".

If you use it, it's "_blank", not "blank".
Darin McGrew
QUOTE
If you use it, it's "_blank", not "blank".
That depends on what you want.

target="blank" opens in the frame/window named "blank", but creates a new window named "blank" if one doesn't exist.

target="_blank" opens a new unnamed window.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.