CSSbuilt « visit
This is my Source Code and I don't want to show it here
View Source Code only (as overlay)
// That code snippet belongs to CSSbuilt - http://cssbuilt.com
/* ----------------------------------------------------------------
* FILE: core.js
* ----------------------------------------------------------------
* Created: 30-12-08 (dd-mm-yy)
* Website: Elevate Web Design
* ---------------------------------------------------------------
*/
$core = {
context : false,
getContext: function() {
if(this.context === false) {
this.context = $("#content");
}
return this.context;
},
init : function() {
$('body').addClass('js');
this.prepareScrollTo();
if($('.gallery').length > 0) this.prepareLatestWork();
},
prepareLatestWork : function() {
if($.browser.msie && $.browser.version < 7.0) {
$('.gallery li .details').remove();
} else {
$('.gallery li').hover(function() {
$(this).children('div.details').stop(true, true).fadeIn().removeClass('hide');
}, function() {
$(this).children('div.details').stop(true, true).fadeOut().addClass('hide');
});
}
},
prepareScrollTo : function() {
$('a[href^="#"]', this.getContext()).click(function(e) {
e.preventDefault();
$('html, body').animate({
scrollTop: $($(this).attr("href")).offset().top
}, 500);
});
}
}
$(function() {
$core.init();
});
Syndicate
Categories
Statistics
There are 330 Sites with 745 Links of Interest in 18 Categories. The latest Site was added 4 months ago.
About
This is a project by Sebastian Senf, for his part jQuery user and lover too. Follow me.