Canyon Map/Test

From B.E.R.T. Wiki

Revision as of 10:38, 29 June 2018 by Caseyd (talk | contribs)

< Canyon Map

File:svg_test.svg

a test to see if we can get dynamic SVG to execute in a page. Above is a SVG file reference


here is raw svg of same


Hiding and Showing Elements A demonstration of the differences in approach to hiding an element or group of elements in SVG, using the display, visibility, and opacity style properties. Written by Doug Schepers [[email protected]], September 2003. Display Visibilty Opacity As you can see, by clicking each circle above, once you toggle 'visibility' or 'display', you can't change it back, because it no longer responds to click events; setting 'opacity' to 0 still allows you to target it. However, 'opacity' is the most computationally expensive of the three, followed by 'visibility'; 'display: none' is the cheapest, because it simply does not render at all. If you are trying to hide an entire group, except for one particular member of that group, use 'visibility' as it is overrideable in inheritance. Display Visibilty Opacity



below ( view source ) is raw html