Map clashing with WP – suggestions on fix? [closed]

If you’re using FireBug for FireFox or the Google Chrome Developer Tools (both available on Win via [F12]-key), then you can see that you’re missing ressources (404) via your Console Tab in the tool bar:

Failed to load resource: the server responded with a status of 404 (Not Found)

The list of “missing” files:

  • tooltip.css
  • mapper.js
  • wz_jsgraphics.js
  • cvi_tip_lib.js
  • maputil.js

When looking at your source than I’d say, your pathes are simply wrong.

Try to use plugin_dir_path( __FILE__ ); for javascript file pathes and plugin_dir_url( __FILE__ ); for stylesheets.