I wouldnt bother doing that. A lot of people have pop up blockers, a lot of people dont like it, etc. More problems then its worth. But if you really want to.. just go to a site that does do that and view source. You'll get the code you need and start a new habbit of teaching yourself how to do things.
Ya, it's a shame that it has been abused so bad. But I have a client that wants his art to open in a new window this way. I found a site that does this, below is their source code. Can you help me locate the code I would need to do the same?
<HTML><HEAD><TITLE>TALBOT AT COOS ART MUSEUM - CAPE ARAGO SOUNDINGS</TITLE></HEAD>
<BODY bgcolor=#616161 link=#000000 alink=#BBBBBB vlink=#FFFFFF>
<center>
<font color="#FFFFFF" size="4" face="arial, helvetica"><strong><font size="1">JONATHAN
TALBOT / THE ARTIST AS AN EXPLORER / COOS ART MUSEUM, COOS BAY, OR August 2nd
- 31st, 2002</font><br>
</strong></font><font face="arial, helvetica"><STRONG> </STRONG> </font>
<HR size=2 NOSHADE width=340>
<font face="arial, helvetica" color="#FFFFFF" font="FONT" size="2"><img src="images/soundingsuse.jpg" width="340" height="504">
<br>
Jonathan Talbot, "Cape Arago Soundings," <br>
Collage/Painting on Canvas with attachments, 2002<br>
40" x 40" (without attachments)<br>
<br>
Numbers applied to the wall and an antique plumb bob integrate this work and
its environment. <br>
Mostly painting, only the letters have been collaged in this work. <br>
The chart, schooner, and depth numbers were all painted by the artist.<br>
<br>
For an enlarged detail of this work <a href="souncb-dt.htm">Click Here!</a></font>
<br>
</CENTER>
<HR size=2 NOSHADE width=340>
<div align="center">
<p><font size="2" face="arial, helvetica"> </font> <font size="2" face="arial, helvetica"><A HREF="http://www.talbot1.com/coos">To
return to Exhibition Close this Window or Click Here</A><BR>
<BR>
</font> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><font size="-4" face="arial, helvetica">.<BR>
</font> </p>
</div>
</BODY></HTML>
O.K. it seems as it's not on the page it opens, but on the page before it opens. Below is the code, but still having problems finding and making it work. I you see it here, please let me know the exact peaces I would need:
<HTML><HEAD><TITLE>TALBOT AT COOS ART MUSEUM - IMAGES</TITLE>
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
var SymRealWinOpen = window.open;
function SymWinOpen(url, name, attributes)
{
return (new Object());
}
<TD BGCOLOR=#616161 VALIGN=bottom ALIGN=right height="253" width="55%">
<p><font face="Arial, Helvetica, sans-serif" color="#FFFFFF" size="2">At
Right:<br>
Dr. Lynda Shapiro, Chairwoman of the Coos Art Museum Board<br>
Jonathan Talbot, Artist<br>
Reed Lockhart, Director of the Coos Art Museum</font>
<p>
<p><font face="Arial, Helvetica, sans-serif" color="#FFFFFF" size="2">Below:<br>
More Views of the Exhibition<br>
Note: Works in these views are not yet "clickable."</font>
<TD ALIGN=right VALIGN=top BGCOLOR=#616161 height="253" width="45%">
<div align="left"><font size="2" color="#FFFFFF" face="arial, helvetica" font="font"><STRONG><img src="images/linda-me-reed.jpg" width="288" height="216">
</strong></font> </div>
then call an "a href" with the code calling the javascript:
<a href="#" onClick="MM_openBrWindow('lpno3.htm','','scrollbar s=yes,width=625,height=500')">
by the way, if you have dreamweaver, it will do it for you. The code that you posted came from dreamweaver. (use the behaviors)
Comment