I would like to create a link that opens one of the tabs. Oddly enough I have it working on one product page but it doesn't seem to work on any other.
What I have in place for the link
Within the tabbed content
(I had used an id tag previously for another jump link and it works.)
When I first set it up, it worked on this page (now it doesn't). If you reload the page with the #samplebox, it does open the tab. I suspect I need some sort of javascript snippet to make this work the first time, every time?
What I have in place for the link
Code:
<a href="/&mvt:global:product_code;.html#samplebox">Sample Policy ></a>
Code:
<dt><a href="#samplebox">Samples</a></dt> <dd> <div class="prod-tabbox-content" id="samplebox">
When I first set it up, it worked on this page (now it doesn't). If you reload the page with the #samplebox, it does open the tab. I suspect I need some sort of javascript snippet to make this work the first time, every time?
Comment