mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-06 05:30:05 +00:00
Service page and Smooth transition update
This commit is contained in:
1
resource/static/theme-daynight/js/tooltip.js
Normal file
1
resource/static/theme-daynight/js/tooltip.js
Normal file
@@ -0,0 +1 @@
|
||||
var tooltipData=document.querySelectorAll(".corner ul");$(window).width()<=500?window.onmousemove=function(t){for(var o=t.clientX-40+"px",l=t.clientY+30+"px",e=0;e<tooltipData.length;e++)tooltipData[e].style.top=l,tooltipData[e].style.left=o}:window.onmousemove=function(t){for(var o=t.clientX-50+"px",l=t.clientY-100+"px",e=0;e<tooltipData.length;e++)tooltipData[e].style.top=l,tooltipData[e].style.left=o};
|
||||
Reference in New Issue
Block a user