Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // BE EXCEPTIONAL PAGERS - 2, displayed on page node blocks and home
- $(document).ready(function(){
- // page block
- $('a#story-link-0').addClass('active');
- $('a#story-link-0').click(
- function(){
- $('#story-row-0').fadeIn('slow');
- $(this).addClass('active');
- $('a#story-link-1, a#story-link-2, a#story-link-3').removeClass('active');
- $('#story-row-1, #story-row-2, #story-row-3').css('display','none');
- return false;
- }
- );
- $('a#story-link-1').click(
- function(){
- $('#story-row-1').fadeIn('slow');
- $(this).addClass('active');
- $('a#story-link-0, a#story-link-2, a#story-link-3').removeClass('active');
- $('#story-row-0, #story-row-2, #story-row-3').css('display','none');
- return false;
- }
- );
- $('a#story-link-2').click(
- function(){
- $('#story-row-2').fadeIn('slow');
- $(this).addClass('active');
- $('a#story-link-0, a#story-link-1, a#story-link-3').removeClass('active');
- $('#story-row-0, #story-row-1, #story-row-3').css('display','none');
- return false;
- }
- );
- $('a#story-link-3').click(
- function(){
- $('#story-row-3').fadeIn('slow');
- $(this).addClass('active');
- $('a#story-link-0, a#story-link-1, a#story-link-2').removeClass('active');
- $('#story-row-0, #story-row-1, #story-row-2').css('display','none');
- return false;
- }
- );
- });
Add Comment
Please, Sign In to add comment