Friday, September 26, 2014

Re: XMLHttpRequest: invalid response when loading data from Client Bundle

Great! Snap.parse works!
The SVG fragment (a single chess piece) is appended/inserted at the end of the original SVG (a chess board):

<svg ...>
 ...
 <!-- board -->
 ...
  <svg ...>
   <!-- piece -->
  </svg>
</svg>

How can you realize many instances of different pieces?
For example, how can you place a single piece (a pawn) at different positions at the same time? Do you have to load/parse it for each occurrence?

What about removing one? Do you have to remove the DOM element then, or is there something like show/hide?

Magnus

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment