<community>of XML and SVG Developers</community>
This is a discussion on Need SVG to cause text box to pop up on mouse over within the SVG Questions forums, part of the SVG Forums category; Hi. Thanks in advance for any guidance you can provide. I'm looking for examples of SVG code to cause a ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
|
__________________ VG is great |
| |||
|
You can 1) define your text box with visibility="hidden" as <g id="tooltip" transform="translate(0 0)"> <rect ................ <text id="tooltip_data ............... </g> 2) For your objects, define event ( for your bars by example) <rect onmouseover="show_tooltip('some text',40,200)" onmouseout="hide_tooltip()" .... /> 3) Define functions function show_tooltip(data,x_pos,y_pos) { svgdoc.getElementById("tooltip").setAttribute("tra nsform","translate(" + x_pos.toString() + " " + y_pos.toString() + ")") svgdoc.getElementById("tooltip_data").firstChild.d ata = data svgdoc.getElementById("tooltip").setAttribute("vis ibility","visible") } function hide_tooltip() { svgdoc.getElementById("tooltip").setAttribute("vis ibility","hidden") } Michel |
Epson Stylus Ink Cartridges...
Check this site out to order Epson Stylus ink cartridges.
computer ink
Looking for good computer ink? We are specialists in printer ink. We provide a massive range of ink cartridges at great prices…
Hard Disk Drive Data Recovery Cheshire
Do you need data recovery done? We will collect your hard disk drive in Cheshire and our success rate is unequalled.