チェンジセット 243 : SPARQLBuilderWWW
- 更新日時:
- 2015/02/16 11:45:25 (10 年 前)
- パス:
- SPARQLBuilderWWW/web
- ファイル:
-
- 2 変更
凡例:
- 変更なし
- 追加
- 削除
-
SPARQLBuilderWWW/web/newsparqlbuilder.css
r242 r243 62 62 63 63 .SBModalContents .SBSelects{ 64 width: 85%;65 64 float: left; 66 65 } … … 83 82 84 83 .SBModalContents .SBPermaLink{ 85 width: 15%;86 84 height: 100%; 87 float: left;85 float: right; 88 86 text-align: center; 89 87 } -
SPARQLBuilderWWW/web/newsparqlbuilder.js
r242 r243 67 67 }); 68 68 69 d3.select('.SBModalView').on("mousewheel", function( event){69 d3.select('.SBModalView').on("mousewheel", function(){ 70 70 event.preventDefault(); 71 event.stopPropagation(); 72 }); 73 74 d3.select('body').on("mousewheel", function(){ 75 console.log("WTF"); 71 76 }); 72 77 … … 151 156 $('.SBModalContents .SBModalButtons').css('width', 200 + 'px').css('height', '26px'); 152 157 153 var selw = Math.floor($('.SBModalContents .SBSelects').width()); 158 var formw = $('.SBModalContents .SBForms').width(); 159 var selw = Math.floor(formw - 120); 154 160 155 161 if(selw % 2 == 1){ … … 157 163 } 158 164 $('.SBModalContents .SBSelects').css('width', selw); 165 $('.SBModalContents .SBPermaLink').css('width', Math.floor(formw - selw)); 159 166 } 160 167 } … … 189 196 190 197 function loadEndPointList(){ 191 $('.SB SaveESE').attr('disabled', true);198 $('.SBPermaLinkButton').attr('disabled', true); 192 199 var url = 'http://www.sparqlbuilder.org/api/eplist'; 193 200 $.ajax({ … … 219 226 220 227 loadClassList = function() { 221 $('.SB SaveESE').attr('disabled', true);228 $('.SBPermaLinkButton').attr('disabled', true); 222 229 var url = "http://www.sparqlbuilder.org/api/clist?ep=" + encodeURIComponent(endpoint); 223 230 $.ajax({ … … 278 285 view_map(); 279 286 switchLoadIcon("hide"); 280 $('.SB SaveESE').attr('disabled', false);287 $('.SBPermaLinkButton').attr('disabled', false); 281 288 }, 282 289 error: function(data){