Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.39 KB | None | 0 0
  1. $(function() {
  2.     // When a radio button is clicked perform a function
  3.     $("ul.nolist input[type=radio]").click() {
  4.         // Get the target content
  5.         var target = $(this).attr("value");
  6.         // Slide the visible content up, then perform a function
  7.         $(".tab-content:visible").slideUp(function() {
  8.             // Slide down the target content
  9.             $(".tab-content#showabspath"+ target).slideDown();
  10.         });
  11.     });
  12. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement