The forum of the forums
Welcome on the Forumotion Support Forum.

To take full advantage of everything offered by our forum, please log in if you are already a member or join our community if you're not yet....



Create a free forum like this one.

Mouse over "new topic" and "post reply" button

View previous topic View next topic Go down

Solved Mouse over "new topic" and "post reply" button

Post by iamthestreets on December 9th 2011, 5:08 pm

I would like to have both buttons highlight when you put your mouse over the button. I have been trying to figure this out on my own and so far no luck.

These are the buttons


Can someone please show me where and what code I need to change/use?

If you need any other info from me let me know.

Thanks!

iamthestreets
Forumotion Member

Posts: 114
Language: English
Points: 95
Join date: 2011-08-04

http://www.mystreetlife.forumotion.com/

Back to top Go down

Solved Re: Mouse over "new topic" and "post reply" button

Post by Raizen on December 9th 2011, 6:30 pm

Hi,

If you want to change go to your ACP >> Display >> Pics Management >> Advanced Mode >> Buttons >> there change the image address then replace it on your own.. Wink

Raizen
Forumotion Member

Male
Posts: 1479
Language: English & Tagalog
Location: Philippines (PH)
Points: 1699
Join date: 2011-04-18

http://forumotionservice.forumotion.com/

Back to top Go down

Solved Re: Mouse over "new topic" and "post reply" button

Post by LGforum on December 9th 2011, 7:41 pm

The best way to create a hover effect on these buttons is by setting the image as an empty image in the admin panel.

The in the CSS, setting your image as a background-image. Therefore you can work with CSS sprites.

LGforum
Forumotion Member

Male
Posts: 1672
Language: Plenty of them.
Location: UK
Points: 2054
Join date: 2011-03-05

http://www.avacweb.com/

Back to top Go down

Solved Re: Mouse over "new topic" and "post reply" button

Post by FL.ux on December 9th 2011, 7:44 pm

uhm, can you show how it could be done LG?

FL.ux
Forumotion Member

Male
Posts: 842
Age: 16
Language: I hope I could be a FM staff :'(
Location: I shall fly to the subterranean sky.
Points: 763
Join date: 2011-11-13

Back to top Go down

Solved Re: Mouse over "new topic" and "post reply" button

Post by LGforum on December 9th 2011, 7:46 pm

Its kind of hard to explain. But basically, you have the hover image and the normal image all as one image.

Then in the CSS, you set it so that when you hover over the class, that background image moves to show the other button.

This will explain it better:
http://www.w3schools.com/css/css_image_sprites.asp

Its kind of hard to write somebody else's sprite CSS for them without knowing the exact dimensions of the button and images.

LGforum
Forumotion Member

Male
Posts: 1672
Language: Plenty of them.
Location: UK
Points: 2054
Join date: 2011-03-05

http://www.avacweb.com/

Back to top Go down

Solved Re: Mouse over "new topic" and "post reply" button

Post by iamthestreets on December 10th 2011, 2:34 pm

does anyone know how to work with sprites? If I provide the images can some one do it for me? It's very confusing

iamthestreets
Forumotion Member

Posts: 114
Language: English
Points: 95
Join date: 2011-08-04

http://www.mystreetlife.forumotion.com/

Back to top Go down

Solved Re: Mouse over "new topic" and "post reply" button

Post by Nera. on December 10th 2011, 2:47 pm

Hi,

What is your forum version?

----------------------------



Nera.
Manager
Manager

Female
Posts: 6419
Age: 28
Language: Croatian, Italian, German, English
Location: Split, Croatia
Points: 9366
Join date: 2010-09-01

http://www.webartzforum.com/

Back to top Go down

Solved Re: Mouse over "new topic" and "post reply" button

Post by iamthestreets on December 10th 2011, 3:58 pm

Nera. wrote:Hi,

What is your forum version?


I finally figured it out. :wouhou: Thanks for all the help.

iamthestreets
Forumotion Member

Posts: 114
Language: English
Points: 95
Join date: 2011-08-04

http://www.mystreetlife.forumotion.com/

Back to top Go down

Solved Re: Mouse over "new topic" and "post reply" button

Post by Nera. on December 10th 2011, 4:01 pm

No problem.

Topic Solved & Locked

----------------------------



Nera.
Manager
Manager

Female
Posts: 6419
Age: 28
Language: Croatian, Italian, German, English
Location: Split, Croatia
Points: 9366
Join date: 2010-09-01

http://www.webartzforum.com/

Back to top Go down

View previous topic View next topic Back to top


Permissions in this forum:
You cannot reply to topics in this forum