View Single Post
Old 08-02-2011, 05:29 AM   #3
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,188
Karma: 727236
Join Date: Sep 2009
Device: PRS-505
Interesting use of xlinks in an svg, it's a nice example and thanks for sharing it.

It works in any reader that's svg-compliant, though you really need one that has easy access to a 'back' command. The one thing I'd change would be the viewport definition on the second map, so that it will scale nicely on different devices:
<svg id="page25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1024 592" width="100%">

[Edit]Oh, and looking at the css, surely it would be a better idea to set the left and right margin in points if you want an absolute measure. Pixels makes it dependent on the resolution of the reading device, which everyone is hoping will change in the future.

Last edited by charleski; 08-02-2011 at 05:36 AM.
charleski is offline   Reply With Quote