Skip to main content

More jQuery Plug-ins

  • Chapter
Beginning jQuery
  • 2304 Accesses

Abstract

You ended the last chapter with a pretty awesome accordion plug-in that you built based on the initial accordion code you wrote in Chapter 7. In this chapter, you will take your Dribbble API work from Chapter 8 and turn it into a plug-in. You’ll do this by making a slightly different type of plug-in, one that exists directly on the jQuery object. This means instead of calling it on a set, as you did previously:

$$ \begin{gathered} \$ \left( {div'} \right).somePlugin(); \hfill \\ \quad \;You call it directly: \hfill \\ \$ .somePlugin(); \hfill \\ \end{gathered} $$

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 24.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Jack Franklin

About this chapter

Cite this chapter

Franklin, J. (2013). More jQuery Plug-ins. In: Beginning jQuery. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4933-7_10

Download citation

Publish with us

Policies and ethics