Diagram for the Web without ASP.NET


Author
Message
Dieter Schulten
Dieter Schulten
Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)
Group: Forum Members
Posts: 10, Visits: 2
Hello,

i am looking for a way to export a diagram to SVG or PNG (JPG) and have a client interaction just within javascript.
You have a lot of great examples for the web, but all of your examples are using ASP.NET.

I just want to export a diagram as SVG or Image, and use to create client interaction using javascript.
For example the user clicks on an element of the diagram in the browser an a javascript "alert" says
"You clicked the element with the id XYZ".

I am able to export a digram as SVG and can show this SVG within the browser. But i am unable to
add custom "TAGS" or "SCRIPTS" to an element of the exported SVG.

How can i add a custom TAG to shape, which can be used in javascript to do some interaction?
I need it to determine wich element the user clicked.
I a add a InteractionStyle to a shape, they dont't get exported within the SVG, so i am unable to
identify an element.

Maybe anyone has done this without ASP.NET an get me on the right way.

Regards, Dieter



Attachments
Sample.png (169 views, 268.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search