Permalink
Browse files

Updated popcorn image data, start segmenting popcorn scripts

  • Loading branch information...
1 parent 555ebed commit ecbbf2ca0c8b177710983b9d51a489a71540036f @giratikanon giratikanon committed Apr 7, 2012
Showing with 113 additions and 22 deletions.
  1. +2 −0 .gitignore
  2. +86 −0 js/popcorn-images.js
  3. +25 −22 slider.html
View
2 .gitignore
@@ -0,0 +1,2 @@
+
+photos/.DS_Store
View
86 js/popcorn-images.js
@@ -0,0 +1,86 @@
+
+document.addEventListener("DOMContentLoaded", function () {
+ var pop = Popcorn("#popcorn");
+
+
+pop.image({
+id:'',
+start:'13',
+end:'14.5',
+src:'photos/Pakistan/Berlin Flight Changes.jpg',
+target:'webpage'});
+
+pop.image({
+id:'',
+start:'14.5',
+end:'16.5',
+src:'photos/Early Years Headley/ss9.jpg',
+target:'webpage'});
+
+pop.image({
+id:'',
+start:'16.5',
+end:'19.5',
+src:'photos/Drugs 2.jpg',
+target:'webpage'});
+
+// LOOK AT THIS
+pop.image({
+id:'',
+start:'19.5',
+end:'23',
+src:'photos/cuffs.jpeg',
+target:'webpage'});
+
+pop.image({
+id:'',
+start:'23',
+end:'27',
+src:'photos/DEA/interrogation.jpg',
+target:'webpage'});
+
+pop.image({
+id:'',
+start:'33',
+end:'43',
+src:'photos/Early Years Headley/ss6.jpg',
+target:'webpage'});
+
+pop.image({
+id:'',
+start:'53',
+end:'56',
+src:'photos/mentor.jpg',
+target:'webpage'});
+
+/*
+pop.image({
+id:'',
+start:'',
+end:'24',
+src:'photos/ss8.jpeg',
+target:'webpage'});
+
+pop.image({
+id:'',
+start:'25',
+end:'27',
+src:'photos/ss9.jpeg',
+target:'webpage'});
+
+pop.image({
+id:'',
+start:'28',
+end:'30',
+src:'photos/ss10.jpeg',
+target:'webpage'});
+
+pop.image({
+id:'',
+start:'31',
+end:'33',
+src:'photos/ss11.jpeg',
+target:'webpage'});
+*/
+
+ }, false);
View
47 slider.html
@@ -104,56 +104,58 @@
pop.image({
id:'',
-start:'1',
-end:'3',
-src:'photos/ss1.jpeg',
+start:'13',
+end:'14.5',
+src:'photos/Pakistan/Berlin Flight Changes.jpg',
target:'webpage'});
pop.image({
id:'',
-start:'4',
-end:'6',
-src:'photos/ss2.jpeg',
+start:'14.5',
+end:'16.5',
+src:'photos/Early Years Headley/ss9.jpg',
target:'webpage'});
pop.image({
id:'',
-start:'7',
-end:'9',
-src:'photos/ss3.jpeg',
+start:'16.5',
+end:'19.5',
+src:'photos/Drugs 2.jpg',
target:'webpage'});
+// LOOK AT THIS
pop.image({
id:'',
-start:'10',
-end:'12',
-src:'photos/ss4.jpeg',
+start:'19.5',
+end:'23',
+src:'photos/cuffs.jpeg',
target:'webpage'});
pop.image({
id:'',
-start:'13',
-end:'15',
-src:'photos/ss5.jpeg',
+start:'23',
+end:'27',
+src:'photos/DEA/interrogation.jpg',
target:'webpage'});
pop.image({
id:'',
-start:'16',
-end:'18',
-src:'photos/ss6.jpeg',
+start:'33',
+end:'43',
+src:'photos/Early Years Headley/ss6.jpg',
target:'webpage'});
pop.image({
id:'',
-start:'19',
-end:'21',
-src:'photos/ss7.jpeg',
+start:'53',
+end:'56',
+src:'photos/mentor.jpg',
target:'webpage'});
+/*
pop.image({
id:'',
-start:'22',
+start:'',
end:'24',
src:'photos/ss8.jpeg',
target:'webpage'});
@@ -178,6 +180,7 @@
end:'33',
src:'photos/ss11.jpeg',
target:'webpage'});
+*/
}, false);

0 comments on commit ecbbf2c

Please sign in to comment.