Hi all.
I've a problem adding the script to this template.
The script is called cookiebar.js,
www.primebox.co.uk/projects/jquery-cookiebar/
I can create the link to css and to js in the index.php file (located in templates/jf_calla-exteriors), but when i insert the script below nothing appears:
$(document).ready(function(){
$.cookieBar();
});
i put it just before (/body) tag, but also putting in other places it doesn't work.
The link to css and js are:
$doc->addStyleSheet('templates/'.$this->template.'/css/jquery.cookiebar.css');
$doc->addScript($this->baseurl.'/templates/'.$this->template.'/scripts/js/jquery.cookiebar.js', 'text/javascript');
I also have tried to insert the srictp in callaexteriors.js, with a $(document).ready(function(){ but it doesn't work.
Where i am wrong?
Can you help me?
thank you