Sunday, March 11, 2012

need tool tip like functionality and advice.

http://www.google.co.uk/search?hl=en&q=javascript+tooltip&btnG=Google+Search&meta=


I deserved that! What I failed to mention was that I need to be able to change the text that is displayed based on the company the customer work for. One customer may define unsafe differently then another one. I would also like all the information to show in one place and not popping up next to or a position relative to the label they are hovering over. With that said the very first link in that Google search did have some amazing options I did not know existed.

Thanks,

Bryan


bryankia:

I deserved that!

Wink

What you go on to describe is more like having a div absolutely positioned, and an onmouseover action on your labels that produces text in the div based on the item the user hovers over. Almost like image roll-overs, except the effect is not on the span, but in the div. Relatively straightforward, except for how you treat the content that you want displayed in the div. Do you load it all into the page in a javascript array initially, or do you fetch it asynchronously using ajax as and when it's needed? I suppose this depends on your particular situation, although you don't really want to be firing a zillion asynchronous requests as your users just move their mouse around the page...


why dont you use AjaxToolKit HoverMenuExtender?

No comments:

Post a Comment