• Resolved chrystelle

    (@chrystelle)


    Hi,
    since i have installed easy2map, the other acces to javascript files,don’t work.
    For example, on index.php, I have added
    <script src = “js/jquery.flexslider.js”> </ script>
    That’s does’nt work
    I tried to put the same script, on a simple html page, on the root, same problem. But if i uninstall this plugin, all is working!
    This plugin seems stop the other script.
    Someone have a solution?
    thx

    https://wordpress.org/plugins/easy2map/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author stevenellis

    (@stevenellis)

    Hi,
    My apologies for the issues you’re experiencing. If you are able to send me a link to the page showing the error, I can look at the javascript files to try and see if I can fix this. Please email me at steven.conrad@gmail.com and we can discuss how to resolve this issue.

    Many thanks,
    Steven

    Thread Starter chrystelle

    (@chrystelle)

    Thx steven.
    I have found a soluce.
    It’s my first template in wordpress and i don’t know all the syntax to script correctly (sorry for my english).
    I don’t know why, without plugin, my function works but it does. The problem does’nt came from Easy2map. It happens also with others map plugin.
    To resum, in page.php, i had :

    <script type="text/javascript">
    	$(window).load(function() {
    		$('.flexslider').flexslider({...});
    	});
    </script>

    Now, the correct script :

    <script type="text/javascript">
    //<![CDATA[
    (function($) {
    	$('.flexslider').flexslider({ ... });
    
    })(jQuery);
    
    //]]>
    </script>

    I had found in the codex that $ was the problem

    Plugin Author stevenellis

    (@stevenellis)

    Thanks for the reply, I’m glad you managed to get your issue resolved!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error with other javascript’ is closed to new replies.