Hello Warriors, Site centraltesttubes[.]com
JavaScript code problem... Please help ASAP
3
Hello Warriors,
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 So how do I change the default view (that is the view that I get on loading page for the first time)?
Thanks in advance for your inputs.
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
Code:
/* 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
- howudoin
Next Topics on Trending Feed
-
3