image mouseover works when editing page, not when published
-
Hi, I’ve got a few icons on my homepage which I would like to have change on mouseover. They all work when I’m looking at the page in editing mode, but when I publish it only one works.
Here’s the site: doramitchell.com
Here’s the code I’m using for the mouseover images:
<a href="https://www.doramitchell.com/portfolio_tag/creatures" rel="attachment wp-att-273"><img class=" wp-image-273 alignleft" onmouseover="this.src='https://www.doramitchell.com/portfolio/wp-content/uploads/2013/01/oddities1.jpg'" onmouseout="this.src='https://www.doramitchell.com/portfolio/wp-content/uploads/2013/01/oddities2.jpg'" alt="illustrations of creatures" src="https://www.doramitchell.com/portfolio/wp-content/uploads/2013/01/oddities2.jpg" width="175" height="266" /></a>
That’s the image that works on the published page.
<a href="https://www.doramitchell.com/portfolio_tag/people" rel="attachment wp-att-581"><img class=" wp-image-581 alignright" onmouseover="this.src='https://www.doramitchell.com/portfolio/wp-content/uploads/2013/01/people2_72dpi1.jpg'" onmouseout="this.src='https://www.doramitchell.com/portfolio/wp-content/uploads/2013/01/people1_72dpi1.jpg'" alt="illustrations of people" src="https://www.doramitchell.com/portfolio/wp-content/uploads/2013/01/people1_72dpi1.jpg" width="150" height="280" /></a>
THat’s the code for one of the non-working images. I don’t see any differences… Any help would be much appreciated! ??
- The topic ‘image mouseover works when editing page, not when published’ is closed to new replies.