You can make the following changes to the document ready function on the product page:
: jQuery id-selector #elementId, window.location.hash id .
if ( window.location.hash ) {
$(window.location.hash).click(); //clicks on element specified by hash
}
: , js .
$('#healthysnacks').click(function(e) {
e.preventDefault();
ReverseDisplay('products4');
});
, , $(window.location.hash).click() .
, :
<a href="#" id="healthysnacks"> Healthy Snacks</a>