4 ms·
I'm probably crazy, but I've been staring at the two images for five minutes and can't see anything in one that isn't in the other, unless it is obscured by the
by abruzzi 13y ago
I'm probably crazy, but I've been staring at the two images for five minutes and can't see anything in one that isn't in the other, unless it is obscured by the annoying "view related gallery"button.
EDIT: Ok, half the time I load the page, the page works and I see the rock, but the other half of the time, the image is shifted down, the top half of the display box is black, and the "rock" is off screen...
- deleted 13y ago[deleted]
- Zhenya 13y agoSame thing happened to me. I stared and then reloaded page. Something is wonky with their gallery.
- sisk 13y agoYou're not crazy. Psst. Discovery folks. You've got yourself a race condition. You're calculating a `margin-top` to center an image vertically irrespective of whether that image has loaded. You either need to explicitly set the width and height as attributes on the image (good for preventing reflow anyway) or hold off on calculating your dimensions until after the image has loaded. You could even just wait for window load (instead of DOMContentLoaded). EDIT: Here's an untested, hacky fix. Not an ideal solution but concise and without having to change anything. https://gist.github.com/anonymous/c40e8baf679aad65cb2c https://gist.github.com/anonymous/c40e8baf679aad65cb2c
- computerbob 13y agoLink to the image directly. I also had problems with the gallery. http://static.ddmcdn.com/gif/blogs/dnews-files-2014-01-mystery-mars-rock-670x440-140117-jpg.jpg http://static.ddmcdn.com/gif/blogs/dnews-files-2014-01-myste...
- bfe 13y agoYou're not crazy, they've discovered a Schrödinger's rock. With a ridiculously high Planck's constant, and conscious observation working backward in time through an imager and interplanetary transmitter to collapse the wave function. So, pretty big news. [Edited to add umlaut.]
- dredmorbius 13y agoWouldn't Schrödinger's rock with a high Planck's constant be a stick?