Documentation now linked

A new feature has been implemented; all jQuery code snippets we post will now be linked to the appropriate part of the documentation. So, for example, when we post:

JavaScript:
  1. $('div.foo').find('a').hide().end();

You can click on the function names "find," "hide" and "end" for more information on the functions. These definitions are culled from the same XML file that powers the official API documentation.

4 Responses to “Documentation now linked”

  1. Karl Says:

    This is so cool! Thanks, Jonathan!

  2. John Resig Says:

    This is an awesome re-mix of the documentation - great job guys!

  3. John Wright Says:

    How did you all pull that off? Anything that is generally usable?

  4. sam Says:

    how to I put Show and Hide code basic together? So confuse :(

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <pre> <em> <i> <li> <ol> <strike> <strong> <ul>

IMPORTANT: If you wish to post code examples, please wrap them in <code> tags. Multi-line code should be wrapped in <pre><code> </code></pre> Also, use &lt; instead of < and &gt; instead of > in the examples themselves. Otherwise, you could lose part of the comment when it's submitted.