Yep, i found the mistake sending the code... Then I want to know how then the code works on your viewer, i am using the Adobe SVG Viewer using Internet Explorer.
I mean, my idea using the rectangle and the text is to form one button, the entire button must allow the player to click to other page (the name of the urls are only examples) and according to the books SVG Essentials it supposes that all the objects embed inside <a xlink> must have this property. I made this kind of code with not-rotated objects and works perfectly, but i can not make it work with rotated objects. This is the trouble. How can I configure then those buttons to be clickable then? Thanks anyway, also i will keep searching any clue. Travsam --- In svg-developers@yahoogroups.com, "Doug Schepers" <[EMAIL PROTECTED]> wrote: > Hi, Travsam- > > Sorry, but I don't see what you mean. First off, your code snippet is not > well-formed... it seems you left off the end of the rectangle and the start > of the text element in the second code block. > > Even correcting for that, though, the link worked perfectly. > > Do you have a public URL so that I can see the entire code? > > Finally, I'm going out on a limb here... but is it possible that you are > thinking that the "background" of an anchor tag should also be clickable? If > so, then you should know that only rendering areas (which includes elements > with opacity="0", or fill="none" in combination with pointer- events="all", > but not display="none", for example) can catch events, which includes link > activation. There is no "background" bounding box in SVG like there can be > in HTML. > > Regards- > Doug > > [EMAIL PROTECTED] > www.vectoreal.com ...for scalable solutions. > > > jucabapa79 wrote: > | > | Of course!!! > | > | Here is the code... > | > | <a xlink:href="http://www.yahoo.com"> > | <rect x="160" y="300" width="200" height="100" > | transform="rotate(315,160,300)" style="fill: green; stroke: > | black;"/> <text x="150" y="300" transform="rotate(315,190,180)" > | style="text-anchor: start; font-weight: bold; > | font-size:19pt;">E- mail</text> </a> > | > | <a xlink:href="fax.jsp" target="http://www.google.com"> <rect > | x="460" y="600" width="200" height="100" > | transform="rotate(315,550,540)" style="text-anchor: start; font- > | weight: bold; font-size:20pt;">Fax</text> </a> > | > | > | Thanks anyway. > | > | Travsam > | > | > | --- In svg-developers@yahoogroups.com, "Doug Schepers" <[EMAIL PROTECTED]> > | wrote: > | > Hi, Travsam- > | > > | > Can you post a URL to your code, or a snippet of the offending > | code? We'll > | > be better able to help you that way. > | > > | > Regards- > | > Doug > | > > | > [EMAIL PROTECTED] > | > www.vectoreal.com ...for scalable solutions. > | > > | > > | > jucabapa79 wrote: > | > | > | > | Insisting with my trouble i experimented to use different figures > | > | with <a xlink> to find out if this code works properly with them, > | > | because i wanted to use a rotated rectangle as a link to another > | > | page. > | > | > | > | With a normal rectangle (without any transformation) the <a > | > | xlink> works properly, also with text or any kind of figure > | > | without rotate. > | > | > | > | But It don't works with a polygon or a rotated figure, if > | you also > | > | embed a rotated figure over a normal polygon (trying to make a > | > | masked figure where you can click to use the <a > | > | xlink>) don't work, only in the sections where there is not > | > | any section of the rotated figure. > | > | > | > | Maybe I am insisting to much on that question but is > | important for > | > | me to know if there are any solution. Is a little detail but this > | > | detail is resting points to the functionability of my graphic. > | > | > | > | Greetings > | > | ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/1U_rlB/TM --------------------------------------------------------------------~-> ----- 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/