- Iggyhopper
- |
- Exalted Mythic Member
AV=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif
BG=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif
After looking at it, Flatulator's is worse. Both can be improved, but Flatulator's can be improved more.
First, avoid using innerHTML to edit things. That will completely break other scripts that have events tied to it. You can just set the erase the href attribute.
Secondly, you can simply pass the function OnButtonDown. You don't have to wrap it in another function.
[Edited on 12.24.2011 6:50 PM PST]