| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
At 5:20 PM -0400 2007/06/21, Mark J. Reed wrote: >...It's worth noting that, in general, the trend now is away from >embedding Javascript in HTML and toward non-intrusive means of >scripting pages.
Are you referring to, for example, PHP? I.e., the code isn't visible to the viewer of the page, but is executed in the process of creating the HTML the viewer gets. Thus non-intrusive.
No. That's server-side code. I'm talking about what is called "non-intrusive JavaScript". The non-intrusiveness comes in when you look at the HTML source of the page and you don't see any JS code at all, not even a <body onload="blah"> . All it has is one or more instances of <script src="/code/elsewhere.js"></script>. All the hooks are done in the code (by accessing the HTML objects through the DOM) rather than in the HTML itself.
-- Mark J. Reed <email@hidden> _______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/archives/applescript-users
| References: | |
| >Re: 'do JavaScript' still broken in Safari 3 beta (From: "Mark J. Reed" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.