//Microsoft.Glimmer.OneWay // jQuery(function($) { var timer; function mouseoverActiontooltip(event) { var text = ""; if (this.id == "type_100") { text = egg_type_tip_100; } if (this.id == "type_200") { text = egg_type_tip_200; } if (this.id == "type_500") { text = egg_type_tip_500; } $("body").append("

"+ text + "

"); $("#tooltip").css("left",(event.pageX + 20) + "px"); $("#tooltip").css("top",(event.pageY - 10) + "px"); } function mouseoutActiontooltip(event) { $("#tooltip").remove(); } function mousemoveActiontooltip(event) { $("#tooltip").css("left",(event.pageX + 20) + "px"); $("#tooltip").css("top",(event.pageY - 10) + "px"); } function mouseoverActiontooltipImage(event) { $("body").append("

"); $("#tooltip").css("left",(event.pageX + 20) + "px"); $("#tooltip").css("top",(event.pageY - 10) + "px"); } function mouseoutActiontooltipImage(event) { $("#tooltip").remove(); } function mousemoveActiontooltipImage(event) { $("#tooltip").css("left",(event.pageX + 20) + "px"); $("#tooltip").css("top",(event.pageY - 10) + "px"); } $('.tooltip').bind('mouseover', mouseoverActiontooltip); $('.tooltip').bind('mouseout', mouseoutActiontooltip); $('.tooltip').bind('mousemove', mousemoveActiontooltip); $('.tooltipImage').bind('mouseover', mouseoverActiontooltipImage); $('.tooltipImage').bind('mouseout', mouseoutActiontooltipImage); $('.tooltipImage').bind('mousemove', mousemoveActiontooltipImage); });