WordPress.org

Support

Support » How-To and Troubleshooting » Can WP do image mouseovers?

Can WP do image mouseovers?

  • Hi,

    I am trying to help the owner of this WP site http://www.lpod.org/ do image mouseovers like his old site http://www.lpod.org/archive/LPOD-2005-05-27.htm , so far with no success.

    Neither of us know much HTML but if there is a way to do this it would be really helpful for a site like this as you can see from the example. I have tried pasting this XHTML code (which works fine outside of WP) into the page content code window but it doesn’t work –

    http://paste.uni.cc/17843

    I’ve looked around the Codex for information about inputing code but ended up tied in knots (several times), so I hope I haven’t missed something obvious.

    Can WP do image mouseovers?

    Thank you!

    Stefan

Viewing 9 replies - 1 through 9 (of 9 total)
  • If it is an effect you would like to use for just one post you could easily use a plugin like INLINE JS or similar so you could add inline javascript code to your post.

    Thanks Deuced.

    I have just discovered that Javascript is not allowed for security reasons as it can be exploited for malicious purposes ( http://faq.wordpress.com/2006/05/07/javascript-can-i-use-that-on-my-blog/ ). I would have thought the same applies to JS enabling plugins so I’m a bit surprised to see there is one available for WP. Either way, now I know about the security implications I should probably avoid JS on WP even if it is possible.

    Apart from that I don’t appear to have a tab for plugins on my free WP blog account, so I can’t test it myself, perhaps they are only available for the full WP installation.

    I hope there is some other way to do this…

    Stefan

    apple and oranges.

    blogs on wordpress.com and self-hosted wordpress blogs

    blogs hosted on wordpress.com dont have a plugins tab because you cannot upload your own plugins. plugins as they are described on THESE forums are made for self-hosted blogs.

    Questions about blogs hosted on wordpress.com are better asked and answered over on their own forums, and this thread is a good reason why 🙂

    http://en.forums.wordpress.com/

    Thanks for putting me straight Whooami 🙂

    However the site I am trying to get this to work on eventually is a self-hosted blog, so perhaps the XHTML code (which I know works) will work ok there with the INLINE JS plugin…

    – so thanks again Deuced, I can see now that the comments about JS vulnerability were obviously only relevant to wordpress.com.

    Stefan

    One other thing is that Inline JS is useful when you need a piece of code once in your post. But if you want to use the same code anywhere else in your template you ‘d better put it in the header and call it when you need it.

    More info here.

    Thanks Deuced, if I understand the way the site is set up it gets used just once, if not I’ll do that.

    Stefan

    Hope this isn’t OT, but is your “image mouseover” anything like an “image map” wherein moving the mouse over different parts of an image and clicking loads another uri?

    Just curious, and lurking around the forum for info on image-mapping.

    Well I guess its similar except there’s no clicking, eg. http://www.lpod.org/archive/LPOD-2005-05-27.htm , if you position the mouse over the image a new one appears.

    Stefan

    Similar but no cigar. Moving the mouse over different parts of an image(map) brings up different urls when one clicks the mouse button. If for example you had a map of the U.S., clicking over various states would link to something to do with that state.

    I’ll keep lookin’.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Can WP do image mouseovers?’ is closed to new replies.
Skip to toolbar