Hi, I'm currently struggling on how to calculate the mouse click event from the browser to the viewport coordinates of my inline svg. Somewhere in my XHTML...
55568
Darryl Watson
Darryl_Watson
May 1, 2006 10:12 pm
Hi all- I have an SVG element within my SVG document, which contains other elements, thus: <svg id="SVGDoc" ...> <circle cx="20" cy="30" r="5" /> *<svg...
Instead of using an embed or object tag, I'm looking at inlining the SVG in the page. While events such as onlick, onmousedown, oncontextmenu, etc can only be...
55571
Kam-Hung Soh
khsoh_au
May 2, 2006 5:42 am
... Hi, This explanation by Martin Honnen worked for me: http://groups.yahoo.com/group/svg-developers/message/55243 -- Kam-Hung Soh ...
55572
jookeda
May 2, 2006 5:42 am
Have you tried setting .innerHTML explicitly? If setting innerHTML does indeed work, and the DOM calls properly modify innerHTML (but don't update the...
55573
Andreas Neumann
neumannandreas
May 2, 2006 7:49 am
Hi, in modern SVG viewers you can use the .getScreenCTM() method which gives you back a matrix that you can apply to an SVG point. This works fine in Opera9,...
55574
Markus Fischer
markus@...
May 2, 2006 10:58 am
... Hash: SHA1 Hi, ... So the SVGPoint returned by calcCoord() x and y properties contain the values inside the SVG canvas? Sorry for this maybe rather dumb...
55575
go_micha
May 2, 2006 12:05 pm
... work. ... and ... (or ... the ... the ... MSIE6 + ... window. ... Your demonstration works perfectly, but I think you must to add one additional atribute...
55576
David Dailey
david.dailey@...
May 2, 2006 12:47 pm
In the page visible at http://srufaculty.sru.edu/david.dailey/svg/test/teststart.svg A series of overlapping <image>s (each with an onmousedown listener) are...
55577
lpmlabs9
May 2, 2006 1:32 pm
... the ... deal ... That was exactly what I needed. Thanks so much. Next step, inlining with Firefox! With the embed vs object question that continues to...
55578
Francis Hemsher
fhemsher
May 2, 2006 1:55 pm
Hello All, I've looked at the recent votes, and its at about 185 and continuing. I guess we could go on for the next few months and build this to any number. I...
55579
jookeda
May 2, 2006 2:19 pm
... I think because inline SVG in IE requires HTML while inline SVG in Firefox/Opera/WebKit requires XHTML. Plus, all of your SVG must be prefixed, which makes...
55580
lpmlabs9
May 2, 2006 3:15 pm
... isn't ... In my case I am rendering graphical views of data objects. All I need in the page is a SVG document. From my earlier post, once I have this...
55581
Darryl Watson
Darryl_Watson
May 2, 2006 3:33 pm
Thank you Heiko- I made up that bit of code, because my SVG document is much more complex. :) After looking at your code, and attaching an onclick handler to...
55582
Andreas Neumann
neumannandreas
May 2, 2006 3:41 pm
... yes. .calcCoord() receives two parameters. An event object (this is needed in any case) and another (optional) second parameter: a node reference. If you...
55583
Martin Honnen
honnen_martin
May 2, 2006 3:49 pm
... With IE and Adobe SVG viewer, if you inline the SVG then you lose interactivity, that is script event handlers in the SVG do not fire....
55584
lpmlabs9
May 2, 2006 4:28 pm
... isn't ... Actually they do but only if defined at the root level....
55585
Markus Fischer
markus@...
May 2, 2006 5:00 pm
... Hash: SHA1 ... What what a usecase be to have to pass a node as second parameter which not the node of the event? Still doing some first testings I noticed...
55586
Jeff Schiller
jeff_schiller
May 2, 2006 6:13 pm
I'm wondering why Opera 8, 8.5, 9 and Firefox 1.5 don't include the "image/svg+xml" type in their HTTP_ACCEPT headers. Can someone shed some light here? ...
55587
Robert Russell
robertjrussell
May 2, 2006 7:58 pm
Here's what Firefox says in Bugzilla https://bugzilla.mozilla.org/show_bug.cgi?id=240493 Really long discussion on it there - interestingly the last comment ...
55588
Kam-Hung Soh
khsoh_au
May 2, 2006 11:49 pm
... I'm intrigued; can you point me to an example? -- Kam-Hung Soh http://kamhungsoh.blogspot.com - It Mostly Works http://members.optusnet.com.au/khsoh -...
55589
Kam-Hung Soh
khsoh_au
May 3, 2006 12:10 am
... Aaah! :lightbulb: Thanks for the tip! -- Kam-Hung Soh http://kamhungsoh.blogspot.com - It Mostly Works http://members.optusnet.com.au/khsoh - Software...
55590
lpmlabs9
May 3, 2006 12:13 am
... Try this. In my case by adding some logic to locate the SVG objects based on the coords of the event, I then can perform whatever actions are necessary -...
55591
chmavrog
May 3, 2006 10:52 am
Hi everyone, On my pc i have IE 6 and ASV3 and FireFox 1.5.02 (latest one). Here are my questions.Please someone respond with Correct or False after seeing my...
55592
Jonathan Watt
wattie@...
May 3, 2006 11:26 am
Hi, ... Actually 1.5.0.3 is the latest one. ;-) Here are my questions.Please someone respond with Correct or False ... True. The <embed> tag is not part of any...
55593
chmavrog
May 3, 2006 2:18 pm
Here is another question -Inline SVG is currently supported only in FF,which supports XHTML, and not in IE6 + ASV. My answer(True) ... want to ... ASV3 ... ...
55594
Andreas Neumann
neumannandreas
May 3, 2006 2:38 pm
Hello, I made a couple of SVG GUI elements available. The newest widget is a textbox. Coding this object was a major pain since browsers don't support keyboard...
55595
Martin Honnen
honnen_martin
May 3, 2006 2:42 pm
... Opera 8 and Opera 9 beta also support mixed namespace XML documents with XHTML and SVG elements. As for IE and the Adobe SVG viewer, IE has its very own...
55596
chmavrog
May 3, 2006 2:45 pm
Martin, is there a link that you can sent me in order to see this for IE+ASV ... XHTML,...