Rollover Effects In HTML [message #37082] |
Thu, 03 May 2007 12:51 |
Dustin Kowalski
Messages: 62 Registered: August 2006 Location: Leicester
Karma:
|
Member |
|
|
My forum is pretty heavily customised now, but there's one problem that's causing me an issue, and I'll need some advice from somebody with programming experience, if anybody's feeling helpful please
I've completely redesigned the formatting tools. This is what they look like:
I've loaded everything into my post_common.tmpl and it's displaying fine, all the Java is fine. If people click on 'Spoiler', it enters the correct tags, and so on for every function.
The only problem is ... rollover effects. The pure HTML from the designing works fine, so that if I hover over the image tag ( ) it changes appearance to .
However, I cannot incorporate these rollover effects into the template. I have rollover effects in other things which work fine, but these are hyperlinks in the forum heading rather than elements that use Java functions.
So, I need a quick pointer in the right direction, please. If we take the image tag as an example, what do I need to do? (The tag is b-image.gif. The OnMouseOver is b_image-over.gif.)
This is what the relevant part of my post_common.tmpl looks like:
<td class="FormattingToolsCLR"><a title="{MSG: post_common_image}" accesskey="m" href="javascript: image_insert();"><img alt="" src="http://www.jeb.org.uk/~fletch/JEB%20Forum%20Graphics/Templates/Formatting%20Tools%20-%20Gen2/images/b_image.gif" /></a></td>
So, I'd really, really appreciate any help that people could give me. As I said, everything is fine in that people can use the functions, but I'd absolutely love it for the rollover effects to be included, just to make things that little bit more personal.
If you can tell me how to change my script so that it works, please do!
Tim
|
|
|