CodingLightbox2

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  af (CAER)  
 To:  ALL
38538.11 
Wow. Making you include a 249K of JavaScript just to have images pop up nicely seems a bit excessive.
0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  af (CAER)     
38538.12 In reply to 38538.11 
Lightbox used to be nice when it made one particular thing easy to do. Then it expanded to do five million things and became so complex that if you want to do any particular one of those things it's much easier to just code it by hand.

So yeah, make a better one, Caer.

0/0
 Reply   Quote More 

 From:  af (CAER)  
 To:  Drew (X3N0PH0N)     
38538.13 In reply to 38538.12 
Make me an icon for it :C

(I'm calling it QuickSlide)
0/0
 Reply   Quote More 

 From:  Matt  
 To:  af (CAER)     
38538.14 In reply to 38538.11 
Surely that's only because it's built on top of Prototype and the copy that is included has not been minified?

doohicky

0/0
 Reply   Quote More 

 From:  af (CAER)  
 To:  Matt     
38538.15 In reply to 38538.14 
That accounts for 160KB of it, yeah, but it still means you need to include Prototype, which isn't exactly that popular compared to jQuery.
0/0
 Reply   Quote More 

 From:  Matt  
 To:  af (CAER)     
38538.16 In reply to 38538.15 
I've never used Prototype, always used JQuery, I was just pointing it out. Unminified JQuery is about the same size.

doohicky

0/0
 Reply   Quote More 

 From:  steve  
 To:  ALL
38538.17 
Having this thread open, in another tab, keeps making me think Beehive has a Twitter-like feature of "(2)" new posts. :C

0/0
 Reply   Quote More 

 From:  af (CAER)  
 To:  steve     
38538.18 In reply to 38538.17 
Same :$
0/0
 Reply   Quote More 

 From:  koswix  
 To:  steve     
38538.19 In reply to 38538.17 

LLLLLLLLLLLLLL
me too :$



GIVE ME EYERON OR! :@ msg:38140.1
0/0
 Reply   Quote More 

 From:  af (CAER)  
 To:  ANT_THOMAS      
38538.20 In reply to 38538.1 
This any help?

http://caerphoto.com/quickslide/demo.html
0/0
 Reply   Quote More 

 From:  koswix  
 To:  af (CAER)     
38538.21 In reply to 38538.20 

Can you make it so the image appears on the existing page on Android , rather than adding 600odd pixels to the bottom of the page to display in?

 


Lightbox and others do the same, so I suspect not :(



GIVE ME EYERON OR! :@ msg:38140.1
0/0
 Reply   Quote More 

 From:  af (CAER)  
 To:  koswix     
38538.22 In reply to 38538.21 
Does it display the image at the bottom of the extra 6000 pixels, or does it add the space but still display the image at the top?

The latter is possibly Android scaling the image itself after telling the JavaScript how big it originally was.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  af (CAER)     
38538.23 In reply to 38538.20 

I'll give that a go tomorrow.

 

:D

0/0
 Reply   Quote More 

 From:  koswix  
 To:  af (CAER)     
38538.24 In reply to 38538.22 
displays the image in the new space, aligned with the bottom of the page.


GIVE ME EYERON OR! :@ msg:38140.1
0/0
 Reply   Quote More 

 From:  af (CAER)  
 To:  koswix     
38538.25 In reply to 38538.24 

How queer. That suggests to me an issue with the way the browser is reporting the scroll position. HMMM :(

 

I've also just found out that IE9 displays all images at the same size as whichever image you click first. This is most vexing :@ (and best of all it works just fine in IE8 :? )

0/0
 Reply   Quote More 

 From:  koswix  
 To:  af (CAER)     
38538.26 In reply to 38538.25 
Oddness :|


GIVE ME EYERON OR! :@ msg:38140.1
0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  af (CAER)     
38538.27 In reply to 38538.25 
IE is more diabolically cruel than waterboarding...

----
"Cellphones have turned people blessed with opposing thumbs and ten digits into monkeys hammering on a 2-inch touchscreen with all the speed and grace of a retarded badger molesting a tennis ball."
0/0
 Reply   Quote More 

 From:  af (CAER)  
 To:  CHYRON (DSMITHHFX)     
38538.28 In reply to 38538.27 
Heh. Turned out that assigning a new src to an existing image object doesn't update the width and height properties in IE9. Fixed it now, anyway (by creating a new image object each time).
0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  af (CAER)     
38538.29 In reply to 38538.20 
That's reet nice is that. I shall use that in future whenever I have to do such things.

Nice work.

0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  af (CAER)     
38538.30 In reply to 38538.20 
If you expand this (I presume you'll want to add fading in and out? People seem to expect that these days) .. try not to go too far and end up being what lightbox is. This should be the "I just want it to work without a lot of fucking around" option. So not too many settings and tasteful defaults.

</telling you to do stuff you probably already knew>

0/0
 Reply   Quote More 

Reply to All  
 

1–20  21–40  …  81–91

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats