Public Voice Network
- Vid of the Day 1096110961
- Shit QBNers Say 125125
- TYPO San Francisco 55
- Multicolored logos? 44
- Suggest a good movie... 936936
- Logo from Locked PDF? 33
- blog 5557955579
- American Musical Supply C… 11
- Pic of the Day 5937359373
- FMT 020312 4646
- intern -> job 2121
- Your Last Concert 375375
- the gif animation thread 1132211322
- Steve Jobs FBI file 66
- Shit QBNers think 6969
- What are you listening to… 41734173
- Park Slope 22
- The Elder Scrolls V: Skyr… 7676
- ♥ Things girls like ♥ 9696
- AE shadows won't work 99
- Politics 1759717597
- Chick of the Day 1431414314
- Skateboarding. 598598
- Shit Photographers Say 44
Lightbox / Webkit Issue 1717 Responses
Last post: 1 year, 10 months ago | Thread started: Mar 17, 10, 1:17 p.m.
- besler
I've got a lightbox activated on a page that has roughly 8 or so images, but in Webkit browsers (Safari, Chrome), the modal window does not change with your positioning on the screen.
Example: http://spacemanspiff.net/cleo/de…
Scroll down to one of the last images, and you'll see that the modal window appears at the top of the page. In Firefox (and IE, surprisingly), this isn't an issue.
Does anyone know of how to get around this?
- Mar 17, 10, 1:17 p.m. – Permalink
- welded
Take a look at this (somewhat old) bug report:
https://bugs.webkit.org/show_bug…It makes some sense based on what's happening. Try using jQuery with $(document).height() or something like that instead.

- Dog-earMar 17, 10, 1:45 p.m. – Permalink
- welded
Er, wait, not $(document).height(). I don't know why I thought that would help. Check out comment 12 from that bug report:
https://bugs.webkit.org/show_bug…
- Dog-earMar 17, 10, 1:48 p.m. – Permalink
- welded
Perhaps: http://api.jquery.com/scrollTop/…


- Dog-earMar 17, 10, 1:51 p.m. – Permalink
- zray
or just use http://jquery.com/demo/thickbox/…


- Dog-earMar 17, 10, 1:52 p.m. – Permalink
- besler
One more question; any idea why on http://spacemanspiff.net/cleo/ha…, the anchor links don't line up properly? The left nav works fine locally, but it jumps down about two full lines when on the server. I'm guessing it's something to do with the header, just not sure what.
Any ideas would be appreciated.


- Dog-earMar 17, 10, 6:32 p.m. – Permalink
- bigtrickagain
i'm guessing that if you stick your anchor inside those floating nav-box divs, it will work like you want it to. give that a try?


- Dog-earMar 17, 10, 6:56 p.m. – Permalink
- bigtrickagain
i see now. using firebug, it looks like you're neglecting to close some of your <divs> - the ones that look like this:
<div style="clear:both; margin:0 auto; width:800px;">
lack closing </div> tags.you should get this:
http://getfirebug.com/
it will save you heaps of time!

- Dog-earMar 17, 10, 7:41 p.m. – Permalink


