Skip to content

shapes.svg in html folder #9

@GoogleCodeExporter

Description

@GoogleCodeExporter
Problem in function
jsdot_load_svg_shapes
defined in shapes.js

When using XMLHttpRequest the file to load (shapes.svg) must be in the same 
folder as the html file. Instead, it should be in ../img/

This is a limitation in a workaround: if, when adding e.g. a marker-end using a 
url(), the browser would load the referenced file, then we wouldn't even need 
this function.

Note that using url(../img/shapes.svg#Arrow) works in FF when viewing a static 
svg (where the marker-end is not added by js but already resent).

Original issue reported on code.google.com by silh...@gmail.com on 12 Jul 2010 at 4:37

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions