Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- $(document).ready(function () {
- $('#product-details').children().hide();
- $('.productBenefits').show();
- $("#buttoncollection li:nth-child(1)").addClass('selected');
- $('#buttoncollection .showHide').click(function (event) {
- $('#product-details').children().hide();
- $('#product-details .' + event.target.id).fadeIn(500);
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement