I have this structure:
includes/top.php : This contains <head> tags, jQUery library & functions :
<script type="text/javascript">
function makeslider()
{
$('#coin-slider').coinslider({ width: 605,height: 450, navigation: true, delay: 5000 });
}
</script>
page.php : here have the #coin-slider div, but when I call the makeslider() function it doesn't turn my div into the coin slider ( http://workshop.rs/projects/coin-slider/ )
If I put everything on the same page it works, but when I seperate the function and libraries in the top.php, and the div in page.php it won't work..