Title: Using HTML/javascript/imagemap  in a post/
Last modified: August 18, 2016

---

# Using HTML/javascript/imagemap in a post/

 *  [Geoff](https://wordpress.org/support/users/geoff/)
 * (@geoff)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/using-htmljavascriptimagemap-in-a-post/)
 * Hi. I’m trying to use some html and javascript in a post…
    My ultimate goal is:
   There is a picture in my post. When you move the mouse over the nose of the person
   in the picture, i want the picture to change… all pretty basic stuff with image
   maps and javascript. I have the htmp/javascript/image map Only, when I put it
   at the top if a post… wordpress mangles it, and it doesn’t run properly. What
   i’m trying to use is: [http://www.nomorepasting.com/paste.php?pasteID=17059](http://www.nomorepasting.com/paste.php?pasteID=17059)
   Can anyone help? -Geoff

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

 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/using-htmljavascriptimagemap-in-a-post/#post-75107)
 * Try disabling “wptexturize” filter in /wp-includes/vars.php
    on line 185, comment
   out as below: `//add_filter('the_content', 'wptexturize');`
 *  Thread Starter [Geoff](https://wordpress.org/support/users/geoff/)
 * (@geoff)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/using-htmljavascriptimagemap-in-a-post/#post-75170)
 * I tryed your suggestion… unfortunatly, it still mangles my code.. :\
    Anything
   else I might try? -Geoff
 *  [mattread](https://wordpress.org/support/users/mattread/)
 * (@mattread)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/using-htmljavascriptimagemap-in-a-post/#post-75182)
 * Under Options->Writing, do you have “WordPress should correct invalidly nested
   XHTML automatically” UNCHECKED?
    Also try using the markdown plugin. I did those
   plus removed the filter and it works for me!
 *  Anonymous
 * [21 years, 10 months ago](https://wordpress.org/support/topic/using-htmljavascriptimagemap-in-a-post/#post-75284)
 * Thank you! I’ll try it now.. 🙂
    -Geoff

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

The topic ‘Using HTML/javascript/imagemap in a post/’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: Anonymous
 * Last activity: [21 years, 10 months ago](https://wordpress.org/support/topic/using-htmljavascriptimagemap-in-a-post/#post-75284)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
