Rollover not working when I go Live
-
I am using “The Chateau” theme.
On editing mode, I input this code under Text:
<img onmouseover=”this.src=’http://hichamchami.files.wordpress.com/2014/03/hicham-chami-academia-modified.jpg'” onmouseout=”this.src=’http://hichamchami.files.wordpress.com/2014/03/hicham-chami-academia-original.jpg'” alt=”” src=”http://hichamchami.files.wordpress.com/2014/03/hicham-chami-academia-original.jpg” /><img onmouseover=”this.src=’http://hichamchami.files.wordpress.com/2014/03/hicham-chami-outdoors-modified.jpg'” onmouseout=”this.src=’http://hichamchami.files.wordpress.com/2014/03/hicham-chami-outdoors-original.jpg'” alt=”” src=”http://hichamchami.files.wordpress.com/2014/03/hicham-chami-outdoors-original.jpg” /><img onmouseover=”this.src=’http://hichamchami.files.wordpress.com/2014/03/hicham-chami-collections-modified.jpg'” onmouseout=”this.src=’http://hichamchami.files.wordpress.com/2014/03/hicham-chami-collections-original.jpg'” alt=”” src=”http://hichamchami.files.wordpress.com/2014/03/hicham-chami-collections-original.jpg” />
<img onmouseover=”this.src=’http://hichamchami.files.wordpress.com/2014/03/hicham-chami-qanun-modified.jpg'” onmouseout=”this.src=’http://hichamchami.files.wordpress.com/2014/03/hicham-chami-qanun-original.jpg'” alt=”” src=”http://hichamchami.files.wordpress.com/2014/03/hicham-chami-qanun-original.jpg” /><img onmouseover=”this.src=’http://hichamchami.files.wordpress.com/2014/03/hicham-chami-photography-modified.jpg'” onmouseout=”this.src=’http://hichamchami.files.wordpress.com/2014/03/hicham-chami-photography-original.jpg'” alt=”” src=”http://hichamchami.files.wordpress.com/2014/03/hicham-chami-photography-original.jpg” /><img onmouseover=”this.src=’http://hichamchami.files.wordpress.com/2014/03/hicham-chami-writings-modified.jpg'” onmouseout=”this.src=’http://hichamchami.files.wordpress.com/2014/03/hicham-chami-writings-original.jpg'” alt=”” src=”http://hichamchami.files.wordpress.com/2014/03/hicham-chami-writings-original.jpg” />I switch to visual… and the rollover function is working just fine…
I update the page… Look at the result, and the rollover function is gone…
I switch back to Edit mode, just to realize that my code has been replaced by:
<img alt=”” src=”http://hichamchami.files.wordpress.com/2014/03/hicham-chami-academia-original.jpg” /><img alt=”” src=”http://hichamchami.files.wordpress.com/2014/03/hicham-chami-outdoors-original.jpg” /><img alt=”” src=”http://hichamchami.files.wordpress.com/2014/03/hicham-chami-collections-original.jpg” />
<img alt=”” src=”http://hichamchami.files.wordpress.com/2014/03/hicham-chami-qanun-original.jpg” /><img alt=”” src=”http://hichamchami.files.wordpress.com/2014/03/hicham-chami-photography-original.jpg” /><img alt=”” src=”http://hichamchami.files.wordpress.com/2014/03/hicham-chami-writings-original.jpg” />Is it the theme that is not supporting the code?
Is it WordPress?
Is there a way around it?Help is appreciated.
Thanks
The blog I need help with is: (visible only to logged in users)
-
Code support is not theme-dependant, but it DOES depend on you not switching between text and visual modes while editing.
To test whether the code is supported at WordPress.com (and I don’t know, I don’t think I’ve seen that code before but there don’t seem to be any obvious reasons it would not) paste the code in last thing, hit Publish, and see if it works on an actual published post or page. If you don’t want to experiment live on the blog, make it a Page and set the date of the page to ten years ago. That way nobody will see it. Then report back. If it does not work and you did NOT click between visual and text editors before hitting Publish, then it just plain will not work here.
-
Sorry Raincoaster, it is still not working…
I tried not to transit back to Visual mode, and update straight for Text mode… The moment I hit the “Update” button, it reverses back to the stripped down version of the code…
This might sound stupid, but when you actually say hit “Publish”, you mean hit “Update” right? I do not see a “Publish” button anywhere! -
-
If code is being stripped out, then some of your original code is not allowed. The link below should help
-
Like I said in the first place, if you follow my instructions and it still doesn’t work, then it’s not allowed.
- The topic ‘Rollover not working when I go Live’ is closed to new replies.