Code create backlink jquery
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | <script type="text/javascript"> require([ 'jquery', 'jquery/ui'], function($){ $(document).ready(function($) { var u = window.location.href; var a= u.split("/"); var contact = a[a.length-1]; if (contact == "#contact-us") { jQuery('html, body').animate({ scrollTop: jQuery("#contact-us").offset().top - 500 }, 2000); } }); }); </script> |

Không có nhận xét nào:
Đăng nhận xét