Html link in post doesn't work, how to fix it? – Rollover image.
-
Hi,
I’d like to put a rollover image to post. It works fine when I’m editing, but a part of html I typed in disappears after saving the post.
I type in to html (in new post):
<img src=”http://naszetrendy.files.wordpress.com/2012/07/e471606511.jpg” name=e471606511 border=0>
So, in preview everything’s fine, but part is automatically deleted after saving. Why is this happening? How can I fix it?
Thank you very much for all the responces :)
The blog I need help with is: (visible only to logged in users)
-
..sorry, here’s the quote.
-
<a href=”http://naszetrendy.wordpress.com” — onmouseover=”rog1240166616.src= —
‘http://naszetrendy.files.wordpress.com /2012/07/e4716065dk.jpg'” — onmouseout=”rog1240166616.src=’http://naszetrendy.files.wordpress.com — /2012/07/e471606511.jpg'”><img src=”http://naszetrendy.files.wordpress.com – /2012/07/e471606511.jpg” name=”rog1240166616″ border=”0″/> -
The onmouseover attributes are not allowed because they are for JavaScript. See http://en.support.wordpress.com/code/#javascript
You may be able to do CSS-only rollovers. I posted a reply that may be useful in another thread, see https://en.forums.wordpress.com/topic/mouse-over-image-darkening-and-button?replies=2#post-959906
-
- The topic ‘Html link in post doesn't work, how to fix it? – Rollover image.’ is closed to new replies.