.title {
font-size:22px;font-family:’Helvetica Neue’,Helvetica,sans-serif;font-weight:700;
}
.slideTitle {
font-size:18px;font-family:’Helvetica Neue’,Helvetica,sans-serif;font-weight:700;
}
.slideTitle {width:80%;display:inline;}
.navLink {font-size:20px;display:inline;float:right;margin-right:10px;}
.navLinkFooter {font-size:18px;display:inline;float:right;margin-right:10px;}
.slideDesc {font-size:18px;font-family:’Helvetica Neue’,Helvetica,sans-serif;}
.whatPageAmIOn {display:inline;font-size:14px;}
slides = { “title”: “DOLE California Cook-Off”, “slides”: [ { “title”: “Welcome”, “desc”: “Welcome to the Cook-Off!”, “img”: “http://lh6.ggpht.com/_Dwex9AQ8IuA/TCkPRL-UgSI/AAAAAAAAW7I/zhdBHDmth5E/kcookoff-26.jpg” }, { “title”: “Lets Cook!”, “desc”: “I’m ready, lets go.”, “img”: “http://lh3.ggpht.com/_Dwex9AQ8IuA/TCkPRRqoxdI/AAAAAAAAW7Q/SgzDRR1-TFs/kcookoff-28.jpg” }, { “title”: “Lights, Camera, Action!”, “desc”: “Interviews and cameras everywhere.”, “img”: “http://lh4.ggpht.com/_Dwex9AQ8IuA/TCkOqTpJvJI/AAAAAAAAW6A/IE7rElF5acw/kcookoff-11.jpg” }, { “title”: “Chef Ben Ford”, “desc”: “Meeting the sole judge Chef Ben Ford of Ford’s Filling Station – also Harrison Ford’s son, fyi.”, “img”: “http://lh5.ggpht.com/_Dwex9AQ8IuA/TCkO0wP4PhI/AAAAAAAAW6U/zZG1p8ZSvOI/kcookoff-16.jpg” }, { “title”: “Game Plan!”, “desc”: “Justin and I discuss our plan.”, “img”: “http://lh3.ggpht.com/_Dwex9AQ8IuA/TCkPh2d2jnI/AAAAAAAAW7s/tY4FKSdhIv8/kcookoff-35.jpg” }, { “title”: “In the kitchen”, “desc”: “Me, a concentrated cook.”, “img”: “http://lh6.ggpht.com/_Dwex9AQ8IuA/TCkO196xH2I/AAAAAAAAW6Y/oG1vvWrftYo/kcookoff-17.jpg” }, { “title”: “Interview”, “desc”: “So, what’d ya make?”, “img”: “http://lh6.ggpht.com/_Dwex9AQ8IuA/TCkO15kxqEI/AAAAAAAAW6c/gsXMzeqtYXM/kcookoff-18.jpg” }, { “title”: “My Dish”, “desc”: “Mandarin Orange Ginger Rice with Cashew Tofu. vegan.”, “img”: “http://lh5.ggpht.com/_Dwex9AQ8IuA/TCkO2H8HloI/AAAAAAAAW6g/1iR2Az2kPIQ/kcookoff-19.jpg” }, { “title”: “Proud of my dish”, “desc”: “Feeling good about the food I served.”, “img”: “http://lh4.ggpht.com/_Dwex9AQ8IuA/TCkPBHpaNwI/AAAAAAAAW6o/thL3vLknJwE/kcookoff-20.jpg” }, { “title”: “Justin Eats”, “desc”: “So is Justin…my super cool sous Chef! He was fantastic. He tweets more than me!”, “img”: “http://lh3.ggpht.com/_Dwex9AQ8IuA/TCkPBSPgjbI/AAAAAAAAW6s/QzmGaH3d9Qk/kcookoff-21.jpg” }, { “title”: “Dish Line-Up”, “desc”: “Meet the finalists…well, taste the finalists..”, “img”: “http://lh4.ggpht.com/_Dwex9AQ8IuA/TCkPBpt8CvI/AAAAAAAAW6w/8U6UPfdkPtM/kcookoff-22.jpg” }, { “title”: “Dish Line-Up Two”, “desc”: “Another view.”, “img”: “http://lh4.ggpht.com/_Dwex9AQ8IuA/TCkPhTU9UVI/AAAAAAAAW7k/0MmmwGm5Ipg/kcookoff-32.jpg” }, { “title”: “Feast Table.”, “desc”: “Post event we had a DOLE feast.”, “img”: “http://lh6.ggpht.com/_Dwex9AQ8IuA/TCkPhoXWEsI/AAAAAAAAW7o/vJ9Au51qhTE/kcookoff-33.jpg” }, { “title”: “Another…”, “desc”: “Another interview? Geez. I don’t mind. Chef Ford is a super fun and friendly guy to chat with about cooking and food. He’s a proud new dad too!”, “img”: “http://lh3.ggpht.com/_Dwex9AQ8IuA/TCkPB5di_0I/AAAAAAAAW60/-skk9OFQYvE/kcookoff-23.jpg” }, { “title”: “Hmm Tofu…Nice!”, “desc”: “Everyone was pleasantly surprised by the look and smell and taste of my tofu cubes.”, “img”: “http://lh6.ggpht.com/_Dwex9AQ8IuA/TCkPQxbNiHI/AAAAAAAAW7E/TLNiLrM9d4Y/kcookoff-25.jpg” }, { “title”: “Plating”, “desc”: “Trying to makes things look pretty. But rushing it too!”, “img”: “http://lh4.ggpht.com/_Dwex9AQ8IuA/TCkPROo6c4I/AAAAAAAAW7M/Gqe7WqC8fi0/kcookoff-27.jpg” }, { “title”: “Post Event Feast”, “desc”: “I could only eat my dish and Justin’s bonus sweet potato dish – so my ‘feast’ plate was kinda sad. But delish!”, “img”: “http://lh5.ggpht.com/_Dwex9AQ8IuA/TCkPCNyLMRI/AAAAAAAAW64/1-R-vHqN_9E/kcookoff-24.jpg” }, { “title”: “My Final Result.”, “desc”: “My final dish for plating. proud.”, “img”: “http://lh4.ggpht.com/_Dwex9AQ8IuA/TCkPRo4AcuI/AAAAAAAAW7U/XTSg2Nev4Zg/kcookoff-29.jpg” }, { “title”: “More new friends”, “desc”: “All the bloggers were super fun.”, “img”: “http://lh4.ggpht.com/_Dwex9AQ8IuA/TCkPhBfuFLI/AAAAAAAAW7g/D_mivygKX7s/kcookoff-30.jpg” }, { “title”: “Waiting Game”, “desc”: “Waiting for the clock to tick down so I start on my final batch of tofu.”, “img”: “http://lh5.ggpht.com/_Dwex9AQ8IuA/TCkOpc1GKhI/AAAAAAAAW54/YNozF0apNxo/kcookoff-9.jpg” }, { “title”: “Interview”, “desc”: “Chatting with Chef Ford”, “img”: “http://lh5.ggpht.com/_Dwex9AQ8IuA/TCkOe1csZxI/AAAAAAAAW5w/dmfggn7cIB4/kcookoff-8.jpg” }, { “title”: “Whoops”, “desc”: “Remember to watch your pans when giving an interview.”, “img”: “http://lh4.ggpht.com/_Dwex9AQ8IuA/TCkOqHU-EQI/AAAAAAAAW58/1bdpsAF3hmw/kcookoff-10.jpg” }, { “title”: “Blogger Friends”, “desc”: “Justin and Gabriela at the post-cook-off feast. “, “img”: “http://lh3.ggpht.com/_Dwex9AQ8IuA/TCkOe2_2_jI/AAAAAAAAW5s/RphBZzBk9Mg/kcookoff-7.jpg” }, { “title”: “Certificate”, “desc”: “Job well done. Last shot with Chef Ford.”, “img”: “http://lh4.ggpht.com/_Dwex9AQ8IuA/TCkOqpXAoEI/AAAAAAAAW6E/csHVMlgcTsY/kcookoff-12.jpg” }, { “title”: “The Winner”, “desc”: “Janice the proud winner. And her blogger assistant Gabriela. “, “img”: “http://lh4.ggpht.com/_Dwex9AQ8IuA/TCkOq05PbfI/AAAAAAAAW6I/apl-GHmndLk/kcookoff-13.jpg” }, { “title”: “Voila”, “desc”: “I’m still smiling because my eats were yummy! And vegan…”, “img”: “http://lh4.ggpht.com/_Dwex9AQ8IuA/TCkO01Gze2I/AAAAAAAAW6Q/2zluvoGOxcs/kcookoff-15.jpg” }, { “title”: “Thanks hunny.”, “desc”: “Glad to have my biggest fan by my side. “, “img”: “http://lh5.ggpht.com/_Dwex9AQ8IuA/TCkPud3GSVI/AAAAAAAAW8A/apL2EIL9Cfw/kgandaz-550.jpg” } ]}
function gup( name ) {
name = name.replace(/[[]/,”[“).replace(/[]]/,”]”);
var regexS = “[?&]”+name+”=([^&#]*)”;
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href );
if ( results == null ) {
return null;
} else {
return results[1];
}
}
curPage = gup(‘page’);
if (curPage == null) {
page = 1;
} else {
page = parseInt(curPage);
}
if (page < slides.slides.length) {
nextUrl = window.location.pathname + '?page=' + (page + 1);
$('#nextUrl').attr('href',nextUrl);
$('#footerNextUrl').attr('href',nextUrl);
} else {
$('#next a').css('color','#ccc');
$('#footerNext a').css('color','#ccc');
}
if (page > 1) {
prevUrl = window.location.pathname + ‘?page=’ + (page -1);
$(‘#prevUrl’).attr(‘href’,prevUrl);
$(‘#footerPrevUrl’).attr(‘href’,prevUrl);
} else {
$(‘#prev a’).css(‘color’,’#ccc’);
$(‘#footerPrev a’).css(‘color’,’#ccc’);
}
$(‘#Blog1 .post-title’).css(‘display’,’none’);
$(‘.addthis_toolbox’).css(‘display’,’none’);
$(document).ready(function() {
$(‘#Blog1 .blog-pager’).css(‘display’,’none’);
$(‘.linkwithin_outer’).css(‘display’,’none’);
});
$(‘#title’).html(slides.title);
$(‘#slideTitle’).html(‘> ‘ + slides.slides[page-1].title);
$(‘#slideDesc’).html(slides.slides[page-1].desc);
$(‘#imgSrc’).attr(‘src’,slides.slides[page-1].img);
$(‘#whatPageAmIOn’).html(page + ‘ / ‘ + slides.slides.length);