The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Hovering?

3 posters

Go down

In progress Hovering?

Post by Tobii Thu 6 Oct 2011 - 2:43

Look at the staff widget
Ok guys, I wanna know how to do this, click the link look at the staff widget. Hover over a picture and then the name comes out on top, how do you do that? Thanks!
~Logan aka. Tobii
Tobii
Tobii
Forumember

Male Posts : 332
Reputation : 3
Language : English, Mandarin, French

http://naruto-thepath.boardonly.com/

Back to top Go down

In progress Re: Hovering?

Post by LGforum Thu 6 Oct 2011 - 3:53

You can add an onMouseOver="" attribute to html elements.

For example, <a onMouseover="alert('hello');">HTML HERE</a>
In the onmouseover event, you must have a javascript statement or function.

OR
for a really simple easy method, add a title to you images.
So your image html will look like this:
<img src="image url" title="staff name">
and when someone hovers over the image, it will bring up whatever you set the title as. Its very boring though.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

In progress Re: Hovering?

Post by Tobii Thu 6 Oct 2011 - 4:55

I'll try it tomorrow, thanks.
Tobii
Tobii
Forumember

Male Posts : 332
Reputation : 3
Language : English, Mandarin, French

http://naruto-thepath.boardonly.com/

Back to top Go down

In progress Re: Hovering?

Post by Nera. Sat 8 Oct 2011 - 8:48

Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Back to top

- Similar topics

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