造型/標頭列出引用文字代碼HTML高級的幫助»onmousewheel事件不能在Firefox
<script>
function event_branding() {
document.getElementById("branding_fade").style.bottom = "0%";
document.getElementById("branding_fade").style.opacity = "1";
document.getElementById("branding_fade").style.transition = "all 2s";
setTimeout(function() { $(".event_branding").css("visibility", "visible")},100);
}
</script>
這是調用函數 –
功能event_branding(){ 的document.getElementById( 「branding_fade」)style.bottom = 「0%」。 document.getElementById(「branding_fade」)。style.opacity =「1」; document.getElementById(「branding_fade」)。style.transition =「all 2s」; setTimeout(function(){$(「。event_branding」)。css(「visibility」,「visible」)},100); } –
[文檔](https://developer.mozilla.org/en-US/docs/Web/Events/mousewheel) –