.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": "Exotic Eats - Cherimoya, Papaya, Japanese Cucumber", "slides": [ { "title": "Japanese Cucumber", "desc": "Sliced Japanese Cucumber, seedless, crunchy, bumpy skin", "img": "http://lh5.ggpht.com/_Dwex9AQ8IuA/S_AsaRNL-HI/AAAAAAAAVZY/fQpQaDRexkc/japanese-cucumbers-1.jpg" }, { "title": "Japanese Cucumber", "desc": "Also called Kyuri", "img": "http://lh6.ggpht.com/_Dwex9AQ8IuA/S_AsaMmdI7I/AAAAAAAAVZU/ir2RpQmesYE/japanese-cucumbers-2.jpg" }, { "title": "Papaya: Red and Sunrise", "desc": "There are several varieties of papaya, such as Sunrise Hawaiian and Red Mexican.", "img": "http://lh5.ggpht.com/_Dwex9AQ8IuA/S_Asanw-zXI/AAAAAAAAVZc/3y5UFfXGfVE/hawaiian-papaya-duo-8.jpg" }, { "title": "Hawaiian Papaya", "desc": "Juicy flesh that melts in your mouth.", "img": "http://lh6.ggpht.com/_Dwex9AQ8IuA/S_Asa-FOsFI/AAAAAAAAVZg/scCWIQQHsT0/hawaiian-papaya-7.jpg" }, { "title": "Papaya", "desc": "Sunrise Papaya", "img": "http://lh5.ggpht.com/_Dwex9AQ8IuA/S_Asa0_1E0I/AAAAAAAAVZk/-0cOzu7rpUU/hawaiian-papaya-6.jpg" }, { "title": "Papaya", "desc": "Scoopable and tender flesh.", "img": "http://lh6.ggpht.com/_Dwex9AQ8IuA/S_Asl9M2BNI/AAAAAAAAVZs/vwaoya2SRRM/hawaiian-papaya-5.jpg" }, { "title": "Papaya", "desc": "Taste testing a few papaya varieties is delicious and fun.", "img": "http://lh4.ggpht.com/_Dwex9AQ8IuA/S_AsmPg_JRI/AAAAAAAAVZw/H9r-haCpxes/hawaiian-papaya-duo-4.jpg" }, { "title": "Papaya", "desc": "Sunrise papaya seeds are less bitter than Red Papaya seeds- I have found.", "img": "http://lh5.ggpht.com/_Dwex9AQ8IuA/S_AsmarDxZI/AAAAAAAAVZ0/tnAZaJw2iYg/hawaiian-papaya-3.jpg" }, { "title": "Papaya", "desc": "Red or Orange? What's your favorite papaya??", "img": "http://lh3.ggpht.com/_Dwex9AQ8IuA/S_AsmWV5aNI/AAAAAAAAVZ4/ObABhZI_5fA/hawaiian-papaya-duo-2.jpg" }, { "title": "Cherimoya", "desc": "Exotic and beautiful.", "img": "http://lh4.ggpht.com/_Dwex9AQ8IuA/S_As5WOWG4I/AAAAAAAAVaE/TWl9-u-Xgd8/cherimoya-fruit-1.jpg" }, { "title": "Cherimoya", "desc": "This large juicy CHerimoya cost me $7. Pricey, but 100% worth it for a special treat.", "img": "http://lh6.ggpht.com/_Dwex9AQ8IuA/S_As5fKUrwI/AAAAAAAAVaI/f2IFR7gOawE/cherimoya-fruit-2.jpg" }, { "title": "Cherimoya", "desc": "The patterned green skin is elegant and unique.", "img": "http://lh6.ggpht.com/_Dwex9AQ8IuA/S_As5xLGVMI/AAAAAAAAVaM/OjbuxSmfkXQ/cherimoya-fruit-3.jpg" }, { "title": "Cherimoya", "desc": "This fruit was the size of a softball.", "img": "http://lh5.ggpht.com/_Dwex9AQ8IuA/S_As6dYjR1I/AAAAAAAAVaQ/j9l2D-0eTk4/cherimoya-fruit-4.jpg" }, { "title": "Cherimoya", "desc": "Too pretty to eat. Almost.", "img": "http://lh6.ggpht.com/_Dwex9AQ8IuA/S_AtVTvEBQI/AAAAAAAAVac/JucMfhmhbcY/cherimoya-fruit-6.jpg" }, { "title": "Cherimoya", "desc": "", "img": "http://lh3.ggpht.com/_Dwex9AQ8IuA/S_AtVqyYzXI/AAAAAAAAVag/n15_QNW-Zao/cherimoya-fruit-6a.jpg" }, { "title": "Cherimoya", "desc": "The flavor is like unusual, alluring and cravable - must try for fruit-foodies.", "img": "http://lh6.ggpht.com/_Dwex9AQ8IuA/S_AtVl2PkpI/AAAAAAAAVak/OBX6q04pi6I/s1600/cherimoya-fruit-7.jpg" }, { "title": "Cherimoya", "desc": "It's shocking that white flesh has so much colorful, taste-bud-awakening flavor!", "img": "http://lh5.ggpht.com/_Dwex9AQ8IuA/S_AtWCNEpiI/AAAAAAAAVao/2nJYMPb5F6w/s1600/cherimoya-fruit-8.jpg" }, { "title": "Cherimoya", "desc": "The big seeds are rock hard and light. Easy to remove from the flesh as you eat.", "img": "http://lh3.ggpht.com/_Dwex9AQ8IuA/S_AtWC36P2I/AAAAAAAAVas/tm_QVTsTGRY/s1600/cherimoya-fruit-9.jpg" }, { "title": "Cherimoya", "desc": "Mouth-wateringly yummy fruit.", "img": "http://lh5.ggpht.com/_Dwex9AQ8IuA/S_AtljeC3oI/AAAAAAAAVbI/-wMJFqa-vtM/s1600/cherimoya-fruit-11.jpg" }, { "title": "Cherimoya", "desc": " ", "img": "http://lh6.ggpht.com/_Dwex9AQ8IuA/S_Atl6U-FBI/AAAAAAAAVbM/3gpYR8Lcs3I/s1600/cherimoya-fruit-12.jpg" }, { "title": "Cherimoya", "desc": " ", "img": "http://lh6.ggpht.com/_Dwex9AQ8IuA/S_AtuIqZPeI/AAAAAAAAVbk/3teenEvq3ZY/s1600/cherimoya-fruit-16.jpg" }, { "title": "Cherimoya", "desc": " ", "img": "http://lh4.ggpht.com/_Dwex9AQ8IuA/S_Atunv5rGI/AAAAAAAAVbo/wAEjYb1_AXM/cherimoya-fruit-17.jpg" }, { "title": "Cherimoya", "desc": "Go on, take a fruit bowl vacation...", "img": "http://lh4.ggpht.com/_Dwex9AQ8IuA/S_AtmKATUzI/AAAAAAAAVbQ/k_dz0VCxKVM/s1600/cherimoya-fruit-13.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);