jquery edit mode

Permalink
Hi,
I'm a newbie to Concrete5. I try to make my own theme. So far so good.
In header.php I put the following code:

<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('css/slider.css')?>" />


<script type="text/javascript" src="<?php echo $this->getThemePath()?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php echo $this->getThemePath()?>/js/easySlider1.7.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#slider").easySlider({
auto: true,
continuous: true
});
});
</script>

Once I try to edit a page in edit mode, the 'dashboard' disapears. Can someone help me?

Best regards,
kris

 
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
You don't need to include jQuery - C5 does that for you. By including it twice, it has probably become declared twice and caused javascript to complain - there will be an error message in the javascript developer console.
omygod replied on at Permalink Reply
Thanks a lot! Works very well, now.