|
as far as I know, Javascript is case sensitive. the html tags, PDFWINDOW and the path are the only things I see below that can be all caps. be sure that ATEMP has been configured in your webserver config, other than that it should work. On 12/29/06, Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx> wrote:
Hi Jim, > <HTML><SCRIPT LANGUAGE=JAVASCRIPT> > VAR PDFWINDOW = > WINDOW.OPEN("/ATEMP/10SM074.PDF","PDFWINDOW","SCROLLBARS=1,RESIZABLE=1,WIDTH > =750,HEIGHT=540"); > PDFWINDOW; > PDFWINDOW.MOVETO(3,3); > HISTORY.BACK(); > </SCRIPT></HTML> Does JavaScript let you type things in all uppercase like this? I'm not expert at JavaScript, but I've never seen one coded in all uppercase before! Also, you've created the script, but I don't see where you're calling it from.... -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.