www.webdeveloper.com
Results 1 to 3 of 3

Thread: Using Javascript

  1. #1
    Join Date
    Oct 2008
    Posts
    18

    Using Javascript

    So I get the principal of Javascipt, and I know how to implement it and the logic/syntax behind it, but what I get confused about is using other peoples' work/libraries, e.g. jquery.

    I have a few ideas in the works for a webpage, but with dynamic content.
    The view is, I can either use Javascript, or I can use Flash.
    And I really don't want Flash since it's even more content to load, rather than a script.

    What I have in mind is simple things like content loading onto the page with a fade in effect (Image Gallery)
    and other things like when you hover your mouse over a DIV the width of it becomes longer on a certain side, right or left, but as a smooth effect, rather than like BOOM, it's wider, like a simple CSS rollover.


    These are just some ideas what I'm after the answer to, but in the long run I'm after a more substantial understanding of how to use other people's libraries, as they appear to have a slightly different way of implementing their code, and I don't know what part of their code to use with what I'm like wanting...

  2. #2
    Join Date
    May 2009
    Posts
    150
    The best way would be to read their documentation and examples:

    JQuery:

    Documentation: http://docs.jquery.com/Main_Page
    Tutorials: http://docs.jquery.com/Tutorials

    MooTools:

    Documentation: http://mootools.net/docs/core
    Demos: http://demos.mootools.net/

    Prototype:

    Documentation: http://www.prototypejs.org/api
    Tutorials: http://www.prototypejs.org/learn

    script.aculo.us (Prototype extension):

    Documentation: http://wiki.github.com/madrobby/scriptaculous
    Demos: http://wiki.github.com/madrobby/scriptaculous/demos

    If there are others I don't know about them.

  3. #3
    Join Date
    Aug 2007
    Posts
    3,767
    Sometimes it can just be easier to write your own code, especially for a one off site.
    Great wit and madness are near allied, and fine a line their bounds divide.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles