On the product page there are two links: 1 with the quantity of comments that already exist for the product and another saying "Write a comment". Further down the page there is a "tab" tab with the comments part. When you click on the link it triggers the comments tab, but does not slide the screen there so it seems that the link does nothing. What do I need to do to make this link have these two functions at the same time?
Note: I have tried to simply put # tab-review in href DOES NOT WORK
Links Code:
<a href="" onclick="$('a[href=\'#tab-review\']').trigger('click'); return false;"><?php echo $reviews; ?></a> / <a href="" onclick="$('a[href=\'#tab-review\']').trigger('click'); return false;"><?php echo $text_write; ?></a></p>
Link to this page: link