MyBB Community Forums

Full Version: rollover image new reply
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

MikeInToshx

Hi guys

How do I make the 'New Thread' and 'New Reply' have rollover buttons?
I already designed the image, but how/where do I put in the code?

Thankies.
You're probably best using css buttons if you want rollovers

http://community.mybb.com/thread-113303.html

This works good but you'll have to ask about the multiquote fix.

MikeInToshx

I rather use my own images, and new trhead and new reply is all I need to be replaced. not all buttons. Thanks though
use css with hover sprites for those specific buttons.

http://www.w3schools.com/css/css_image_sprites.asp

MikeInToshx

I'm new to that css, but I'll give it a shot.

Sooo something like this?

 
newthread a:link,
newthread a:visited {
	width: 185px;
	height: 28px;
	background: url(images/finalsense/newthread.gif) top left no-repeat;

newthread a:hover {
	background-position: 0 -28px;
}

And this image?:
[attachment=29570]

I don't know what to replace "newthread" with, I know that is wrong.