Geekpedia Programming Tutorials









Code JavaScript Code

1 2 3 4 5
(21 code snippets in 5 pages)
Latest Code: RSS Feed RSS Feed     KlipFolio Klip Klip     Add to Google    Add to My Yahoo!    Subscribe in NewsGator Online    Add To Windows Live    Subscribe with Bloglines   
Code

-----
No votes

Apr 4th 2008
by Andrew Pociu

Rotate Array in JavaScript

A function for rotating arrays to the right or to the left, any number of times.

Code

-----
No votes

Mar 19th 2008
by Andrew Pociu

Crossbrowser getElementById() function

If you use this function instead of getElementById() you'll ensure your JavaScript call for this method will work with older versions of Internet Explorer as well, that don't support getElementById().

Code

-----
No votes

Mar 16th 2008
by Andrew Pociu

Get window width and height

Get the window width and height in JavaScript using a cross-browser function that works with all versions of Internet Explorer and Firefox.

Code

***--
3 from 2 votes

Mar 16th 2008
by Andrew Pociu

Ask for confirmation on form submit

Show a confirmation dialog upon submitting a dialog by using a standard button with a little JavaScript instead of a typical submit button.

Code

*----
1 from 1 votes

Feb 9th 2008
by Andrew Pociu

Preload images using JavaScript

This code shows you how to preload a set of images using JavaScript so that you can later use them without having to wait for them to load.

1 2 3 4 5
(21 code snippets in 5 pages)
Filter Results
Show:


Latest IT Jobs


Other Resources
Latest Tech Bargains

Advertisement

Free Magazine Subscriptions

Today's Pictures

Today's Video

Other Resources

Latest Downloads

Latest Icons