Skip to content

Instantly share code, notes, and snippets.

View libraryhead's full-sized avatar

Rebecca Springer libraryhead

View GitHub Profile
@pudquick
pudquick / gist:8307185
Last active July 5, 2016 13:18
Workflow for editing the index.xml in a iBooks Author .iba file without issues
@dvschultz
dvschultz / gist:7360953
Created November 7, 2013 20:02
ibooks javascript to determine which device you’re using ibooks on #eprdctn
$(document).ready(function() {
(function(){
//cache variables
var iw = $('html').width(),
wh = screen.height;
alert('screen height: '+ wh +', inner-width: ' + iw);
if (wh == 768 || wh == 1024) {