无编辑摘要
无编辑摘要 |
无编辑摘要 |
||
第1行: | 第1行: | ||
<includeonly><script> | <noinclude> | ||
{{#widget:sandbox}} | |||
</noinclude><includeonly><script> | |||
window.onscroll = function() { | window.onscroll = function() { | ||
var tables = document.getElementsByClassName("fix-table-header"); | var tables = document.getElementsByClassName("fix-table-header"); | ||
第20行: | 第22行: | ||
hdr.childNodes[i].style.visibility = 'visible'; | hdr.childNodes[i].style.visibility = 'visible'; | ||
hdr.childNodes[i].style.pointerEvents = 'auto'; | hdr.childNodes[i].style.pointerEvents = 'auto'; | ||
hdr.childNodes[i].style.backgroundColor = 'white'; | |||
console.log(hdr.childNodes[i].style.backgroundColor); | |||
} | } | ||
} | } | ||
第27行: | 第31行: | ||
if (hdr != null) hdr.remove(); | if (hdr != null) hdr.remove(); | ||
} | } | ||
</script><style> #fixed-table-header { background-color: white; } </style | </script><style> #fixed-table-header { background-color: white; } </style> | ||
<p>payload</p> | <p>payload</p> | ||
<p>payload</p> | <p>payload</p> |