jQuery Tutorial – 124 – Passing options to plugin

2nd of January 2014 6

jQuery Tutorial – 124 – Passing options to plugin

Check out the full jQuery series at http://www.thenewboston.com/ Here is a link to the phpacademy YouTube Channel. Go and subscribe now! http://www.youtube.c…
Video Rating: 5 / 5

Filed under § jquery plugins — Tagged with , , , ,

Share it!

Was it good for you to?


Support for the site!

No sponsors at the moment.

6 great comment(s) for this post

  1. itsamyracle 10:54 am 2/01 of 2014

    @Rockyeeful you would want tutorials on XHTML and CSS for that, if you’re
    not familiar with those subjects I would start there.

  2. noman 11:28 am 2/01 of 2014

    Thanks for this instructional video. Keep them coming.

  3. Rockyeeful 11:40 am 2/01 of 2014

    You know, I’ve been following these tuts, and they really are helpful in
    some way. But I still don’t know how to make a website with it. Like making
    more pages for example with links.

  4. tony_ROYmo 12:12 pm 2/01 of 2014

    For some reason I couldn’t get this one to work…..not sure why

  5. tehPotatoKing 12:19 pm 2/01 of 2014

    It’s a typical javascript function definition. The function is being
    assigned the name highlight, thus the function can be accessed via
    highlight(). options is the parameter name he happened to choose. In
    Javascript, when you define a function, you can define whether information
    can be passed to the function. In this plugin, Alex is using the Javascript
    concept of defining a function with one parameter. The name options is just
    a descriptive name, but it can be anything you want it to be called

  6. Spyros Lefkaditis 12:43 pm 2/01 of 2014

    I’ve been following all these videos from the start and they’re very well
    paced. My ONLY criticism is that at times I don’t understand whether some
    of the values given are jQuery built in code and their exact purpose. For
    example in this video he used “options” when declaring the function in the
    plugin. Now was that a name he chose himself or do you have to use it for
    the method to be able to accept arguments?


Your opinion matters. Add it below.

Tip: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Recent comments


Copyright jqueryui.info since 2010. All rights reserved. Design and the Absolute Theme by Tommie Hansen.