From b4da02a0df04e995a24e998d472f1052d498565b Mon Sep 17 00:00:00 2001 From: fisharebest Date: Sat, 17 Jul 2010 16:10:29 +0000 Subject: Combine large and small icons - use CSS to downsize when small icons are required --- sidebar.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'sidebar.php') diff --git a/sidebar.php b/sidebar.php index 48c57d63bc..6bc71e3d52 100644 --- a/sidebar.php +++ b/sidebar.php @@ -164,13 +164,13 @@ jQuery(document).ready(function() { // Sidebar Pin Function jQuery('#sidebar_pin').toggle( function() { - jQuery('#sidebar_pin img').attr('src', '').attr('title', ''); + jQuery('#sidebar_pin img').attr('src', '').attr('title', ''); jQuery.get('individual.php?pid=pid;?>&action=ajax&pin=true'); pinned = true; }, function() { - jQuery('#sidebar_pin img').attr('src', '').attr('title', ''); + jQuery('#sidebar_pin img').attr('src', '').attr('title', ''); jQuery.get('individual.php?pid=pid;?>&action=ajax&pin=false'); pinned = false; }); @@ -184,7 +184,7 @@ jQuery(document).ready(function() { // Sidebar Open/Close Function // Sidebar Open jQuery('#sidebar_open').toggle(function() { - jQuery('#sidebar_open img').attr('style', 'margin-left:255px;' ).attr('src', '').attr('title', ''); + jQuery('#sidebar_open img').attr('style', 'margin-left:255px;' ).attr('src', '').attr('title', ''); jQuery('#sidebar').animate({ right: "0px", width: "260px" @@ -222,7 +222,7 @@ jQuery(document).ready(function() { // Sidebar Close }, function() { - jQuery('#sidebar_open img').attr('style', 'margin-left:0px;' ).attr('src', '').attr('title', ''); + jQuery('#sidebar_open img').attr('style', 'margin-left:0px;' ).attr('src', '').attr('title', ''); jQuery('#sidebar').css('left', ''); jQuery('#sidebar').animate({ right: "4px", @@ -268,15 +268,15 @@ jQuery(document).ready(function() { if ( isset($_SESSION['WT_pin']) && $_SESSION['WT_pin'] && $sidebar_state == "open") { ?>