Announcement Announcement Module
Collapse
No announcement yet.
How to implement tabs like display Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Comment


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

      Comment

      Working...
      X