[wdvltalk] desperate now for order form script
Hi again, I've spent the last couple of days googling order form javascript download and all the permutations I could think of, to no avail. The scripts are either ASP (can't support), too complex, too expensive or they simply don't work. I'm way overtime on a job I never wanted in the first place (long story). Is there anyone who has a simple javascript order form that will list two items with the same price, add shipping, add tax for AZ residents, then create a grand total to send off to Authorize.net (I think I can manage that bit)? I really thought it would be easy Owing you bigtime, Jen The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: Whitespace Readability (was Abbreviation for javascript (??))
I managed to avoid COBOL when I was doing my degree and A-Levels, but from some onscure reason it was replaced with LISP. Not that I can remember a damn thing of course - all those parentheses hurt my brain :( And I always found Pascal to be a problem too, but Delphi makes it very nice now lol... MOU The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: desperate now for order form script
Jen: As this is a rather specialist requirement for a form I don't think anybody will have one simply lying around. Send me the link for yours again, with the values for shipping and AZ tax and I'll see if I can find a few spare minutes to write you one. MOU The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: Whitespace Readability (was Abbreviation for javascript (??))
another corporation that still uses COBOL - EDS, but they certainly don't pay $200,000 p.a( at least to those that I know who work there, lol). www.WellingtonLive.co.nz - Original Message - From: Ross Clutterbuck Sent: Wednesday, August 25, 2004 8:50 PM Subject: [wdvltalk] Re: Whitespace Readability (was Abbreviation for javascript (??)) : I managed to avoid COBOL when I was doing my degree and A-Levels, but from : some onscure reason it was replaced with LISP. Not that I can remember a : damn thing of course - all those parentheses hurt my brain :( : : And I always found Pascal to be a problem too, but Delphi makes it very nice : now lol... : : MOU --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 19/08/04 The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: Abbreviation for javascript (??)
As it happens, that was the first thing the boss tried when this came up (i.e., using js:foo(bar);), which is when he became pretty sure that IE didn't recognize js as a token for javascript. Cheers, Scott - Original Message - From: Bj [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 6:30 PM Subject: [wdvltalk] Re: Abbreviation for javascript (??) - Original Message - From: jdmajor If he can change it to vbscript, why couldn't he change it to: a href=js:foo(bar); Good question, but the answer is IE supports two client/server scripting languages by default, JScript (their implementation of the industry standard ECMAScript which began as JavaScript) and their own proprietary one, VBScript. 'javascript' and 'vbscript' are the names that IE recognises for these, so it passes the href to them to handle instead of going looking for a page to display. If you try to use 'js' it won't recognise it as a scripting name, so will simply try to treat js:foo(bar); as a URL and end up with a 404 error. However you can install a plugin to get IE to recognise and execute other languages such as TCL or PerlScript, and I guess you could conceivably write your own 'js' language and create and install a plugin for it...? :o) . The WDVL Discussion List from WDVL.COM . To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: Abbreviation for javascript (??)
Hmm, very good article, and I've bookmarked it, but after reading all five sections I didn't see anything germane to the question of a replacement for the javascript token in an href function call. Did I miss something? What section was it in? Cheers, Scott - Original Message - From: Pau Garcia i Quiles [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 6:42 PM Subject: [wdvltalk] RE: Abbreviation for javascript (??) Maybe this (http://www.sitepoint.com/article/behaved-dhtml-case-study) can help. -- Original Message -- Reply-To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [wdvltalk] Abbreviation for javascript (??) Date: Tue, 24 Aug 2004 15:22:57 -0400 Don't know if such a beastie exists, but my boss just asked me about it, so I thought I'd see if anyone here had heard of one. In constructions such as this, a href=javascript:foo(bar);, is there any shorter token that the parser will recognize than javascript to indicate the function call? l have not personally ever seen or heard of one, but then, I haven't seen or heard of a lot of things that exist nonetheless. So, anyone know if there is an abbreviated token to use for javascript in these HREF calls? Almost as good would be a definitive answer that there is not, so I could pass that along. BTW, the reason for this is that we have a menu with some thousand items (not, of course, at the same level) and our wonderful AS/400-based gen tool has a 60kb limit to its stream, which means we're getting partially loaded pages and blown up scripts, which we could avoid by eliminating (or shortening) all those repetitious javascript tokens. Cheers, Scott ? The WDVL Discussion List from WDVL.COM ? To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with. -- Pau Garcia i Quiles MSN Messenger: [EMAIL PROTECTED] http://www.elpauer.org The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: Whitespace Readability (was Abbreviation for javascript (??))
Doesn't it now? ;-) At my former position, I used Delphi exclusively for application development from versions 1 through 5 (about '95 to 2001). Then came the downsizing and I had to face the exigencies of the job market (30:1 ratio of VB to Delphi positions), so I got VS 6.0 and got my MCP. I had to admit that I was surprised by the progress they'd made from when I left VB (3.0, when I got Delphi 1.0) to when I came back (6.0), but there are still a lot of legacy kludges and inconsistencies in it (Let's see, is this one zero-based or one-based? Hmm, hey, MSDN... ). Cheers, Scott - Original Message - From: Ross Clutterbuck [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 4:50 AM Subject: [wdvltalk] Re: Whitespace Readability (was Abbreviation for javascript (??)) I managed to avoid COBOL when I was doing my degree and A-Levels, but from some onscure reason it was replaced with LISP. Not that I can remember a damn thing of course - all those parentheses hurt my brain :( And I always found Pascal to be a problem too, but Delphi makes it very nice now lol... MOU . The WDVL Discussion List from WDVL.COM . To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: Abbreviation for javascript (??)
What the article (which /is/ very good) is implying is that you should be using event listenters rather than making a call to the javascript protocol in the href attribute. In your instance, something like: (given the following html) a href=/path/to/myfile.html id=widgetcontextual link/a !-- if there is no file you're linking to, don't use an anchor... if this is just to call a javascript function, it would be more appropriate to attach an event to an image or some such... -- here's the appropriate JS (regardless of what element you choose, so long as it has the id): script type='text/javascript' var oWidg = document.getElementById('widget'); oWidg.addEventListener(click,foo,false); function foo(){ // do something } /script Now, by extension, the idea should be that if you encapsulate and modularize the code in such a fashion, you should be able to automate the attachment of these behaviors... perhaps you actually target an element that is parent to a group of elements that need the behavior, then loop through it's children attaching these behaviors... that would definitely eliminate the necessity for writing lots of inline calls to the JavaScript protocol... not to mention making the document degrade gracefully in browsers that can't handle the JS. - Stephen On Wed, 25 Aug 2004 10:26:07 -0400, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hmm, very good article, and I've bookmarked it, but after reading all five sections I didn't see anything germane to the question of a replacement for the javascript token in an href function call. Did I miss something? What section was it in? Cheers, Scott - Original Message - From: Pau Garcia i Quiles [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 6:42 PM Subject: [wdvltalk] RE: Abbreviation for javascript (??) Maybe this (http://www.sitepoint.com/article/behaved-dhtml-case-study) can help. -- Original Message -- Reply-To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [wdvltalk] Abbreviation for javascript (??) Date: Tue, 24 Aug 2004 15:22:57 -0400 Don't know if such a beastie exists, but my boss just asked me about it, so I thought I'd see if anyone here had heard of one. In constructions such as this, a href=javascript:foo(bar);, is there any shorter token that the parser will recognize than javascript to indicate the function call? l have not personally ever seen or heard of one, but then, I haven't seen or heard of a lot of things that exist nonetheless. So, anyone know if there is an abbreviated token to use for javascript in these HREF calls? Almost as good would be a definitive answer that there is not, so I could pass that along. BTW, the reason for this is that we have a menu with some thousand items (not, of course, at the same level) and our wonderful AS/400-based gen tool has a 60kb limit to its stream, which means we're getting partially loaded pages and blown up scripts, which we could avoid by eliminating (or shortening) all those repetitious javascript tokens. Cheers, Scott ? The WDVL Discussion List from WDVL.COM ? To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with. -- Pau Garcia i Quiles MSN Messenger: [EMAIL PROTECTED] http://www.elpauer.org The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
[wdvltalk] Re: Best FREE online tutorial?
http://www.quirksmode.org/ Peter Paul Kotch it's peter-paul koch another friend o' mine, and i have no idea why i forgot to mention him yesterday ;o) The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: best FREE online tutes
Hi gang. Since I started this polite uproar over how to learn the right way to compose HTML, XML, CSS, etc. ... ..thanks to all of the many responders and descriptors I've received. Can barely keep up with it all. All I have currently is Thomas Powell's amazing compendium WEB DESIGN: THE COMPLETE REFERENCE, Second Edition, from Osbourne/McGraw Hill, which contains design and usability guidelines, plus HTML sprinkled liberally throughout, but not step by step. Is his book HTML: THE COMPLETE REFERENCE any good? or is it not current with web standards? When I first read this book way back when, after Jakob Nielsen's works, I ignored the HTML, since I didn't plan to build any sites. I was just interested in the design and usability principles in more technical detail than Nielsen, plus some of the practical considerations and problems encountered by web designers. Anyway, I have much to ponder and explore. [I'm also interested theoretically in bizarre artistic web design innovations. All I know is John Maeda and his speculations about round web sites and circular oscilloscope monitors. Verging into sci-fi, oh well.] I'm going to put up a Disposable Blog Site, full of whatever, just to test a few widgets, web games, adding code from Technorati and Alexa, etc., then delete the blog when I'm done experimenting, and put successful items into my real blog sites, which are acting more as business cards/resumes/writing sample files for me. I'm so uninformed, I don't know exactly where to paste code into the main body of my blog site template code. Technorati says paste it where your RSS feeds and such are, but I don't yet have those things. Afraid if I put it in the wrong place, it'll vanish down the digital toilet. Steven Streight STREIGHT SITE SYSTEMS Web Usability Analysis, Credibility Assessment Content Writing STREIGHT TECHNICAL COMMUNICATIONS Direct Marketing and Online Writing Services mailto: astreight at msn dot com Usability Information Site: http://www.vaspersthegrate.blogspot.com Web User Research Center: http://www.webwhispers.blogspot.com The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: Best FREE online tutorial?
Adding to Stephen's list (I may have a few duplicates): http://blo.gs (This is a site that will help you keep track of the blogs you frequent) http://www.bryanbell.com http://www.airbagindustries.com http://www.fiftyfoureleven.com/sandbox/weblog http://www.meyerweb.com/ http://www.blakems.com/ http://www.kottke.org/ http://www.cameronmoll.com/ http://www.mezzoblue.com/ http://www.9rules.com/whitespace/ http://blog.veer.com/ http://superfluousbanter.org/ Will Professional Graphics Artist Certified Web Designer (BCIP) Stewart and Company -- www.stewartandcompany.net [EMAIL PROTECTED] -- W: 304.550.2687 Rt. 1 Box 364 Buffalo, WV 25033 The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: Abbreviation for javascript (??)
Thank you, Stephen (and Pau). I see the relevance now to the original question. Unfortunately, while undoubtedly the way to go for normal Web pages, and an approach that I will definitely keep in mind for future applications, I'm afraid this approach is not appropriate for our application. Again, we are dealing with an AS/400 app with approximately 1500 screens. On one page we have a horizontal drop-down menu with eight main headings, each of which has a dozen or more sub-headings, some of which have as many as 36 sub-sub-headings (one sub-heading has so many entries it has to be vertically scrolled on an 1152 X 864 screen). It is this menu which is being built on the fly, and the tool doing the building is a third-party tool which we have licensed (and which, therefore, we do not control). Basically, when a page is requested, the AS/400 WebOptions runtime takes the HTML generated by the Markup Language Skeleton, looks through it for field and variable replacement markers, looks up the appropriate values to insert, and inserts them into the (60kb limit--boo!) stream as the HTML is being delivered. Meantime, the menu generation script is determining the appropriate menu elements for that page and building the menu (which is in a separate iFrame with its own source). The process of adding and dropping event listeners described in the article is undoubtedly sound, portable, standards-compliant, etc. All good stuff, no doubt. However, in our case it would add a level of complexity to the app an order of magnitude greater, or more, than what we have now (which, believe me, is quite complex enough). Furthermore, the processing time required to hang all those event listeners would make our response times unacceptable, even assuming that we pinkware types could figure out where in the process to intercept the necessary information and precisely how to structure the event listeners to make them work as in the existing mechanism. See, here's the basic problem: The Web version does not *replace* the 5250 green screen app. We anticipate many years before all of our global users have moved from terminal-based access to Web access of the app. Therefore, while we are building the Web app, we can do *no* modifications to the basic AS/400 application or to its data stream. It must continue to function precisely as it always has for terminal users, even after the Web version goes live, and is in fact live for 5250 sessions even as we build the Web version. Our job is to try to pick out of the data stream the information that we need to build usable Web pages. This complicates the matter considerably, as you can probably imagine. It is a good article, and I really do see the benefits of the approach, but I'm afraid it's just not something that's going work in our, admittedly peculiar, situation. Thanks for the reply. Cheers, Scott - Original Message - From: Stephen Caudill [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 11:27 AM Subject: [wdvltalk] RE: Abbreviation for javascript (??) What the article (which /is/ very good) is implying is that you should be using event listenters rather than making a call to the javascript protocol in the href attribute. In your instance, something like: (given the following html) a href=/path/to/myfile.html id=widgetcontextual link/a !-- if there is no file you're linking to, don't use an anchor... if this is just to call a javascript function, it would be more appropriate to attach an event to an image or some such... -- here's the appropriate JS (regardless of what element you choose, so long as it has the id): script type='text/javascript' var oWidg = document.getElementById('widget'); oWidg.addEventListener(click,foo,false); function foo(){ // do something } /script Now, by extension, the idea should be that if you encapsulate and modularize the code in such a fashion, you should be able to automate the attachment of these behaviors... perhaps you actually target an element that is parent to a group of elements that need the behavior, then loop through it's children attaching these behaviors... that would definitely eliminate the necessity for writing lots of inline calls to the JavaScript protocol... not to mention making the document degrade gracefully in browsers that can't handle the JS. - Stephen On Wed, 25 Aug 2004 10:26:07 -0400, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hmm, very good article, and I've bookmarked it, but after reading all five sections I didn't see anything germane to the question of a replacement for the javascript token in an href function call. Did I miss something? What section was it in? Cheers, Scott - Original Message - From: Pau Garcia i Quiles [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 6:42 PM Subject: [wdvltalk] RE: Abbreviation for javascript (??) Maybe this (http://www.sitepoint.com/article/behaved-dhtml-case-study) can help. --
[wdvltalk] Re: desperate now for order form script
Hi Jen As Ross says, most of the list members are busy. I sent you about 7 URLS (off list) that I checked out and they do have order forms. The problem with scripts, sometimes, is that they are not perfect and many times need to be modified to do what you need. I'm not the greatest in Javascript, and any forms I use I get from the free scripts websites. hth Jan Ross Clutterbuck wrote: Jen: As this is a rather specialist requirement for a form I don't think anybody will have one simply lying around. Send me the link for yours again, with the values for shipping and AZ tax and I'll see if I can find a few spare minutes to write you one. MOU The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: Abbreviation for javascript (??)
Scott, So... you're trying to automagically regurgitate an app coded in insert cryptic language here as html? Ermm... Don't AS/400's use the DB2 database format? Why not build a web app? I understand that that is what Web Options is supposed to be doing for you, but it seems you'd be better off if you just used the data and built a front end to it... This doesn't stop people from using the green screen, or the green screen from accessing data that is also updated by a web application... just a thought, Stephen On Wed, 25 Aug 2004 13:13:30 -0400, Scott Glasgow [EMAIL PROTECTED] wrote: Again, we are dealing with an AS/400 app with approximately 1500 screens. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: Abbreviation for javascript (??)
You're absolutely correct, and that's the basic idea of what I originally thought I was getting into (i.e., building a Web app to correspond to the equivalent 5250 app). The fundamental problem is, we can't do it that way. The app itself is some 12-13 years old, has thousands of users worldwide, has hundreds of pages (screens) and was developed and has been updated and maintained using a modeling (CASE) tool that generates RPG from the model. If we were to try to build a separate Web app which exactly duplicates the functionality of the 5250 app, with all the country-specific customizations, all the F-keys, line options keys, etc. which vary from screen to screen, (so as to allow our users to continue using their training and experience with the system) it would be, first of all, quite a great deal larger an undertaking than using the WebOptions tool (developed by the manufacturer of the CASE tool) to convert the existing app, despite WebOptions' current limitations. Secondly, and even more importantly, like any global application of its kind, in use around the world in scores of languages and commercial environments, it is a living application undergoing modification and adaptation over time as customers' needs and local requirements change. Try to imagine developing a Web app localized for literally scores of languages and character sets (something the 400 and the CASE tool handle quite well at the moment), and then consider the issues of change management involved in trying to keep both apps in sync over time. It boggles the mind. Despite the current limitations of the WebOptions tool, it is gradually getting better (a lot of that is because of our feedback to the developers; we're probably the heaviest user of the tool among their customers). In fact, a new version goes GA sometime this month (unless they bump the schedule again--we just reported three more issues this afternoon ;-), and we've been using the beta of the current upgrade for the last four months, working around issues until they address them. The great advantage of using the tool, of course, is that change management with two parallel apps is not an issue. Once we get the Markup Language Skeletons built and gen all the corresponding HTML pages, the CASE tool can be used to change the model at will and our app still works. Oh, there may be an occasional instance where a field's screen offset (which is its identifier in the 400 app--e.g f_0345 is the field beginning at character 25 on the fifth row) changes and we have to go in and tweak a template or two, but nothing like the monumental issues involved in keeping two independent apps in sync. Cheers, Scott - Original Message - From: Stephen Caudill [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 1:59 PM Subject: [wdvltalk] RE: Abbreviation for javascript (??) Scott, So... you're trying to automagically regurgitate an app coded in insert cryptic language here as html? Ermm... Don't AS/400's use the DB2 database format? Why not build a web app? I understand that that is what Web Options is supposed to be doing for you, but it seems you'd be better off if you just used the data and built a front end to it... This doesn't stop people from using the green screen, or the green screen from accessing data that is also updated by a web application... just a thought, Stephen On Wed, 25 Aug 2004 13:13:30 -0400, Scott Glasgow [EMAIL PROTECTED] wrote: Again, we are dealing with an AS/400 app with approximately 1500 screens. . The WDVL Discussion List from WDVL.COM . To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail,
[wdvltalk] RE: Abbreviation for javascript (??)
Well, shit... I don't envy you. Then again, if you saw the project I'm working on, I'd probably get some sympathy from you too :^) I guess in answer to your original question, there's no way to shorten the call to the javascript protocol... OH HEY!!! DUH! How bout just using the onclick attribute? a onclick=foo(bar);contextual link/a is shorter than: a href=javascript:foo(bar);contextual link/a Not really sure if there are ramifications to using an anchor without an href attribute though. If I recall correctly, in most browsers, it will require some styling to get it to act like a normal anchor (cursor:pointer;text-decoration:underline;, etc.)... - Stephen On Wed, 25 Aug 2004 15:02:52 -0400, Scott Glasgow [EMAIL PROTECTED] wrote: Despite the current limitations of the WebOptions tool, it is gradually getting better (a lot of that is because of our feedback to the developers; we're probably the heaviest user of the tool among their customers). In fact, a new version goes GA sometime this month (unless they bump the schedule again--we just reported three more issues this afternoon ;-), and we've been using the beta of the current upgrade for the last four months, working around issues until they address them. The great advantage of using the tool, of course, is that change management with two parallel apps is not an issue. Once we get the Markup Language Skeletons built and gen all the corresponding HTML pages, the CASE tool can be used to change the model at will and our app still works. Oh, there may be an occasional instance where a field's screen offset (which is its identifier in the 400 app--e.g f_0345 is the field beginning at character 25 on the fifth row) changes and we have to go in and tweak a template or two, but nothing like the monumental issues involved in keeping two independent apps in sync. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: Javascript Order Form
The below URL is a tutorial for creating an order form. I checked it out and it looks very good. You have several options also. I like it so much I'm bookmarking the spot for myself too. http://home.cogeco.ca/~ve3ll/jstutor6.htm?reload_coolmenus hth Jan The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.