I’m currently working on my Tribute Page, I’m almost done, but I wanted to make when I click Wiki button to page fadeOut. It doesnt work. Can someone lookup my code and try to help me?
I think the problem is when you select the body tag. Using getElementsByTagName spits out a list of elements with the same tag, contrary to getElementById, which only gives one (ids are unique), so you have to specify which element you want (even if there’s only one of the kind like here). To do so you have to append the order of the element in the list of elements with the same tag, using the array like notation (remember it starts in 0) i.e. getElementsByTagName(‘body’) (since its the first element).
Sorry for my english