I am trying to integrate the Jquery UI select menu ("dropdown" Style), in my wordpress site.
But I am not able to do it, in widget area I created a select box and gave it respective ID of that css and jquery, but its not getting loaded with jquery.
Here is my code, which I am using it to achieve:-
The head part:-
<link rel="Stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/ui-darkness/jquery-ui.css" type="text/css" />
<link rel="Stylesheet" href="<?php echo get_template_directory_uri(); ?>/ui.selectmenu.css" type="text/css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/ui.selectmenu.js"></script>
<style type="text/css">
/*demo styles*/
select,.ui-select-menu { float: left; margin-right: 10px; font-size: 62.5%;}
select, .ui-selectmenu { width: 200px; font-size: 62.5%; margin:10px;}
#cat{font-size: 62.5%;}
</style>
<script type="text/javascript">
JQuery(function(){
JQuery('select#cat').selectmenu({style:'dropdown'});
});
</script>
<script type="text/javascript" src="http://ui.jquery.com/applications/themeroller/themeswitchertool/"></script>
The select menu appears with normal css, but the jquery is not working,
I am bad in Jquery, so can any one help, I am using 2011 Theme, and you can check the selet menu on my site http://webstutorial.com/
Edited:
<script type="text/javascript">
jQuery.noConflict();
jQuery(function(){
jQuery('select#cat').selectmenu({style:'dropdown'});
});
</script>