how to do fancy mouse-over pop up?

C++, C#, Java, PHP, ect...
Post Reply
catsudon
Posts: 5
Joined: Thu Oct 01, 2009 12:23 am

how to do fancy mouse-over pop up?

Post by catsudon »

I'd search for this but I have no idea what you call this.

when you mouse over an inventory item on the screen i know how you can make it popup that says the name of the item. ie ([baseball bat], over the graphic icon of baseball)

now, i remember in thottbot or wowwiki, when you mouse over a loot item, the popup shows fancy looking info with names, raraity and color icons etc etc.

is there a name for this type of coding and how to do this?

thanks
User avatar
Torniquet
Posts: 869
Joined: Sun Aug 02, 2009 6:18 am

Re: how to do fancy mouse-over pop up?

Post by Torniquet »

i have never tried doin anythin fancy with mouse overs. but the only way i know of doing it is to wrap a '<a></a>' round it. and include title="what ever"

so you would have...


<a title="a funkeh item thingmey bob">ITEM!!!!</a>

whether you can put images and all other kindsa shite in i really couldnt tell you as i have never tried it. i do know somewhere i could go and firebug to try find out tho ^^ jus thought of it. ill post again if i find n e thin x
New Site Coming Soon! Stay tuned :D
catsudon
Posts: 5
Joined: Thu Oct 01, 2009 12:23 am

Re: how to do fancy mouse-over pop up?

Post by catsudon »

i capture a screen shot to show you guys what i'm talking about.

one the left is a regular popup that's easy to do, the one on the right is something that i'm trying to figure out. see the popup that shows the name in blue for rare, and attack power of 9 and defense of 21.
User avatar
Sakar
Posts: 520
Joined: Thu Apr 23, 2009 2:59 am

Re: how to do fancy mouse-over pop up?

Post by Sakar »

Try this: http://www.dynamicdrive.com/dynamicinde ... ooltip.htm

It uses CSS and you could pretty easily get it to display content from PHP.
Falken
Posts: 438
Joined: Fri May 08, 2009 8:03 pm

Re: how to do fancy mouse-over pop up?

Post by Falken »

I am using a modified version of:
http://www.walterzorn.com/tooltip/tooltip_e.htm

to display the pictures when hovering over games on my page. But by default it does what you want.
--- Game Database ---
For all your game information needs!
Visit us at: http://www.gamedatabase.eu today!
catsudon
Posts: 5
Joined: Thu Oct 01, 2009 12:23 am

Re: how to do fancy mouse-over pop up?

Post by catsudon »

thanks for the tips, i know what to do with them now, just have to restrain myself not to make it too fancy. :lol:
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: how to do fancy mouse-over pop up?

Post by hallsofvallhalla »

i used dynamic drive in Forsaken Sanctum when doing its hover

Image
Post Reply

Return to “Coding”