Home › Forums › Back End › Can’t seem to get any jscript to work in WP › Re: Can’t seem to get any jscript to work in WP
July 6, 2009 at 10:59 am #60285
Firstly, to clarify what I said before you can use wp_enqueue_script but only if it appears before wp_head in the header. Sorry, I thought you were calling it from further down in the template, which was my mistake.
Secondly, Apostrophe is completely right you have no element with an id of contactslide, so this code will do nothing. You should create a contactslide div somewhere on the page for this to have any effect.
contact slide contents