Russia
|
There is another solution.
I have seen it in the "Gift" plugin for UCHome.
The idea is to use "noConflict" mode of jQuery,
NOT modify the X2 code itself, but modify only YOUR ADDITIONAL CODE:
i.e. replace the standard "$" function in your code with another name, like this:- <script language="javascript" type="text/javascript" src="js/jquery.js"></script>
- <script language="javascript" type="text/javascript" >var $$ = jQuery.noConflict();</script>
- <script type="text/javascript">
- $$(document).ready(function(){
- showList( -1 , 0 );
- });
- ...
- </script>
Copy the Code |
|