• I built a site for work where I use cooltext 3d to make buttons which
    change when you place mouse over. WordPress 3.8 and previous versions were fine. Now every time I edit a page and update it changes all the buttons. I also use Plug N edit html editor plugin which is also affected.
    Code changes from this:

    <a href="http://www.caringbahmotorcycles.com.au/?page_id=109"><img class="size-full wp-image-506 alignnone" onmouseover="this.src='http://www.caringbahmotorcycles.com.au/wp-content/uploads/2014/04/parts-cooltext1510234149MouseOver.png';" onmouseout="this.src='http://www.caringbahmotorcycles.com.au/wp-content/uploads/2014/04/parts-cooltext1510234149.png';" alt="PARTS" src="http://www.caringbahmotorcycles.com.au/wp-content/uploads/2014/04/parts-cooltext1510234149.png" width="96" height="44" /></a>

    To this:

    <a href="http://www.caringbahmotorcycles.com.au/?page_id=109"><img class="size-full wp-image-506 alignnone" src="http://www.caringbahmotorcycles.com.au/wp-content/uploads/2014/04/parts-cooltext1510234149.png" alt="PARTS" width="96" height="44" /></a>

    Cheers for any help

Viewing 1 replies (of 1 total)
  • That’s because you really shouldn’t be adding JavaScript events (“onnouseover”) to HTML tags. The correct way to do this is with the CSS hover pseudoclass.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress 3.9 keeps changing code?’ is closed to new replies.