Hello there, i have a problem (many months ago) but i just released it. In the past i tried to add lightbox to use it on some products. The problem was that when i was adding the lightbox it was preventing the other javascripts from functioning. E.g the prices were not changing if the user choosed an option that has to modify the price.
Qualiteam told me that it was a conflict with the lightbox so i left it. Before a few days i added a script which is:
Code:
window.onload=show;
function show(id) {
var d = document.getElementById(id);
for (var i = 1; i<=20; i++) {
if (document.getElementById('answer_q'+i)) {document.getElementById('answer_q'+i).style.display='none';}
}
if (d) {d.style.display='block';}
}
but even with that code i have again the same problems. Even if i added it with external .js. Any ideas what's going on?