MVC JavaScript - just what I need these days…..

Saturday, March 29th, 2008

http://javascriptmvc.com/

http://cakebaker.42dh.com/2007/03/17/mvc-with-javascript/

Reduce the file size of JavaScript

Thursday, March 6th, 2008

http://crockford.com/javascript/jsmin

A little basic but useful referance - Print page javascript

Monday, February 18th, 2008

http://www.456bereastreet.com/archive/200709/how_to_create_an_unobtrusive_print_this_page_link_with_javascript/

Snow on a website?

Thursday, December 13th, 2007

Just do as the client wants!

This looked like the best example I could find in 5 mins:

http://www.schillmania.com/projects/snowstorm/

Searchable Google Map

Thursday, October 25th, 2007

http://www.thinkvitamin.com/features/ajax/create-a-searchable-google-map

Another Light box - thick box

Thursday, August 16th, 2007

http://jquery.com/demo/thickbox/

This looks nice for inline forms - yet another lightbox idea

Wednesday, July 25th, 2007

http://stickmanlabs.com/lightwindow/

Useful JavaScript tit bits - Googlie Spell and Enhanced lightbox

Wednesday, July 25th, 2007

http://orangoo.com/labs/Main/

Adding a link using JavaScript

Tuesday, July 24th, 2007

function addLink() {

  var closeP = document.createElement("p");
  closeP.appendChild(document.createTextNode("Alternatively, ");

  var closeLink = document.createElement("a");
  closeLink.href = "#";
  closeLink.onclick = function() { window.close(); };
  closeLink.appendChild(document.createTextNode("Close window"));
  closeP.appendChild(closeLink);

  var parentEl = document.getElementById("container"); // this should be the ID of the element this link should be appended to
  parentEl.appendChild(closeP);
}

if (window.addEventListener) { window.addEventListener("load", addLink, false); }
else if (window.attachEvent) { window.attachEvent("onload", addLink); }

This looks useful for creating ajax validation

Sunday, July 15th, 2007

http://ajaxian.com/archives/really-easy-field-validation-with-prototype