Changeset 37578 for gs3-extensions
- Timestamp:
- 2023-03-27T11:49:52+13:00 (13 months ago)
- Location:
- gs3-extensions/tabletop-dl/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/tabletop-dl/trunk/tabletop.js
r37574 r37578 5 5 function openTabletopWindowHome() 6 6 { 7 let home_url = "http://localhost:8383/greenstone3/library?excerptid=collectionAndGroupLinks"; 8 const gs_primary_bg_color = $('#gs-css-root-primary').css('background-color'); 9 10 7 //let home_url = "http://localhost:8383/greenstone3/library?excerptid=collectionAndGroupLinks"; 8 let home_url = gs.xsltParams.library_name; 9 11 10 $.ajax({ 12 11 url: home_url 12 data: { "excerptid": "collectionAndGroupLinks" } 13 13 }) 14 14 .done(function(data) { … … 17 17 const tabletop_win_id = 'tabletop-window-' + tabletop_window_count; 18 18 const $tabletop_win_id = "#"+tabletop_win_id; 19 19 20 //const gs_primary_bg_color = $('#gs-css-root-primary').css('background-color'); 21 20 22 const winbox1 = new WinBox({ 21 23 id: tabletop_win_id, -
gs3-extensions/tabletop-dl/trunk/winbox-interact.js
r37574 r37578 312 312 $(document).ready(function() { 313 313 314 let doc_url = "http://localhost:8383/greenstone3/library/collection/gs2mgdemo/document/HASHe3aae2159b0dda6553cee4"; 315 316 const gs_primary_bg_color = $('#gs-css-root-primary').css('background-color'); 317 314 let doc_url = gs.xsltParams.library_name + "/collection/gs2mgdemo/document/HASHe3aae2159b0dda6553cee4"; 315 //let doc_url = gs.xsltParams.library_name + "/collection/bill-photos/document/HASH9ccfb4633c43c13a04769f"; 316 318 317 $.ajax({ 319 318 url: doc_url, … … 339 338 }); 340 339 341 // user-select: none; 342 // touch-action: none; 343 340 const gs_primary_bg_color = $('#gs-css-root-primary').css('background-color'); 341 344 342 let $win2 = $('#my-winbox2'); 345 343 let $scale_element_div = $('<div>')
Note:
See TracChangeset
for help on using the changeset viewer.