Jquery scroller works on first page but not on subsequent

Permalink
Hey, I am developing a theme for a client and have a simple jqery scroller running in the header.php. My problem is that it works fine on the first page and even in the edit mode on subsequent pages but when I go out of edit, the scroller doesn't work on the other pages and the edit bar is gone. This looks like a jquery conflict but then why would it work on the the first page in edit or out of it? Does somebody have a tip?

 
weiala replied on at Permalink Reply
I got it to work in the end. If anyone has similar problems, the solution was to make sure that the javascript was in a folder within the theme folder and to reference it with
<?php echo $this->getThemePath()?>
. It helps to keep things straight when you redo a theme template for Concrete5!