Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- jQuery(document).ready(function($) {
- var clear = $('.video-nav h5'); //topic
- var first = $('.video-nav ul li:nth-child(1) a'); //starting
- var second = $('.video-nav ul li:nth-child(2) a'); //mortgage
- var third = $('.video-nav ul li:nth-child(3) a'); //financing
- var fourth = $('.video-nav ul li:nth-child(4) a'); //credit-closing-federal-programs
- var fifth = $('.video-nav ul li:nth-child(5) a'); //selling
- var sixth = $('.video-nav ul li:nth-child(6) a'); //trd
- $( clear ).click(function() {
- $( "#starting" ).show();
- $( "#mortage" ).show();
- $( "#financing" ).show();
- $( "#credit-closing-federal-programs" ).show();
- $( "#selling" ).show();
- $( "#trd" ).show();
- });
- $( first ).click(function() {
- $( "#starting" ).show();
- $( "#mortage" ).hide();
- $( "#financing" ).hide();
- $( "#credit-closing-federal-programs" ).hide();
- $( "#selling" ).hide();
- $( "#trd" ).hide();
- });
- $( second ).click(function() {
- $( "#mortgage" ).show();
- $( "#starting" ).hide();
- $( "#financing" ).hide();
- $( "#credit-closing-federal-programs" ).hide();
- $( "#selling" ).hide();
- $( "#trd" ).hide();
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement