+ 2
how to use onscroll and on wheel in javascript?
I can't change the style of a tag on my page (external css). I tried with onscroll/onwheel in the tag. Also window.onscroll but nothing seems to be working. By the way, i change the style of an external css page using "document.getElementById('someid').style.backgroundColor="color" " right?
2 Antworten
+ 8
Show your code please. It will be more easy to help you, when we'll see the programm.
0
Thanks. I kinda solved/figured it out. If anyone can tell me what event attributes i can use in the window.event(onload/idk) please tell me.