Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Javascript help needed (mulitline tooltips!)
blizeH
✭✭
Hi there chaps, apologies for posting this here, but I'm under the impression there are plenty of JS whizkids on this site so here seems like a good place to ask! :-)
I'm trying to get a multiline tooltip effect but I'm not having much luck. I've tried quite a few, but eventually opted for this one, I managed to get it working just fine, but needed to change it so it would display at the position of the mouse cursor instead of a set position, and, err, it didn't go too well! :-) I've never used Javascript before but tried to implement the code at the bottom of this page with the existing code and I didn't have a lot of luck. Would anyone be able to help me set up these tooltips correctly please?
Thanks!
I'm trying to get a multiline tooltip effect but I'm not having much luck. I've tried quite a few, but eventually opted for this one, I managed to get it working just fine, but needed to change it so it would display at the position of the mouse cursor instead of a set position, and, err, it didn't go too well! :-) I've never used Javascript before but tried to implement the code at the bottom of this page with the existing code and I didn't have a lot of luck. Would anyone be able to help me set up these tooltips correctly please?
Thanks!
0
This discussion has been closed.
Comments
Why not use something like the notes on Flickr images? Those are cool. I believe you can get it down without JS, just using CSS/XHTML.
...but I could be way off.
@ Krak; once again, thanks, but I've tried those too and they aren't really viable becuase the areas on the image aren't a perfect square, but yeah, the way Flickr do theirs is very nice and would of been great, just not really viable at all ;(
Ideally I need a way to implement that one piece of code I mentioned in the first post (simply because out of 7/8 tooltips I've tried, it's the only one that's even come close to working with the imagemap properly, I just need to find a way to properly implement that mouse position thing mentioned in my /other/ post to get it positioned to the mouse and not a set position ;(
There was a bug whereby the header tag was being displayed as a standard thing in image maps in IE, so I used the fix as described on this topic but now it simply isn't working at all.
I'm completely at a loss but really need to get this sorted asap, any help would be much appreciated, cheers!
it'd be a breeze to get what you want working with flash.
I believe u can do all of that using Fireworks or Imageready.
the way u do it is open up the image on Fireworks. Define Hotspots, have each hotspot and onmouse over behaviour. put anything u want. and than ask fireworks to generate the code. It should be damn easy to do.
Get the script here.
It's pretty simple to set up.
Don't know if this is anything to work on, but someone posted this code onto the swazz forum, but I'm not having any luck at all implementing it