Properly-formed URLs will not have spaces, so no need to replace; no need for "/" escaping unless within HTML doc; properly encode loadingImage window text; support loading of (properly URL encoded) non-base64 "data:image/svg+xml;utf8,"-style data URIs
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2782 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -17,13 +17,13 @@ svgEditor.addExtension("overview_window", function() { 'use strict';
|
||||
<div id=\"overview_window_content\" style=\"position:relative; left:12px; top:0px;\">\
|
||||
<div style=\"background-color:#A0A0A0; display:inline-block; overflow:visible;\">\
|
||||
<svg id=\"overviewMiniView\" width=\"150\" height=\"100\" x=\"0\" y=\"0\" viewBox=\"0 0 4800 3600\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\
|
||||
<use x=\"0\" y=\"0\" xlink:href=\"#svgroot\"> <\/use>\
|
||||
<use x=\"0\" y=\"0\" xlink:href=\"#svgroot\"> </use>\
|
||||
</svg>\
|
||||
<div id=\"overview_window_view_box\" style=\"min-width:50px; min-height:50px; position:absolute; top:30px; left:30px; z-index:5; background-color:rgba(255,0,102,0.3);\">\
|
||||
<\/div>\
|
||||
<\/div>\
|
||||
<\/div>\
|
||||
<\/div>";
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>";
|
||||
$("#sidepanels").append(propsWindowHtml);
|
||||
|
||||
//define dynamic animation of the view box.
|
||||
|
||||
Reference in New Issue
Block a user