Archive: javascript

 

Check this out:
http://jsfiddle.net/ – handy
More Reading:no matching posts found..



 

If you need to work collaboratively on some Javascript then check out JS Bin
It’s just like pastebin, but with Javascript compatability, handy.
More Reading:Douglas Crockford Javascript Videos AvailableJquery 1.4 ReleasedWhich Lightbox?Javascript Associate Arrays / Objects with Dynamic Key AccessLoving jQuery and Netbeans



 

Douglas Crockford, author of Javascript the Good Bits and Yahoo’s Javascript architect is delivering his famous lectures.
The first one is now available to download.
Douglas Crockford is Yahoo!’s JavaScript architect and a member of the committee designing future versions of the world’s most popular programming language. In the first three months of 2010, Douglas will be [...]



 

If you are bewildered by the choice of lightbox style javascript plugins available, you might find this page useful:
http://planetozh.com/projects/lightbox-clones/
Its a well organised matrix of lightbox clones so you can compare features and choose the right one for your specific requirements. Handy!
More Reading:Collaborative Javascript Debugging – JSBinDouglas Crockford Javascript Videos AvailableJquery 1.4 ReleasedJavascript Associate Arrays / [...]



 

If you are trying to use associative arrays in Javascript, the first thing is to not use the Array type and instead just use objects.
The weird and wonderful thing is that if you create your array as an object, you can still use the array style square brackets to access object properties.
So for example take [...]



 

I seem to use this little snippet loads so I thought I would post it up for safe keeping:
Toggling all checkboxes on a page:
PLAIN TEXT
CODE:

<script type="text/javascript">

function toggleCheckboxes() {

// written by Daniel P 3/21/07

// toggle all checkboxes found on the page

    var inputlist = document.getElementsByTagName("input");

    for (i = 0; i <inputlist.length; i++) {

    if [...]



 

I read on Ajaxian today that the BBC have released their own javascript library, Glow, as open source. This is a nice move on the part of the BBC and great news for anyone looking to develop a site with some nice AJAX features but with a priority on accessibility and broad browser support.
The [...]



 

Just came across this link via Twitter - TinyTable
A nice simple solution to display table data.
More...
My Bad Attitude ยป TinyTable JavaScript Table Sorter
More Reading:no matching posts found..



 

Want to learn what Javascript can really do?
check out these great resources and improve your understanding of the potential for Javscript.
Douglas Crockford on Yahoo Video
Canvas Tutorial
JSLint
More Reading:no matching posts found..



 

When creating Javascript, it can be useful to alert out the values of various strings or arrays. You can also use this to confirm if certain parts of loops or if statements are being reached. However - having loads of alert statements in your Javascript can be messy and time consuming to manage.
For this reason [...]