Ask your WordPress questions! Pay money and get answers fast! (more info)

integrating jquery into wordpress pages WordPress

  • REFUNDED

artwill.juntosinc.com/media

basically i want to have this effects run in my pages.

apply this effects to MEDIA page.

http://tympanus.net/codrops/2011/10/12/flexible-slide-to-top-accordion/

Answers (1)

2012-11-26

Albert Shala answers:

Download or re-create the tutorial, link to the correct files and call the jquery script in your <head> tags, jquery is already included in wordpress you just have to utilize it, see here: http://digwp.com/2009/06/use-google-hosted-javascript-libraries-still-the-right-way/


miamega comments:

I have call the required jquery script in my header but doesnt works

I also include this in header

<script type="text/javascript">
$(function() {

$('#st-accordion').accordion();

});
</script>


Albert Shala comments:

It should look like this:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.accordion.js"></script>
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<script type="text/javascript">
$(function() {

$('#st-accordion').accordion();

});
</script>


Albert Shala comments:

You should go through the tutorial and set it up that way, once you you example working then move onto migrating it to wordpress.