- Timestamp:
- 2015-03-17T00:27:22+13:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nz-flag-design/trunk/main-form/choose-canvas.html
r29781 r29787 74 74 $.getJSON( "../similarity-2d/flag-aspect-ratios-json.jsp", function( data ) { 75 75 76 var scale_to_y_dim = 130; 76 77 //var scale_to_y_dim = 130; 78 79 // express scale_to_y_dim to use relative to height of window 80 81 var la_y_dim = $(window).height() - $('#aspect-ratio-div').position().top; 82 var scale_to_y_dim = la_y_dim/4; 83 84 //alert("scale_to_y_dim = " + scale_to_y_dim); 77 85 78 86 var items = []; … … 131 139 p--; 132 140 } 133 /*134 var nz_prioritized_flags = ratio_table.flags.sort( function (a, b) {135 var a_title = a.replace(/^.*\//,"").replace(/\.(.*?)$/,"");136 if (a_title == "nz") {137 return -1;138 }139 else {140 return 0;141 }142 });143 */144 141 145 142 $.each(nz_prioritized_flags, function(index, flag_filename) { … … 174 171 175 172 $('#aspect-ratio-div').append("<div class='centredDiv' style='width: 100%'>"+items.join("\n")+"</div>"); 173 174 175 // now change the flag tooltip labels into their country names 176 $.getJSON( "../similarity-2d/iso-3166-keyed-by-alpha-2-countrycodes.json", function( data ) { 177 178 }); 179 176 180 }); 177 181 }); … … 202 206 <h2>Canvas Size</h2> 203 207 204 <div class="dialog" id="dialog" title=" Ratio Select Dialog" width="800px">208 <div class="dialog" id="dialog" title="Flat Aspect Ratio Selection Panel" widthXX="800px"> 205 209 <br><br> 206 210 <h2>Please choose from the following aspect ratios.</h2> … … 257 261 } 258 262 } 263 264 259 265 </script> 260 266 … … 264 270 265 271 </div><!-- /content --> 272 273 <!-- make persistent? 274 <div data-role="footer" style="width:100%;"> 275 COSI: Centre of Open Source Innovation @ The University of Waikato. 276 </div> 277 --> 266 278 267 279 </div><!-- /page -->
Note:
See TracChangeset
for help on using the changeset viewer.