Results 1 to 3 of 3

Thread: How to implement tabs like display

  1. #1
    Join Date
    Apr 2012
    Posts
    2

    Question How to implement tabs like display

    Hi,

    made a search but the keywords tab, tabs returned too many results...

    Looking to add tabs in a JSP. Since it's quite common, I was looking for a lib in Spring 3 that was available but could not find any. Does someone has a recommendation provided I don't want any rich-client widgets ?

    Thanx,

  2. #2
    Join Date
    Jul 2009
    Location
    PUNE
    Posts
    43

    Post

    Quote Originally Posted by COOL_DEV View Post
    Hi,

    made a search but the keywords tab, tabs returned too many results...

    Looking to add tabs in a JSP. Since it's quite common, I was looking for a lib in Spring 3 that was available but could not find any. Does someone has a recommendation provided I don't want any rich-client widgets ?

    Thanx,
    Hi,

    You may want to have a look at JQueryUI project. It provides a tab control. The mechanism is very simple. Include jquery-1.7.2.js, include jquery-ui-1.8.16.css. And use HTML code similar to shown below.

    HTML Code:
    <div id="tabs">
      <ul>
           <li><a href="#tabs-1">Business Details</a></li>
           <li><a href="#tabs-2">Contact Details</a></li>
       </ul>
        <div id="tabs-1">
         <!-- YOUR HTML CODE -->
        </div>
        <div id="tabs-2">
         <!-- YOUR HTML CODE -->
        </div>
    </div>
    <script type="text/javascript">
    $(document).ready(function() {
        $("#tabs").tabs();
    });
    </script>
    Regards,
    Prasad P. Khandekar

  3. #3
    Join Date
    Apr 2012
    Posts
    2

    Lightbulb

    Hum it looks like what I was looking for so thank's

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •