|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Link on SVG imageHi again!
I dinamically create in my Javascript a circle and set its attribute xlink:href to a document like "Detail.html?gr=11111", with the passage of a parameter. Why during visualization in a browser doesn't it see the parameter I've passed but it take me to the page "Detail.html"? It seems that it doesn't see all that is written after "?". What could be the problem? Thnaks! :) |
|
|
Re: Link on SVG imageOn Thursday, April 12, 2007, 9:45:12 AM, Flavia wrote: F> Hi again! F> I dinamically create in my Javascript a circle and set its attribute F> xlink:href to a document like "Detail.html?gr=11111", with the passage of a F> parameter. Why during visualization in a browser doesn't it see the F> parameter I've passed but it take me to the page "Detail.html"? It seems F> that it doesn't see all that is written after "?". F> What could be the problem? From a specification viewpoint, what you have done is correct. I suspect its an implementation limitation. In which implementations are you seeing this behaviour? -- Chris Lilley mailto:chris@... Interaction Domain Leader Co-Chair, W3C SVG Working Group W3C Graphics Activity Lead Co-Chair, W3C Hypertext CG |
|
|
Re: Link on SVG imageThe strange thing is that, if I write for example
xlink:href ="http://www.google.it/search?hl=it&q=yuri+gagarin&btnG=Cerca+con+Google&meta=" it can see correctly the parameters after the "?" and browses me to the correct page. Is it possibile it runs with http link and doesn't with local address? Dear Chris, what kind of implementations are you talinkg about? I'm using Rational Software Architect IBM to write my Javascript, SVg and HTML code and use Microsoft Explorer to view in the browser. Thank you Flavia
|
|
|
Re: Link on SVG imageFlavia wrote: > The strange thing is that, if I write for example > xlink:href > ="http://www.google.it/search?hl=it&q=yuri+gagarin&btnG=Cerca+con+Google&meta=" You have a broken SVG implementation. This XML is not well formed, so should cause the parser to abort the document. XML entity references must always be explicitly closed with ";" and XML parsers aren't allowed to assume that unterminated entity reference syntax that doesn't match a known entity is not, in fact, an entity references. However, as I understand it, this thread should be directed at the SVG implementation's support channels, as it is about implementation bugs, not the standard. |
| Free embeddable forum powered by Nabble | Forum Help |