in reply to Re^3: Mouse action using SVG
in thread Mouse action using SVG
Please correct me if I am wrong$svg->rectangle( x =>$x1, y =>$y1, width => $x2, height => $y2, style => { 'fill' => 'rgb(0, 0, 128)', 'stroke' => 'black', 'stroke-width' => 1, 'stroke-opacity' => 1, 'fill-opacity' => 1, }, ); $rectangle->attrib(onclick=>q{alert($message);});
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Mouse action using SVG (troubleshooting)
by tye (Sage) on Jul 30, 2016 at 19:26 UTC |