Help with Js in C5

Permalink
Help! I'm referencing js in my header.php for the coda slider script but it disables my accordion (which is using c5'pre installed jquery) and the edit button on every page except the page where slider is, but the slider works. If I remove all references to js in the header the accordion, and edit interface all work fine. so its my suspicion one cancels out the other. Can someone tell me the proper way to reference js files I add to c5? Is there a way I can add js to the specific html block that the sliders divs are contained in without adding it to the html block entirely?

Loving C5 by the way

Thanks
Joseph

lifesgood1984
 
LucasAnderson replied on at Permalink Reply
LucasAnderson
Coda Slider includes a copy of Jquery and Easing in it. I'm wondering if you're trying to include these when they're already loaded in your system.

I know that c5 already includes jQuery by default, so you should not be adding a second call for it.

I _think_ that the accordion might be using Easing, so you shouldn't be adding that script call either.

You might have better luck just putting the Coda script into your header.

Cheers.
lifesgood1984 replied on at Permalink Reply
lifesgood1984
Hey Lucas thanks for the reply. Is there any way to tell which js is included in c5? by opening the js folder in the concrete directory i dont see easing, but that's no longer the problem as ive decided to forgo an accordion. and the version of coda slider i was using didnt include easing, but the one i am using now does, so i dont think theres a conflict there. but seeing as how you were so kind enough to reply to my question, i am wondering if u may have an answer to another one lol:

i am using pageslide js for a contact form (i want the form to slide out). if i use a regular page type for the form page it slides open, but wont slide close. so i created a single page for the page slide but dont know how to embed a block in a singe page? sorry im a newbie, whats the appropiate way of adding a block to a single page and in a way that the js does not conflict with the form? thanks

joseph