Hi Pranav,

It sounds like your plan is doable. Personally, I would use the <embed> tag
instead of <object>. You also don't have to embed your script in the SVG
files themselves unless you also plan to use them standalone; you can
access the svg dom directly from the html script if you prefer.

Marty

On Sat, Nov 17, 2012 at 10:00 AM, Pranav Lal <pranav....@gmail.com> wrote:

> **
>
>
> Hi all,
>
> I am trying to create an application that does the following.
> 1. The user is presented with a form where he can brows to a svg file on
> his
> computer.
> 2. The svg is uploaded to the server.
> 3. A HTML page is returned with the SVG file.
> 4. The page has java script in it which will allow me to do things like
> capture attribute values so, if the user moves the mouse over a line
> element, then the attributes of the line should be captured in a set of
> variables. Yes, the file will be modified by the server to include the
> relevant code.
>
> I am a tad confused about how to start. Should I imbed the svg in the HTML
> using the object tag? Has anyone done anything like this?
>
> I have found some promising material at
>
>
> http://stackoverflow.com/questions/2753732/how-to-access-svg-elements-with-j
> avascript/3379830#3379830
>
> Any thoughts?
> Pranav
>
>  
>


[Non-text portions of this message have been removed]



------------------------------------

-----
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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:
    svg-developers-dig...@yahoogroups.com 
    svg-developers-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    svg-developers-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to