Latests Plugins
prettyLoader is a small (less than 4kb uncompressed) jQuery plugin that aim at making your life easier regarding ajax loader display. You know, when you do an ajax call and you never quite know where to position your loader. prettyLoader takes care of that for you, by default, prettyLoader will “hook” to the jQuery ajax function [...]
Read more »
prettySociable is a jQuery plugin that tries to make sharing fun while being easy to use. It was inspired by the sharing on mashable.com. While ShareThis and AddThis provides a very useful piece code that allow users to share basically anything everywhere, their solution is not the prettiest nor the easiest to use. prettySociable simply [...]
Read more »
prettyPhoto is a jQuery based lightbox clone. Not only does it support images, it also add support for videos, flash, YouTube, iFrames. It’s a full blown media lightbox. The setup is easy and quick, plus the script is compatible in every major browser. It comes with useful APIs so prettyPhoto can be launched from nearly [...]
Read more »
Hi Stéphane,
First of all thanks for your wonderful script!
I would like to ask you what’s the right code to launch prettyPhoto from a flash file (.swf)? I’ve been searching on google and your forums but I couldn’t find an answer for that and I really need it!
Thanks in advance.
Cesar.
@Cesar: Check out the api in the project page. http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone/
Thanks!
Hi Stephane,
Thank you for the wonderful script. I am planning to add it to my site and had a question.
How can i have the slideshow auto play/stop in the lightbox mode. I see the next and previous button but how an autoplay button?
Hello Stephane,
Nice work. I’m using your script on my page, but it causes the ie7 to crash. Here is an example http://demo.just-another-blog.org/iecrash.html.
sorry, here is the real link http://demo.just-another-blog.org/iecrash.html
Hi there,
It is indeed crashing. Can you remove any scripts other than prettyPhoto to see if it’s really it causing the crash?
I have removed all other scripts, but the ie7 is still crashing.
When i remove the doctype the ie7 works correct, with all other doctypes the ie crashes. http://demo.just-another-blog.org/iecrash2.html
Can you try to put a strict or transitional doctype?
Transitional
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Strict
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1 DTD/xhtml1-strict.dtd">
In both cases comes to a crash.
http://demo.just-another-blog.org/iecrash3.html
http://demo.just-another-blog.org/iecrash4.html
Hey Stephane, great to see you’re still working on these, and you’ve got new ones too
Just wondering if you’re considering added an auto-size for iframed content within prettyPhoto. I just wrote myself a little iframe/lightbox script to load dialogs in, and trying to set up automatic sizing based on the iframe content’s height and width. Works great in Firefox, not so much in IE!
I just popped in to see whether prettyPhoto had this functionality already to try and help me out
Cheers buddy.
Hey Stephane,
Nice script you got, to bad i must confirm the bug in IE7. It doesn’t matter which Doctype I use, transitional or strict the browser keeps crashing. Only if I remove the Doctype completely IE7 works… (Look here for crashing Version http://www.flyweb.at/about)
Great code! Thanks for sharing it!
Quick question for you – I’m using the code to display a bunch of things on http://www.theultimatexmasgift.com/.
One of them is a “Request A Catalogue” feature where you have OneShoppingCart opt-in code show up (about half way down the page on the right side where the elf is holding a catalogue with “click here”).
What I’m trying to do is have the “Thank You Page” open in a new window (which works) but I need the box to close when they click “Send Me A Catalogue”.
I’ve tried the following and none work:
onclick=”returnValue=true;prettyPhoto.close();”
onclick=”returnValue=false;prettyPhoto.close();”
onclick=”returnValue=true;window.close();”
onclick=”returnValue=false;window.close();”
Any idea how to do this?
Thanks!
Scott
Great Code, but is there now a solution for the IE7 chrash?!?
@Oguzhan: If you take a look at: http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone/
You’ll see it’s working in IE7 thanks.
Maybe this solves the IE-crash:
In my case, I’ve compressed the prettyPhoto.js on my own with a free online compressor like http://javascriptcompressor.com/. But this didn’t really work. IE (v 7 and 9) crashed everytime I wanted to scroll down (if the site was scrollable).
I now using the official compressed js-file.
Hope this helps someone.
prettyGallery – Error on IE6, IE7 and IE8
For those who are getting it to work on FF and Chrome but not on IE: if you don’t define the width and height of your thumbnail IE won’t display them. Once I set them it started working in IE too.
Hopefully this helps some of you.
-JS