d0m1n1k Posted April 23, 2009 Share Posted April 23, 2009 prestashop uses excessive js jquerys ... and i love the result but there should be a warning for users if they don't have js activated.i've solved that byediting the /themes/{thema}/header.tplbetween {$HOOK_HEADER} and </head>insert: {literal} <style type="text/css"> div#hide { position:absolute; height:100%; left:0; width:100%; color:#FF0000; background-color:#FFFFFF; opacity:0.6 } </style> [removed] <!-- window.onload=function() { setTimeout('document.getElementById("hide").style.display="none"',0); return; } //--> [removed] This page needs JScript to work {/literal} where the two [removed] tags are, insert script = text/javascript opening and closing elements Link to comment Share on other sites More sharing options...
Recommended Posts