Jonathan, I do not know the reason why the original poster wants to create such an effect.
However, if the reasons are purely a visual effect and "eye candy" and do not affect a user's ability to navigate via keyboard, then I see no reason why someone shouldn't write code like this. i.e. in an ideal world, such effects should be superfluous. Jeff --- In svg-developers@yahoogroups.com, "~:'' ãããã¨ãã"ããã¾ããã" <[EMAIL PROTECTED]> wrote: > > I had already come across this very same issue when reconstructing > http://www.peepo.co.uk. > as mentioned in each of my replies. > > However I ask each of you to consider whether we wish to write code > for users or authors? > > Many users may choose to disable javascript, most especially if they > use assistive technology such as perhaps Jaws. > Some may not have javascript available. > keyboard users may find that group structure awkward to navigate > > It is true that the poser required a certain group structure that > wont resolve with CSS. > I found it difficult to understand why the posers suggested group > structure should be necessary. > perhaps someone can explain? > > In .Net magazine someone recently asked how one can place a link > within a link. > this is possible with javascript, but is it sensible, accessible or > necessary? > The fact that there is a solution, does not mean that the correct > response is to supply it. > One has the opportunity to query the questioner as to the rational of > their intention. > > regards > > Jonathan Chetwynd > > > > On 12 May 2007, at 21:21, Domenico Strazzullo wrote: > > Jeff, > > Thanks, and sorry for the crossover. > > Nico > > --- In svg-developers@yahoogroups.com, "Jeff Schiller" > <jeff_schiller@> wrote: > > > > Jonathan, > > > > Why do you say the code supplied by Rainer is incomplete? The code > > supplied here > > http://tech.groups.yahoo.com/group/svg-developers/message/58615 _IS_ > > complete as I opened it up in a browser myself when I worked out my > > solution. > > > > Domenic has already stated that he didn't believe CSS could solve the > > problem and now you want him to supply code to "further substantiate > > his claims"?!? How should he solve something in a way he doesn't > > think is solvable? > > > > Jonathan - if you think CSS can solve the problem, then please > provide > > the code that does so, the burden of proof is on you. Domenic has > > specifically asked you how you would solve the problem here > > http://tech.groups.yahoo.com/group/svg-developers/message/58621 which > > you've ignored. I think both he and I are genuinely curious about how > > you would do this. > > > > Thanks, > > Jeff > > > > --- In svg-developers@yahoogroups.com, "~:'' > > ãÂâãâŠãÂÅ'ã¨ãÂâ ãÂ"ãÂâ"ãÂâã¾ãÂâ" > ãŸãâ¬â" <j.chetwynd@> wrote: > > > > > > Domenico, > > > > > > Jonathan Watts work is known to me, as is he, himself. > > > to paraphrase: > > > "the style attribute should be avoided unless you need to override > > > properties set by a CSS selector," > > > which appears to be exactly what Rainer intends. > > > Unless I've misunderstood... > > > similarly the "layer" issue is a red herring. > > > > > > Please supply a further code sample to substantiate your concerns, > as > > > the one Rainer supplied is incomplete. > > > > > > cheers > > > > > > Jonathan Chetwynd > > > > > > > > > > > > On 12 May 2007, at 00:46, Domenico Strazzullo wrote: > > > > > > --- In svg-developers@yahoogroups.com, "~:'' > > > ãÃÂââ¬Å¡Ã£ââ¬Å¡Ã ãÃÂà 'ãÃÂèãÃÂâ > ⬠ãÃÂ"ãÃÂââ¬"ãÃÂââ¬Å¾Ã£ÃÂþãÃÂââ¬" > > > ãÃÂà ¸Ã£ââ‰â¬Å¡" <j.chetwynd@> wrote: > > > > > > > > Rainer & Domenico, > > > > > > > > Please spend a little more effort to investigate CSS, see file > > > attached > > > > > > > > > > Jonathan, > > > > > > Rainer said: > > > > > > > I hope there might be a solution without changing > > > > the groupings of the elements. > > > > > > The css solution IS NOT possible under those circumstances, i.e. as > > > long as the element to highlight is in another layer. It would be > > > possible by swapping classes through scripting but it would be a > > > tedious solution anyway. Besides, Rainer wishes to follow Mr Watts' > > > recommendations in regard to css and he's very much right in > doing so. > > > > > > Domenico > > > > > > PS: The file at http://www.peepo.co.uk, which I've known for ages, > > > contains illegal characters in declared utf-8; by using > iso-8859-1 it > > > won't be necessary to code them. Your systemLanguage solution is > cool. > > > > > > > http://www.peepo.co.uk might help you a little more.... > > > > > > > > regards > > > > > > > > Jonathan Chetwynd > > > > > > > > <?xml version="1.0" encoding="utf-8" standalone="no"?> > > > > <!DOCTYPE svg [ > > > > <!ENTITY guis "http://www.peepo.co.uk/temp/gui-schema#"> > > > > ]> > > > > <svg xmlns="http://www.w3.org/2000/svg" > > > > xmlns:xlink="http://www.w3.org/1999/xlink" > > > > width="100%" height="100%" > > > > > > > > > <defs> > > > > > > > > <style type="text/css" id="css"><![CDATA[ > > > > text {font-family: comic-sans; fill: #666; font-size: 5.0em; > > > > visibility: hidden} > > > > > > > > .border {visibility: hidden; fill: #fff} > > > > a:focus .border {visibility: visible} > > > > a:focus .icon {fill: #0f0} > > > > > > > > a:hover .border { visibility: visible} > > > > a:hover .icon {fill: #0f0} > > > > > > > > ]]></style> > > > > > > > > <symbol id="splat" viewBox=""> > > > > <path d="M 30 20 Q S S S > > > > S S S S 0 5 30 > > > > 20" /> > > > > </symbol> > > > > </defs> > > > > <g> > > > > <rect x="0" y="0" width="100%" height="100%" fill="#cca" > > > > stroke="none" id="menuBG" /> > > > > <g ><title>splat</title> > > > > <a xlink:href="http://www.peepo.co.uk/launch/splat.svg"> > > > > <use xlink:href="#splat" x="-1.5%" y="23.5%" width="23%" > height="33%" > > > > class="border" fill="#fff"/> > > > > <use xlink:href="#splat" x="0%" y="25%" width="20%" height="30%" > > > > fill="red" class="icon" /> > > > > </a> > > > > </g> > > > > </g> > > > > </svg> > > > > > > > > > > ----- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/