Below is a link to what it does to this page I’m using to compose this message. As I type and things are swirling around the page still works perfectly.
How does one discover something like this? I mean it’s not like you would just click something or push the wrong button or mis-type an address for it to happen. That’s a long freakin’ chunk of code.
Well, my imediate guess was that someone who already knows alot about javasctipt and also knows a fair bit about how browsers work (I.e. the fact that javascript will work from the address bar) and thirdly is sh*t hot at mathematics put the three things together, tried it out, and then put it on youtube.
ON my browser, it repositioned everything, but it’s not moving around, the boar’ds graphics are just parked outside of the normal parking places. Shiira, OSX 10.4.10
Well, I had important work to do today, so naturally I decided to waste some time debugging that code. I came up with this, which works for me in both IE and Firefox:
For you curious technical types: the ‘left’ and ‘top’ style properties should be strings, but the code was setting them to numbers. It appears that IE automatically converts them to strings, but Firefox just ignores them. Concatenating the units string (‘px’) to the numbers forces the conversion to take place.
Mbossa’s code worked for me in Firefox. The original code works only in IE. It’s silly and of utterly no use, but it’s one of those things that’s neat for about five seconds, then you hit the refresh button to tell it to cut it the hell out so you can get your buttons back.