//Flickr Widget in Footer
$(document).ready(function(){
// Our very special jQuery JSON fucntion call to Flickr, gets details of the most recent images
$.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?id=52617155@N08&lang=en-us&format=json&jsoncallback=?", displayImages); //YOUR IDGETTR GOES HERE
function displayImages(data) {
// Randomly choose where to start. A random number between 0 and the number of photos we grabbed (20) minus 7 (we are displaying 7 photos).
var iStart = Math.floor(Math.random()*(0));
// Reset our counter to 0
var iCount = 1;
// Start putting together the HTML string
var htmlString = "
';
if (o.image_size != 0) {
today = new Date();
jtweet += '
';
jtweet += '';
$(obj).append(jtweet);
});
$("#jtwt_loader").fadeOut('fast');
});
});
}
});
})(jQuery);
// Transify v1.0 - Adjusts Transparency on Header
// COPYRIGHT JOREN RAPINI 2010
// jorenrapini@gmail.com
(function($){
$.fn.transify = function(options) {
var defaults = {
opacityOrig:.6,
fadeSpeed:600
},
settings = $.extend({}, defaults, options);
this.each(function() {
var $this = $(this);
$this.append('
');
var transBG = $this.find('.transify');
transBG.css({
backgroundColor:$this.css('backgroundColor'),
backgroundImage:$this.css('backgroundImage'),
backgroundRepeat:$this.css('backgroundRepeat'),
borderTopColor:$this.css('borderTopColor'),
borderTopWidth:$this.css('borderTopWidth'),
borderTopStyle:$this.css('borderTopStyle'),
borderRightColor:$this.css('borderRightColor'),
borderRightWidth:$this.css('borderRightWidth'),
borderRightStyle:$this.css('borderRightStyle'),
borderBottomColor:$this.css('borderBottomColor'),
borderBottomWidth:$this.css('borderBottomWidth'),
borderBottomStyle:$this.css('borderBottomStyle'),
borderLeftColor:$this.css('borderLeftColor'),
borderLeftWidth:$this.css('borderLeftWidth'),
borderLeftStyle:$this.css('borderLeftStyle'),
position:'absolute',
top:0,
left:0,
zIndex:-1,
width:$this.width()+parseInt($this.css("padding-left"), 10) + parseInt($this.css("padding-right"), 10),
height:$this.height()+parseInt($this.css("padding-top"), 10) + parseInt($this.css("padding-bottom"), 10),
opacity:settings.opacityOrig});
if (settings.percentWidth) {
transBG.css('width',settings.percentWidth);
}
$this.css({
zIndex:10,
position:'relative',
background:'none',
border:'none'})
if (settings.opacityNew) {
$this.hover(function() {
transBG.stop().animate({opacity:settings.opacityNew}, settings.fadeSpeed);
}, function() {
transBG.stop().animate({opacity:settings.opacityOrig}, settings.fadeSpeed);
});
}
});
return this;
}
})(jQuery);