davidjbradshaw / image-map-resizer

Responsive HTML Image Maps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Help with Image map resizer in Divi?

tiger-five-in-lb opened this issue · comments

Hi!

I need help to get your script to work in Divi, a Wordpress theme and visual editor.

This is the page its on:
http://betas.mcmgroup.com/our-companies/

  1. I put your js in a file and put that file in a /js/ folder in my plugins.
  2. I called the image and map info in a row, using the code module.
  3. I put the scripts in the footer:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <script type="text/javascript" src="/wp-content/plugins/imagemap-resizer/js/imageMapResizer.min.js"></script> <script type="text/javascript"> $('map').imageMapResize(); </script>

It's not working and I wish I knew how to fix it. Your help is greatly appreciated.

Thanks!

That is a question for Stack Overflow, I have never used WordPress