Palestine Census ( 1922) Item Preview plus-circle Add Review comment Reviews
hedidnothingwrong
Skip to main content
Palestine Census ( 1922)
Item Preview
// Load Bookreader data async
$(function()
$.ajax(
url: '//ia802602.us.archive.org/BookReader/BookReaderJSIA.php?id=PalestineCensus1922&itemPath=/29/items/PalestineCensus1922&server=ia802602.us.archive.org&format=jsonp&subPrefix=Palestine%20Census%20%281922%29&requestUri=/details/PalestineCensus1922',
type: 'GET',
dataType: 'json',
xhrFields:
withCredentials: true
,
crossDomain: true
).then(function(response)
var getAutoflipParams = function getAutoflipParams()
var params = AJS.paramsToJSON();
return ;
;
var options =
el: '#BookReader',
mobileNavFullscreenOnly: true,
urlHistoryBasePath: "/details/PalestineCensus1922/",
resumeCookiePath: "/details/PalestineCensus1922",
urlMode: 'history',
// Only reflect page onto the URL
urlTrackedParams: ['page'],
enableBookTitleLink: false,
bookUrlText: null,
initialSearchTerm: null,
onePage: autofit: "auto"
;
var params_options = getAutoflipParams();
BookReaderJSIAinit(response.data, options);
if (params_options.autoflip)
br.autoToggle(params_options);
// Usage stats
window.archive_analytics.values['bookreader'] = 'open';
);
);
function initialize_flag()
// overlay related
$(".toggle-flag-overlay").click(function(e)
e.preventDefault();
$("#theatre-ia-wrap").removeClass('flagged');
);
// overlay - checkboxes
$("#flag-checkboxes a").on('click', function(e)
e.preventDefault();
$(this).children(".my-checkbox").toggleClass('checked');
$.get($(this).attr('href'))
);
$(initialize_flag());
3,242
Views
2
Favorites
IN COLLECTIONS
Community Texts
Uploaded by
hedidnothingwrong
on January 19, 2015
archive_setup.push(function()
AJS.tilebars() // page load
$(window).on('resize orientationchange', function(evt)
clearTimeout(AJS.also_found_throttler)
AJS.also_found_throttler = setTimeout(AJS.tilebars, 250)
)
)
archive_setup.push(function() AJS.booksize(); )
Terms of Service (last updated 12/31/2014)
if (window.archive_analytics)
var vs = window.archive_analytics.get_data_packets();
for (var i in vs)
vs[i]['cache_bust']=Math.random();
vs[i]['server_ms']=78;
vs[i]['server_name']="www19.us.archive.org";
if ($(".more_search").size()>0)
window.archive_analytics.send_scroll_fetch_base_event();