Hey Justin,

JavaScript is pretty simple to use, and I think if you are going to do any
serious web development you will need to get a handle on it.  You'll thank
yourself later! :-)

I don't see the problem, but sometimes embedded functions like the onClick
are hard to diagnose.
Try this instead, a little cleaner and easier to follow...

<script language="JavaScript">
<!--
function helpwindow() {
var URL = "/cgi-bin/iteminq?/%Item%/";
var name = "Help" ;
var attributes =
"toolbar=no,location=no,status=no,directories=no,width=700,height=150" ;
var help_window = window.open( URL , name , attributes );
help_window.focus();
}
//-->
</script>

<td width="12%">
  <div align="right">
    <A href="javascript:helpWindow()">
      <IMG src="/Images/Clip%20Art/addtocart.gif" border=0>
    </A>
  </div>
</td>


Joel R. Cochran
Director of Internet Services
VamaNet.com
(800)480-8810
mailto:webmaster@vamanet.com


> -----Original Message-----
> From: Justin Houchin [mailto:justin@RELIATEK.COM]
> Sent: Tuesday, July 16, 2002 7:44 AM
> To: web400@midrange.com
> Subject: [WEB400] Contolling Window Sizes
>
>
> This is a multi-part message in MIME format.
> --
> [ Picked text/plain from multipart/alternative ]
> Aaron,
>       I am not very good at JavaScript, but I tried what you
> said and I
> get a "unterminated string constant". Here is a snippet... <td
> width="12%"><div align="right"><A href="javascript:void(0)"
>
OnClick="window.open('/cgi-bin/iteminq?/%Item%/','Help','toolb
> ar=no,loca
> tion=no,status=no,directories=no,width=700,height=150')"><IMG
> src="/Images/Clip%20Art/addtocart.gif" border=0></div></A></td> Please
> Help!!!Thanks
>
> -----Original Message-----
> From: web400-admin@midrange.com [mailto:web400-admin@midrange.com] On
> Behalf Of Bartell, Aaron L. (TC)
> Sent: Monday, July 15, 2002 9:55 AM
> To: 'web400@midrange.com'
> Subject: RE: [WEB400] Controlling Window Sizes
>
> I have never found a way to do this without JavaScript, so
> here is how I
> do it.  I thought I would post this for the archives even though it
> isn't what you need.
>
> <a href="javascript:void(0)"
> onClick="window.open('http://mycompany.com/ifshtml/help.html',
> 'Help','to
> olba
> r=no,location=no,status=no,directories=no,width=700,height=150
> ')">Click
> Here For HELP!</a>
>
>
> Sorry I couldn't help,
> Aaron Bartell
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To
> post a message email: WEB400@midrange.com To subscribe,
> unsubscribe, or
> change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/web400
> or email: WEB400-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/web400.
> --
>
>
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
> To post a message email: WEB400@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/web400
> or email: WEB400-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/web400.
>


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.