JavaScript
$('dl #last div #product-tabs-content').not(":first-child").hide();
This testing code works perfectly, however...
<dl class="last"><div class="product-collateral row-fluid">
<constructob>
<ul class="product-tabs">
<li id="product_tabs_1" class="first active">
<a href="javascript:void(0)" style="text-decoration: underline;">111</a>
</li>
<li id="product_tabs_product_3я" class="">
<a href="javascript:void(0)">222</a>
</li>
<li id="product_tabs_2" class="last">
<a href="javascript:void(0)">333</a>
</li>
<li id="product_tabs_капут" class="last">
<a href="javascript:void(0)" style="text-indent: initial;">444</a>
</li>
</ul>
</constructob>
<div class="product-tabs-content5" id="product_tabs_маря_contents">555</div>
<div class="product-tabs-content" id="product_tabs_маря_contents">1</div>
<div class="product-tabs-content" id="product_tabs_product_неля_contents" style="display: none;">2</div>
<div class="product-tabs-content" id="product_tabs_ганя_contents" style="display: none;">3</div>
<div class="product-tabs-content" id="product_tabs_капут_contents" style="display: none;">4</div>
</div>
<dl>
Unfortunately, this script does not work on my live website.
Check out the page with the issue here
I initially thought it was a nococflict.js problem, but even setting $jq
in functions did not solve anything.
It could be an issue with the class/IDs structure, but my Java knowledge is quite limited to troubleshoot this problem.