• 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
    Can anyone help?
    -Geoff

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try disabling “wptexturize” filter in /wp-includes/vars.php
    on line 185, comment out as below:
    //add_filter('the_content', 'wptexturize');

    Thread Starter Geoff

    (@geoff)

    I tryed your suggestion… unfortunatly, it still mangles my code.. :\
    Anything else I might try?
    -Geoff

    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!

    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.