I have created one svg door image using Adobe illustrator.The image has 3 components
- Door body
- Glass part in center of the door
- Door handle. >>
I want change the this 3 attributes by clicking buttons like changing handle, color, body material etc. I have open this svg file in dreamweaver and it's looking weird with long image links and codes. I don't know where to start with.
Thanks
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="612px" height="792px" viewBox="0 0 612 792" enable-background="new 0 0 612 792" xml:space="preserve">
<rect x="146.889" y="134.444" fill="#6B4520" stroke="#000000" stroke- miterlimit="10" width="328.889" height="487.777"/>
<path fill="#BDE5F1" stroke="#000000" stroke-miterlimit="10" d="M372.998,351.667c0,38.2-25.577,67-66.998,67
c-41.421,0-71.002-28.8-71.002-67c0-38.2,27.579-64.667,69- 64.667C345.419,287,372.998,313.467,372.998,351.667z"/>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="155.665" y1="352.25" x2="174.25" y2="352.25">
<stop offset="0" style="stop-color:#FFFFFF"/>
<stop offset="0" style="stop-color:#603913"/>
<stop offset="0" style="stop-color:#000000"/>
<stop offset="0.0161" style="stop-color:#000000"/>
<stop offset="0.3333" style="stop-color:#D9CDC0"/>
<stop offset="0.5161" style="stop-color:#000000"/>
<stop offset="0.8763" style="stop-color:#FFFFFF"/>
</linearGradient>
<polygon fill="url(#SVGID_1_)" stroke="#000000" stroke-miterlimit="10" points="171.333,430.556 164.958,434 159.111,430.556
155.665,344.667 159.111,272.778 164.958,270.5 171.333,272.778 174.25,344.25 "/>
</svg>

SVGs code from Illustrator and we could help you to handle this.