New Paste

 

Recent Pastes

Administrate




PageLines PasteBin.

PasteID: 7r6
Pasted by Danny, 2012-05-28 10:44:41 GMT
Expires Never
Paste size 1.3 Kb
Toggle Expand   Wrap   Raw
Copy Contents   Copy URL
 
  1. // ------- ADDS SOCIAL ICONS TO BRANDNAV ------- //
  2. add_action('pagelines_inside_bottom_brandnav', 'social_icons');	function social_icons(){ ?>
  3. 		<div class="icons" style="bottom: 12px; right: 1px;">
  4. 			<a target="_blank" href="#/feed/" class="rsslink"><img src="/wp-content/themes/pagelines/sections/branding/rss.png" alt="RSS"></a>
  5. 			<a target="_blank" href="#" class="twitterlink"><img src="/wp-content/themes/pagelines/sections/branding/twitter.png" alt="Twitter"></a>
  6. 			<a target="_blank" href="#" class="facebooklink"><img src="/wp-content/themes/pagelines/sections/branding/facebook.png" alt="Facebook"></a>
  7. 			<a target="_blank" href="#" class="linkedinlink"><img src="/wp-content/themes/pagelines/sections/branding/linkedin.png" alt="LinkedIn"></a>
  8. 			<a target="_blank" href="#" class="youtubelink"><img src="/wp-content/themes/pagelines/sections/branding/youtube.png" alt="Youtube"></a>
  9. 			<a target="_blank" href="#" class="gpluslink" style="opacity: 0.5; "><img src="/wp-content/themes/pagelines/sections/branding/google.png" alt="Google+"></a>
  10. 		</div>
  11. 	<script type="text/javascript"> 
  12. 		jQuery('.icons a').hover(function(){ jQuery(this).fadeTo('fast', 1); },function(){ jQuery(this).fadeTo('fast', 0.5);});
  13. 	</script>
  14. <?php }
 
 
 

 
 
 
 
 
Written by Xan Manning, 2010.
YOU NEED FLASH!