Results 1 to 4 of 4

Thread: more advanced javascript

  1. #1
    Join Date
    Apr 2008
    Location
    Placelandia
    Beans
    91
    Distro
    Ubuntu 8.04 Hardy Heron

    more advanced javascript

    i would like to learn more advanced javascript with like sliding boxs and tabs and all that stuff, i know basic javascript, but so far the only tutorials i can find are very basic, anyone know a good tutorial?
    Hey! You just found my signature!

  2. #2
    Join Date
    Dec 2007
    Beans
    75

    Re: more advanced javascript

    I do not know about advanced tutorials but here is my advice:

    If you are comfortable with the topics covered in http://www.w3schools.com/js/default.asp and http://www.w3schools.com/htmldom/default.asp just google for terms like "javascript visual effects". Look at some of those scripts available and learn by "modification and experimentation".

  3. #3
    Join Date
    Dec 2007
    Location
    UK
    Beans
    571
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: more advanced javascript

    I find that probably one of the most usefull things for creating dynamic content is by being to set an elements html content. IE:
    Code:
    someelement.innerHTML = "Something new";
    You can get the element you want by id:
    Code:
    someelement = document.getElementById("someid");
    Or directly through the DOM

    With that you can pretty much change whatever you want. For animations and stuff you might want to look at setting up timers.

  4. #4
    Join Date
    Feb 2008
    Location
    Cape Town, South Africa
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: more advanced javascript

    I have personally decided that learning bassic dome javascript is point less for real world development! None of the browsers remotely follow the conventions.

    I would suggest using some sort of wrapper to identify elements handle effects. If you would like to learn more about dom start by looking at how these wrapper API's get around the dom with nasty hacks like
    if IE then do else if not FF else lastly give up and return null...

    Here are some great ones to try out
    Jquery
    mootools

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •