master
tangyi 2021-09-30 09:01:06 +08:00
parent 2b63159cd5
commit 9ee0db1897
1 changed files with 0 additions and 5 deletions

View File

@ -770,7 +770,6 @@ function getScrollTop() {
} }
return scroll_top; return scroll_top;
} }
<<<<<<< HEAD
$(function () { $(function () {
if ($(".tyhder_herader").length==1) { if ($(".tyhder_herader").length==1) {
@ -782,10 +781,6 @@ $(function () {
function myFunction() { function myFunction() {
=======
document.addEventListener("scroll", myFunction);
function myFunction() {
>>>>>>> c9ed6addc5114c34477351d5ef453ff6f6feb9cc
if (getScrollTop() > $(".tyhder_herader>img").css("height").split("px")[0]) { if (getScrollTop() > $(".tyhder_herader>img").css("height").split("px")[0]) {
$(".pod").css("position", "fixed") $(".pod").css("position", "fixed")
$(".pod").addClass("dtip") $(".pod").addClass("dtip")