Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function() {
- // When a radio button is clicked perform a function
- $("ul.nolist input[type=radio]").click() {
- // Get the target content
- var target = $(this).attr("value");
- // Slide the visible content up, then perform a function
- $(".tab-content:visible").slideUp(function() {
- // Slide down the target content
- $(".tab-content#showabspath"+ target).slideDown();
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement