Hi!

I have created an SVG button and embedd it inside the xhtml. I want to
link this with url in <a> so that when user click on this button he is
redirected to the web page <a> is referring to. Button is displayed
but it thumnail does not appear to activate the link. please help!

======
XHTML
======
<html>
<body>
        <a href="http://www.google.com";>
                <object width="50" height="25" type="image/svg+xml"
data="home.svg"></object> 
        </a>
</body>
</html>


========
home.svg
========

<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>
<svg width="100%" height="100%" viewBox="0 0 200 100"
xmlns="http://www.w3.org/2000/svg";
xmlns:xlink="http://www.w3.org/1999/xlink";>

<defs>
        <linearGradient id="three_stops">
        <stop offset="0%" style="stop-color: #ffcc00;"/>
        <stop offset="33.3%" style="stop-color: #cc6699"/>
        <stop offset="100%" style="stop-color: #66cc99;"/>
        </linearGradient>
</defs>

<rect x="0" y="0" width="200" height="100" style="fill:
url(#three_stops); stroke: black;"></rect>
<text x="100" y="62.5"
style="text-anchor:middle;font-size:50px;fill:#FFFFFF">Home</text>

</svg>

Regards,
Salmi





-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to