Commit 179271646b4f04de8c52b876d9b4c9241afc5478
1 parent
20205ccf
first
Showing
1 changed file
with
1 additions
and
15 deletions
Show diff stats
frontend/views/layouts/main.php
| ... | ... | @@ -26,7 +26,6 @@ AppAsset::register($this); |
| 26 | 26 | <?php $this->head() ?> |
| 27 | 27 | <script type="text/javascript"> |
| 28 | 28 | $(document).ready(function(){ |
| 29 | - | |
| 30 | 29 | $('.fb').css('background-color','#354f89'); |
| 31 | 30 | $('.gp, .vk , .tw, .ok ').css('background-color','#bcbcbc'); |
| 32 | 31 | $('#ok_group_widget').stop(false, true).fadeOut(0); |
| ... | ... | @@ -35,25 +34,18 @@ AppAsset::register($this); |
| 35 | 34 | $('#google_plus').stop(false, true).fadeOut(0); |
| 36 | 35 | $('.fb-page').stop(false, true).height(320).fadeIn(0); |
| 37 | 36 | $('.fb_iframe_widget ').height(320); |
| 38 | - | |
| 39 | - | |
| 40 | 37 | $('.gp').click(function(e) { |
| 41 | 38 | e.preventDefault(); |
| 42 | 39 | $('.gp').css('background-color','#c72f21'); |
| 43 | 40 | $('.tw, .vk, .fb, .ok').css('background-color','#bcbcbc'); |
| 44 | - | |
| 45 | 41 | $('#google_plus').stop(false, true).fadeIn(0); |
| 46 | 42 | $('#twitter').stop(false, true).fadeOut(0); |
| 47 | 43 | $('.fb-page').stop(false, true).fadeOut(0); |
| 48 | 44 | $('#ok_group_widget').stop(false, true).fadeOut(0); |
| 49 | 45 | $('#vk_2').stop(false, true).fadeOut(0); |
| 50 | 46 | }); |
| 51 | - | |
| 52 | - | |
| 53 | - | |
| 54 | 47 | $('.tw').click(function(e) { |
| 55 | 48 | e.preventDefault(); |
| 56 | - | |
| 57 | 49 | $('.tw').css('background-color','#6398c9'); |
| 58 | 50 | $('.gp, .vk , .fb, .ok ').css('background-color','#bcbcbc'); |
| 59 | 51 | $('#google_plus').stop(false, true).fadeOut(0); |
| ... | ... | @@ -62,9 +54,6 @@ AppAsset::register($this); |
| 62 | 54 | $('#ok_group_widget').stop(false, true).fadeOut(0); |
| 63 | 55 | $('#vk_2').stop(false, true).fadeOut(0); |
| 64 | 56 | }); |
| 65 | - | |
| 66 | - | |
| 67 | - | |
| 68 | 57 | $('.vk').click(function(e) { |
| 69 | 58 | e.preventDefault(); |
| 70 | 59 | $('.vk').css('background-color','#065baa'); |
| ... | ... | @@ -78,8 +67,6 @@ AppAsset::register($this); |
| 78 | 67 | $('#twitter').stop(false, true).fadeOut(0); |
| 79 | 68 | $('#ok_group_widget').stop(false, true).fadeOut(0); |
| 80 | 69 | }); |
| 81 | - | |
| 82 | - | |
| 83 | 70 | $('.ok').click(function(e) { |
| 84 | 71 | e.preventDefault(); |
| 85 | 72 | $('.ok').css('background-color','#f88f15'); |
| ... | ... | @@ -90,7 +77,6 @@ AppAsset::register($this); |
| 90 | 77 | $('#ok_group_widget').stop(false, true).fadeIn(0); |
| 91 | 78 | $('#twitter').stop(false, true).fadeOut(0); |
| 92 | 79 | }); |
| 93 | - | |
| 94 | 80 | $('.fb').click(function(e) { |
| 95 | 81 | e.preventDefault(); |
| 96 | 82 | $('.fb').css('background-color','#354f89'); |
| ... | ... | @@ -101,7 +87,7 @@ AppAsset::register($this); |
| 101 | 87 | $('#ok_group_widget').stop(false, true).fadeOut(0); |
| 102 | 88 | $('.fb-page').stop(false, true).fadeIn(0); |
| 103 | 89 | }); |
| 104 | - }); | |
| 90 | + }); | |
| 105 | 91 | </script> |
| 106 | 92 | <script src="https://apis.google.com/js/platform.js" async defer> |
| 107 | 93 | {lang: 'ru'} | ... | ... |