Forums

jQuery UI Widget (1 post)

  1. rpmonteiro
    Member
    Posted 10 months ago #

    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 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.

    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! (:

Reply

You must log in to post.

About this Topic