Refactor
:my
=>
'code'
Codes
Refactorings
Popular
Best
Submit
Spam
Account
Logout
Login
JavaScript doesn't seem to be activated, expect things to be ugly and sloppy!
Learn How to Create Your Own Programming Language
createyourproglang.com
Recent
FILE HOSTS PREMIUM ACCOUNT
ALL FILE HOST PREMIUM ACCOUNTS
Zynga Slingo Trainer v5.12
iTunes Gift Card Generator V3.1 2012
Diablo 3 GOLD Coins FREE
Working PS3 Jailbreak 3.65 And 3.66
ExtaBit Premium Accounts and Cookies
Steam Wallet Hack - Money Adder & Hack v3
Empires & Allies Hack Cheat Trainer v5.4.1
Eve Onnline 60 Days Time Card Generator v2
Popular
XBOX POINTS GENERATOR - MICROSOFT POINTS GENERATOR v1.2012
11 may 2012 premium uploading accounts 100% working
Free Microsoft Points
Free Microsoft Points - Microsoft Points Generator - Xbox Live Codes 2012
Car Town Free Blue Points Hack
Free CarTown Blue Points Generator and CarTown Templates
Better way to get content via jQuery $.get()
Free Microsoft Points
Simple Days Purger
Sharecash Downloader Bypass Surveys New 05/2012
Pastable version of
Tab-Switching in jQuery
<pre class='prettyprint' language='javascript'><div id="showcase"> <ul class="nav"> <li><a href="#example" class="selected">Example</a></li> <li><a href="#another">Another</a></li> </ul> <div class="first item" id="example"> This is the first item. By default it's shown. </div> <div class="item" id="another"> This is another item. By default it's hidden. </div> </div></pre> <pre class='prettyprint' language='javascript'>#showcase .item { display: none; } #showcase .first { display: block; }</pre> <pre class='prettyprint' language='javascript'>$(document).ready(function() { var selected = $("#showcase .first"); // First is selected by default $("#showcase .nav a").click( function() { if($(this) != selected) { $('#showcase .nav a.selected').removeClass('selected'); selected.hide(); selected = $($(this).attr('href')); selected.show(); $(this).addClass('selected'); return false; // Stops link from jumping to the anchor } }) });</pre> <a href="http://www.refactormycode.com/codes/608-tab-switching-in-jquery" style="color:#fff" title="As seen on RefactorMyCode.com"><img alt="Small_logo" src="http://www.refactormycode.com/images/small_logo.gif" style="border:0" /></a>