Jump To Content

LearnHub



Lessons

  • Lesson

    Javascript: Loading Function

    Description
    A quick and dirty way of onloading functions in javascript can be done like so. window.onload = function() { callFunctionOne(); callFunctionTwo(); // Etc }
  • Lesson

    Javascript: Pop-up

    Description
    The simplest way to create a javascript popup is to create a function like so. And then add the following to the anchor link you would like to popup. <a href=”#&...
  • Lesson

    Javascript: AJAX Request

    Description
    This is a basic tutorial on how to use the xmlHTTPRequest object to send an ajax request, the way I have chosen to do this is by calling the request encased in my own object. Fi...
  • Lesson

    Javascript: Image Preloader

    Description
    A very simple way to load the images into the browsers cache so when they are displayed they will not have to load the file and create a delay in the browser. // Initiate the i...