Lightbox2

From: af (CAER)31 May 2011 11:45
To: ANT_THOMAS 52 of 91
It should appear in the middle of the page, plus scrolling.

I wonder if the issue is related to the size of the images. I suspect it might not be using the defined max sizes when positioning the images. Lemme take a look.
From: ANT_THOMAS31 May 2011 11:58
To: af (CAER) 53 of 91
If you've not seen the problem I've replicated it on the test file I linked to above.
From: af (CAER)31 May 2011 11:59
To: ANT_THOMAS 54 of 91
Ok I think I found the problem. Have uploaded a (hopefully) fixed version now.
From: ANT_THOMAS31 May 2011 12:05
To: af (CAER) 55 of 91
Still there on my test page after updating quickslide.js
From: af (CAER)31 May 2011 13:21
To: ANT_THOMAS 56 of 91
Hm, try adding this to your CSS:
CSS code:
body { overflow-y: scroll; }
From: ANT_THOMAS31 May 2011 13:31
To: af (CAER) 57 of 91

Nope :(

 

I've updated the test and you'll see if you click the bottom one it extends the page below the normal length of the page.

From: af (CAER)31 May 2011 16:29
To: ANT_THOMAS 58 of 91
Ok, I've uploaded a test version that will output some information to the JavaScript console. In Chrome you can see this by pressing Ctrl+Shift+j (I think). Just click an image and tell me what it reports. It will list image height, scroll pos and window height. Do any of the numbers look wrong?
From: af (CAER)31 May 2011 16:40
To: ANT_THOMAS 59 of 91
Huhm. I just downloaded a copy of your page and the image you're using, and with that test version it works fine :S (in Chrome 11 and FF4)
From: af (CAER) 3 Jun 2011 22:30
To: ANT_THOMAS 60 of 91
I've added a new thing: a 'dimmer' option, to darken the rest of the page when you open a popup. If you use it you'll need to add some CSS to make it actually visible, something like this:
CSS code:
#quickslide-dimmer {
	background-color: #333;
	opacity: 0.8;
	filter: alpha(opacity = 80);
	box-shadow: 0 0 9em #000 inset;
}
From: ANT_THOMAS 3 Jun 2011 22:31
To: af (CAER) 61 of 91
Nice, I might use it, but not too sure if I will. It's definitely a feature that it didn't have compared to Lightbox so good stuff!
From: af (CAER) 3 Jun 2011 22:32
To: ANT_THOMAS 62 of 91
To be honest I only added it because it was so easy to do :$

One day soon I will actually get around to adding useful features like next/prev navigation :$
From: Peter (BOUGHTONP) 3 Jun 2011 22:54
To: af (CAER) 63 of 91
Why are you wasting time re-inventing a heavily cloned wheel, instead of working on something useful (like the fizzy document thing)? :/
From: af (CAER) 3 Jun 2011 22:58
To: Peter (BOUGHTONP) 64 of 91
Because I wanted to :p I was curious about some things, and this satisfied my curiosity.

I will carry on with Soda at some point, too.
From: Peter (BOUGHTONP) 3 Jun 2011 23:07
To: af (CAER) 65 of 91

Grrr! Why can't you be curious about things which are more useful! :(

 


Also... whoever created this thread... I keep looking at the status bar and thinking there are two damned unread messages! :'C

EDITED: 3 Jun 2011 23:08 by BOUGHTONP
From: ANT_THOMAS 3 Jun 2011 23:10
To: Peter (BOUGHTONP) 66 of 91
Better?
From: af (CAER) 3 Jun 2011 23:13
To: Peter (BOUGHTONP) 67 of 91
I am still learning, Peter :(

(no but really, I've only been doing web-based programming since around October last year)
From: Peter (BOUGHTONP) 3 Jun 2011 23:15
To: ANT_THOMAS 68 of 91
Thank you! :D
From: Peter (BOUGHTONP) 3 Jun 2011 23:20
To: af (CAER) 69 of 91
Huh?

WTF sort of stuff were you doing before that then?


Whilst I'm generally not opposed to people re-inventing wheels for learning purposes, I'd probably still say it's better to learn from and extend an existing solution.

If more people (both new and experienced) spend more time on improving current stuff, there'd be more half-decent software around, instead of not only everything being crap, but it being even harder to find the slightly less crap stuff amongst all the unfinished experiments. :(


/me stops ranting and goes to find food.
From: af (CAER) 3 Jun 2011 23:31
To: Peter (BOUGHTONP) 70 of 91
quote:
WTF sort of stuff were you doing before that then?

Working in Blockbuster then Jessops, then doing data-entry, then fixing HMRC computers, then attempting to work out what I was supposed to be doing in an understaffed and underexplained repair team fixing Tesco hardware (and by 'hardware' I mean everything from receipt printers to IBM RS/6000s to those 'pay at pump' things they have in petrol stations).
From: Peter (BOUGHTONP) 3 Jun 2011 23:34
To: af (CAER) 71 of 91
No I meant programming-wise - I thought you'd written lots of stuff?

But since you brought it up... are you the reason the fecking petrol pump never has any bloody receipts available!? :@