Page 1 of 1
#reviewsPane not functioning
Posted: Thu Nov 05, 2015 12:26 pm
by hiddenlimits
When I go to /Product.aspx?ProductId=47#reviewsPane the review pane (tab) doesn't show up. We are on the bootstrap theme with tabbed product pages. Are we missing some javascript or do we have to write our own?
Thanks!
Re: #reviewsPane not functioning
Posted: Fri Nov 06, 2015 4:01 am
by nadeem
No, you aren't missing anything. If you go to product page and then click 'Reviews' tab, it should work. But if you access this directly from url, it will not take you to the reviews tab. To make it work like this you have to put some jquery/javascript at Website/Conlib/ProductPage.ascx inside bsTabs panel something like:
Code: Select all
$('#tabs').tabs({
select: function (event, ui) {
window.location.hash = ui.tab.hash;
}
});
Note that I haven't updated the styles for this to work with bootstrap.