24 Ways « 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 24 Ways - http://24ways.org
$(document).ready(function(){
$('body').addClass('js');
$("#content").addClass("article");
var tab = window.location.hash
if (tab == "#comments" || tab == '#cpreview' || tab.indexOf('#c0')==0){
$("#content").removeClass();
$("#content").addClass("comments");
}
$("#goto-comments a").click(function () {
$("#content").removeClass();
$("#content").addClass("comments");
return false;
});
$("#goto-article a").click(function () {
$("#content").removeClass();
$("#content").addClass("article");
return false;
});
$("#goto-comments-alt a").click(function () {
$("#content").removeClass();
$("#content").addClass("comments");
window.scroll(0, 200);
return false;
});
$("#goto-article-alt a").click(function () {
$("#content").removeClass();
$("#content").addClass("article");
return false;
});
$('input.switcheroo').focus(function(){
if (this.value == this.defaultValue) this.value = '';
}).blur(function(){
if (this.value == '') this.value = this.defaultValue;
});
$('html.ie #comments ~ .meta').hide();
//$('html.ie body').prepend('<p style="text-align:center; font-weight:bold;">We\'re currently a bit untidy in IE. We\'re working on it.</p>');
});
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.