[jQuery] Insert jQuery UI Widget – VERY SIMPLE
-
Hi there, I have this piece of code. This is from a jquery UI widget:
<script> $(function(){ $('#flip').jcoverflip(); }); </script> </head>... <body>... <ul id="flip"> <li><a href="..."><img ...><span class="title">My title</span></a></li> <li><a href="..."><img ...><span class="title">Another title</span></a></li> ... </ul>
I’m trying to install jCoverFlip. It says in the installation instructions that
Now you can use it like other jQuery UI widgets. After installing jQuery, jQuery UI, and jCoverflip, just call .jcoverflip() on the parent element to create it.
But what does that mean?
My doubt is where shall I put that code in the page for the widget to work!? How to insert that jQuery UI widget?(I have all requirements and libraries installed)
I believe this is very simple and I am being very dumb!
Thank you guys! (:
- The topic ‘[jQuery] Insert jQuery UI Widget – VERY SIMPLE’ is closed to new replies.