WordPress.org

Support

Support » How-To and Troubleshooting » problem with onmousever in HTML

problem with onmousever in HTML

  • anhtuan020588
    Member

    @anhtuan020588

    Hi everyone,

    At present, I want to design html,using tag onmouseover for pictures, I want pictures change color when I move mouse on that and back to normal when I move mouse out that, now. I design code for that, but it only works at local, it doesn’t work at WordPress’s HTML, who can help me solve this problem or docs about that?

    Thank you very much!

    Code :

    [please mark your code by wrapping it into backticks or using the code button – the code below might already be corrupted]

    <div class="picture"><a href="http://cs.export2global.net/xk/2011/11/email-marketing-field-guide/"><img src="http://static.mailchimp.com/www/images/resources/guides/thumbs/email-marketing-field-guide.png" id="Image1" onMouseOver="MM_swapImage('Image1','','http://cs.export2global.net/xk/wp-content/uploads/2011/11/email-marketing-field-guide-fix.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></div>

  • The topic ‘problem with onmousever in HTML’ is closed to new replies.