Commit aefd79003e3013e3dcbc4921c8c59eba2ac1dba6
1 parent
867e8aac
new link
Showing
1 changed file
with
19 additions
and
0 deletions
Show diff stats
src/app/frontend/views/basket_ua.php
| ... | ... | @@ -831,6 +831,25 @@ else |
| 831 | 831 | $url = 'http://api.crm.semena.in.ua/'; |
| 832 | 832 | $pbKey = 'e2c4edf8698208c4586fdbcddb0195a5'; |
| 833 | 833 | ?> |
| 834 | +<script> | |
| 835 | + var str = location.href; | |
| 836 | + var tag = str.split('#')[1]; | |
| 837 | + if(tag == "b1"){ | |
| 838 | + $("#block_4").show(); | |
| 839 | + $('html, body').animate({ scrollTop: $("#block_4").offset().top }, 500); | |
| 840 | + $("#basket_1").show(); | |
| 841 | + } | |
| 842 | + if(tag == "b2"){ | |
| 843 | + $("#block_4").show(); | |
| 844 | + $('html, body').animate({ scrollTop: $("#block_4").offset().top }, 500); | |
| 845 | + $("#basket_2").show(); | |
| 846 | + } | |
| 847 | + if(tag == "b3"){ | |
| 848 | + $("#block_4").show(); | |
| 849 | + $('html, body').animate({ scrollTop: $("#block_4").offset().top }, 500); | |
| 850 | + $("#basket_3").show(); | |
| 851 | + } | |
| 852 | +</script> | |
| 834 | 853 | <script type=text/javascript> |
| 835 | 854 | function status_api($value){ |
| 836 | 855 | $("#form_voting").hide(); | ... | ... |