- 41
What would be the best way to display a JCarousel inside a tab?
I attempted to do the following in _ProductTabs.cshtml
var relatedProducts = Html.Widget("relatedProducts_jcaroussel").ToHtmlString();
if (!String.IsNullOrWhiteSpace(relatedProducts))
{
divs.Add(new KeyValuePair<string, string>("tab-relatedProducts", relatedProducts));
<li><a href="#tab-relatedProducts">Related Products</a></li>
}
The above was my best guess.
The JCarousel does shows up in the tab, but the formatting (HTML,CSS) is completely messed up.
Any assistance would be greatly appreciated.
Thanks,
~Mike
I attempted to do the following in _ProductTabs.cshtml
var relatedProducts = Html.Widget("relatedProducts_jcaroussel").ToHtmlString();
if (!String.IsNullOrWhiteSpace(relatedProducts))
{
divs.Add(new KeyValuePair<string, string>("tab-relatedProducts", relatedProducts));
<li><a href="#tab-relatedProducts">Related Products</a></li>
}
The above was my best guess.
The JCarousel does shows up in the tab, but the formatting (HTML,CSS) is completely messed up.
Any assistance would be greatly appreciated.
Thanks,
~Mike