Give this a try: http://docs.jquery.com/Using_jQuery_with_Other_Libraries
Jörn
On Fri, Sep 5, 2008 at 9:29 AM, Muhammad Iqbal
<[EMAIL PROTECTED]> wrote:
> Hi Guys,
>
> I am using JQuery as well as prototype in my application, both of the lib
> are conflicting since both uses $ for short cut. I saw a work around on
> jQuery.com but its not working. I would really appreciate if some one give
> me any solution. my code is as below:
>
> <script type="text/javascript" src="js/hoverIntent.js"></script>
> <script type="text/javascript" src="js/superfish.js"></script>
> <script type="text/javascript" src="js/jquery.corner.js"></script>
> <script type="text/javascript" src="js/flexigrid.js"></script>
> <script type="text/javascript" src="js/jquery.ui.all.js"></script>
>
> <script type="text/javascript" src="js/dateUtil.js"></script>
> <script type="text/javascript" src="js/util.js"></script>
> <script type="text/javascript" src="js/CalendarPopup.js"></script>
> <script type="text/javascript" src="js/validation.js"></script>
> <!-- Java Scripts here -->
> <script type="text/javascript">
>
>
> // initialise plugins
> jQuery(function(){
> jQuery('ul.sf-menu').superfish();
> });
> </script>
> <script type="text/javascript">
> $(document).ready(function(){
> $("ul.sf-menu").superfish({
> pathClass: 'current'
> onShow: function(){
> if ($.browser.msie){
> this.style.removeAttribute('filter');
> }
> }
> });
> });
> </script>
> <script type="text/javascript">
> $(function(){ // shorthand for $(document).ready() BTW
> $('div.round').each(function() {
> $(this).corner("round 6px");
> });
> });
> </script>
> <script type="text/javascript">
> $(function(){ // shorthand for $(document).ready() BTW
> $('.flexme').flexigrid();
> });
> </script>
> <script type="text/javascript">
> $(function () {
> $('ul.drawers').accordion({
> header: '.drawer-handle',
> selectedClass: 'open',
> event: 'mouseover'
> });
> $('#accordion').accordion({
> header: '.ui-accordion-header',
> clearStyle: true
> });
> $("#date").datepicker({
> showOn: "both",
> buttonImage: "images/calendar.gif",
> buttonImageOnly: true
> });
> });
>
> </script>
>
> Thanks in advance
> ---
>
> Regards,
>
> Muhammad Iqbal
> Development Lead
> AG Delta Pte Ltd - Singapore
> Office +65 6777 0143
> HP +65 8268 2919
> Fax +65 6777 0169
> Skype: iqbalhyd
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---