Litebox 1.0 Released
Javascript July 3rd. 2006, 7:36pmI know… this seems silly because I released 1.0a today… but I honestly didn’t think I’d get this done today.
1.0a links are down for a short while. I want to clean up the script a bit.
litebox 1.0 get it while it’s hot!



















July 5th, 2006 at 12:07 am
omg, you’ve did it before me

i already converted all my effects on my blog to moo.fx, and was thinking bout converting the fx on lightbox to moo.fx, but you’ve done it !
GREAT JOB !
and you’ve been dugged you know
congratz…
http://digg.com/design/Litebox_-_Same_great_taste,_less_calories_(1_4_the_size_of_Lightbox)
and i guess you should read the comments on digg.com
just for a reference on further improvement !
i’m gonna blog this soon ^^
GREAT man !
July 5th, 2006 at 12:08 am
ah… and um.. you dugged yourself
nice promotion 
July 5th, 2006 at 9:18 am
is it just me or does the demo gets rid of the first word of the image captions of the first two images?
“Beautiful Horses” becomes “Horses”, “Beautiful Sprout” becomes “Sprouts”. Only “Sup Dog?” stays the same.
July 5th, 2006 at 11:29 am
Excellent, detrate! I have been using Lightbox in my website, but I find that there are some js issue with it. The code needs some cleaning up, and I feel your code might have come to be useful. There is also Thickbox, but they are too heavy for just some image applications. I’ll go and try out Litebox here and give some comments later. Cheers, mate!
July 5th, 2006 at 8:59 pm
Litebox is wonderful. I deployed this version of Lightbox today on my website http://ww2db.com and it’s wonderful. I still have some cleaning up to do to make things neater, but it’s already looking great. Thanks!
July 6th, 2006 at 2:34 pm
Tyler -
You and your partner in crime on Litebox have my thanks!! This is exactly what I wanted for my new site to display picture sets from concerts/shows that I and my daughter shoot. Setting up Coppermine just seemed like such a hassle — I was always “close” to done and never able to get stuff out there for people to SEE!
thankuthankuthanku….
dennis
July 15th, 2006 at 11:07 pm
Implementing Litebox…
Litebox is a neat set of scripts used to allow images to load and overlay the current window, which is useful for loading the original images of thumbnails. It’s based off of Lightbox (note “Light” vs. “Lite”), but uses a…
August 1st, 2006 at 10:54 pm
what happened to nightbox? i just thought it looks better than litebox. plus, it’s more user-friendly, i think..
August 2nd, 2006 at 11:59 am
LiteBox is a great idea in theory but unfortunately it haemorrhage’s a lot of memory when used in Internet Explorer. If you open the demo page - http://doknowevil.net/litebox/ - in IE6 and then open Windows Task Manager and monitor memory you will see that each time you reload the page it leaks around 2MB of memory. I noticed this when developing a page using LiteBox and found IE using over 350MB of RAM!
I’m not sure which of the javascript libraries is responsible for this. However, memory leaks using javascript and IE are well documented:
http://jibbering.com/faq/faq_notes/closures.html#clMem
http://www.codeproject.com/jscript/leakpatterns.asp
http://www.quirksmode.org/blog/archives/2005/02/javascript_memo.html
Hope those help you fix what is otherwise a very good idea!
August 14th, 2006 at 6:38 pm
Hey Tyler. I just stumbled across Litebox today, and I’m very interested. I’ve been thinking of using LightBox 2.0, but I like the idea of your streamlined version. My #1 concern is cross-browser and cross-platform compatibility. Are there any compatibility issues that you’re aware of? Any quirks in behavior from one browser/platform to another? Thanks in advance for your help! -JOSH
September 4th, 2006 at 9:50 pm
hi, i was wondering: is it possible to use this with other scripts that use body onload=’…’? i tried it with the addLoadEvent function but it doesn’t seem to be working. any suggestions?
i’d really like to use this version because it is a lot smaller.
September 13th, 2006 at 9:14 pm
Just had to say thanks. I love this script. Great job making it tight and clean.
September 17th, 2006 at 6:50 pm
Out of curiosity what happend to nightbox with the navigation on the sides?
September 20th, 2006 at 5:47 pm
hello, this is marco from italy.
i have got a problem, so i though to ask you if you could help me.
in my web site i tried to use your plugin Litebox with CMotion Image Gallery javascript (you can find it here: http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm), but together they don’t work.
unluckly, i don’t know javascript language, so i really don’t know what to do…could you help me? how can i make them work together?
thanks anyway
marco from italy
September 20th, 2006 at 5:48 pm
another thing: CMotion Image Gallery works with LightBox v.2, but it doesn’t work with LiteBox…could you help me?
regards
marco from italy
September 27th, 2006 at 8:10 pm
No comments on this? Wow.
I just wanted to know if you had plans to port Litebox to mootools…. Please
November 25th, 2006 at 5:26 am
Very nice! Biggest pro: great performance compared to Lightbox on this terrible slow PC I’m using at this location.
Big question for me now: how can I include HTML (links to external websites) in the picture “window” that opens?
And: any future plans to maintain this?
Thanks anyway, keep up the good work!
January 15th, 2007 at 9:44 pm
The removeDuplicates method is broken. It only removes dups if they were adjacent. Here is a fix.
Array.prototype.removeDuplicates = function () { for(i = 0; i < this.length; i++){ for(j = i+1; j < this.length; j++){ if(this[i][0] == this[j][0]){ this.splice(j--,1); } } } }