Hello everyone,
I am new to zencart and am working on "improving" an older web-shop.
I want to add a script that shows a text and disappears in x time. The script works and it does the job, the problem is that when i add it to the custom template header/footer/main-page (dosnt matter where) other divs stop working. For example if i add the script in the footer template, my banner place disappears.

What could cause this? And could i just clone the cookie script and change its text to what i need be an easier solution?

The script is the following:

<div id="text" style="display:none;">Random words</div>

<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script>
$( document ).ready(function(){
$('#text').fadeIn('slow', function(){
$('#text').delay(15000).fadeOut();
});
});
</script>