Plan B Magazine Issue 12
Skip to main content
Plan B Magazine Issue 12
Item Preview
// Load Bookreader data async
$(function() {
$.ajax({
url: '//ia800308.us.archive.org/BookReader/BookReaderJSIA.php?id=planb-magazine-12&itemPath=/35/items/planb-magazine-12&server=ia800308.us.archive.org&format=jsonp&subPrefix=PlanB_12&requestUri=/details/planb-magazine-12',
type: 'GET',
dataType: 'json',
xhrFields: {
withCredentials: true
},
crossDomain: true
}).then(function(response) {
var options = {
el: '#BookReader',
mobileNavFullscreenOnly: true,
urlHistoryBasePath: "/details/planb-magazine-12/",
resumeCookiePath: "/details/planb-magazine-12",
urlMode: 'history',
// Only reflect page onto the URL
urlTrackedParams: ['page'],
enableBookTitleLink: false,
bookUrlText: null,
initialSearchTerm: null,
onePage: { autofit: "auto" }
};
BookReaderJSIAinit(response.data, 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,272
Views
1
Favorite
IN COLLECTIONS
Plan B Magazine
The Magazine Rack
Additional Collections
Uploaded by
Jason Scott
on September 20, 2012
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(); })
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']=196;
vs[i]['server_name']="www26.us.archive.org";
}
if ($(".more_search").size()>0) {
window.archive_analytics.send_scroll_fetch_base_event();
}
}