Google has a number of AJAX APIs you can use in your web pages with no
server side code, you need only include a single <script> tag on your web
page with your Google API key. This method provides access to a growing list
of the most popular JavaScript open source libraries. More details here
http://code.google.com/apis/ajaxlibs/
On Wed, Nov 5, 2008 at 12:34 PM, Brian Butterworth <[EMAIL PROTECTED]>wrote:
> Aleem,
>
> 2008/11/5 Aleem B <[EMAIL PROTECTED]>
>
>
>> FWIW, adding an onclick is not the preferred way of doing this. It's
>>>> better to attach events to anchors during document.onload event. If anchors
>>>> need to be filtered, dom/css classes can be used.
>>>
>>>
>>> Sounds interesting, care to share a little more about this method?
>>>
>>>
>> There are some good Javascript APIs out there for providing interesting,
>> cross-browser functionality. Prototype (prototypejs.org), jQuery and YUI
>> are popular ones I can think of. Under jQuery you would have:
>> $('a.outlink).click(function() { ... }
>>
>> which finds anchors with class name outlink and attaches an onclick event
>> thus abstracting a lot of the JS tediousness. I actually managed to write up
>> a pretty cool Web 2.0 Scrabble game while exploring Prototype.js
>> http://aleembawany.com/yabble/
>>
>> Google for jQuery or Prototype getting started tutorials. You should be
>> looking to do away with any and all JS in your markup just like you would do
>> with CSS.
>>
>>
> Thanks for that. I was interested as I was about to try using jQuery for
> another project...
>
>
>
> --
> Brian Butterworth
>
> follow me on twitter: http://twitter.com/briantist
> web: http://www.ukfree.tv - independent digital television and switchover
> advice, since 2002
>
--
Sam Mbale
Mpelembe Network
http://www.mpelembe.net
Follow me on http://twitter.com/mpelembe