JavaScript code problem... Please help ASAP
Site centraltesttubes[.]com
If you go to homepage you will see the default view as "view_1" ( attached below ) and I want the default view to be "view_2"(attached below ).
I understand that this will involve changing the JavaScript code and I have located the .js file inside the themes folder. The corresponding code is
/* Change Post View */
jQuery(document).ready(function(){
jQuery("a.switch_thumb").toggle(function () {
jQuery(this).removeClass("swap");
jQuery("ul.display").fadeOut("fast", function() {
jQuery(this).fadeIn("fast").addClass("thumb_view");
});
}, function(){
jQuery(this).addClass("swap");
jQuery("ul.display").fadeOut("fast", function() {
jQuery(this).fadeIn("fast").removeClass("thumb_view");
});
});
}); Thanks in advance for your inputs.
-
sabaiCM -
Thanks
{{ DiscussionBoard.errors[6769077].message }} -
-
howudoin -
Thanks
{{ DiscussionBoard.errors[6771449].message }} -