Close

Link to tab does not work

Tommy
8 years ago
#10548 Quote
Avatar
  • 21
Hi

Due to EU law I need to put in a link to datasheet(Specification tab) under the price.
However this is not working  <a href="#quickTab-specifications" target="_self">@T("we.klikherfordatablad")</a>
I can get it to work if I use _Blank as target but I don´t wan´t to open a new window.

Please let me know how to fix this.
Note: Ajax is disabled for the TAB plugin as I could see that this could cause a problem.

Link:http://www.islev-el.dk/miele-wda200-nds (Click on "Klik for datablad" text in table under price)



Best regards Tommy
hristo
8 years ago
#10549 Quote
Avatar
  • Moderator
  • 172
Hi,
the tab you are targeting is by default inactive. You have to add a javascript command to your anchor link that activates the tab.
There is a workaround that will do the job, but it will also reload the page - change the anchor href by adding "/" at the start, like this:

href="/#quickTab-specifications"

This will take you to the desired tab by reloading the page.

I hope this helps
Regards
Regards,
Hristo Gospodinov
Nop-Templates.com