html <a> </a>

liunx

Guest
Anybody That can Help Me Refer to HTML Code Below.<br />
<br />
Here is my Question, The Last Cell Gives the Ability to Click on ADD and Procede to a URL. INSTEAD WHWN ADD IS CLICKED IS THERE ANY WAY TO HAVE A JAVA SCRIPT EXECUTE THAT WOULD ALLOW A NEW WINDOW TO OPEN THAT I COULD CONTROL SIZE AND CHROME.<br />
<br />
WOULD APPRECIATE ANY HELP POSSIBLE.<br />
<br />
THANKS<br />
CLYDE<br />
<br />
<tr><br />
<td><FONT size="-1"><a name="/%Mfgx%/">/%Mfg%/</a></FONT></td> <br />
<td><FONT size="-1">/%Mfgdesc%/</FONT></td> <br />
<td><FONT size="-1">/%Mfgnum%/</FONT></td> <br />
<td><FONT size="-1">/%Mfgprice%/</FONT></td><br />
<td><FONT size="-1"><INPUT size="4" type="text" maxlength="4" name="/%Mfgqty%/"></FONT></td><br />
<td valign="middle" align="center"><FONT size="-1"><A href=http://www.webdeveloper.com/forum/archive/index.php/"/infcgilibp/isl550.pgm?mfgno=/%Mfgnum%/&mfgdes=/%mfgdesc%/" onclick="process(/%xxx%/);" target="_blank">Add</A></td><br />
</tr><!--content-->Try this and edit to your needs<br />
<br />
<script type="text/javascript"><br />
<br />
function popup() {<br />
<br />
window.open('URL', 'name', 'attributes');<br />
<br />
}<br />
<br />
</script><br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"javascript::popup()">test</a><br />
<br />
See this link for attributes:<br />
<!-- m --><a class="postlink" href="http://www.webreference.com/js/column7/attributes.html">http://www.webreference.com/js/column7/attributes.html</a><!-- m --><br />
Havik<!--content-->this should do that for you.change the href to this <br />
href=http://www.webdeveloper.com/forum/archive/index.php/"javascript:void(0);"<br />
in the function process(...);<br />
at the bottom of the function code ad this line of code<br />
<br />
window.open("/infcgilibp/isl550.pgm?mfgno=/%Mfgnum%/&mfgdes=/%mfgdesc%/","newWin);<br />
<br />
the above will open a window with no controls on it,To set the width and controls<br />
you need to set the properties...<!--content-->AGAIN YOU HAVE HELPED.<br />
<br />
MY IS OFF TO YOU, <br />
THANK YOU<br />
CLYDE<!--content-->Thanks For Your Answer, much appreciated<br />
<br />
clyde<!--content-->
 
Back
Top