MySlimbox

myslimboxI already posted a Lightbox variation in one of my previous posts, but I got some feedback that the layout wasn't perfect on IE 5 and 6. I found Slimbox, a clone of Lightbox using Mootools, I think it's better because it is a lot lighter and the animations are smoother. My variation of the Slimbox (checkout the demo), has a lighter overlay, and the navigation buttons are always visible at the bottom of the image with the caption centred between them. The close button is in the top right hand corner, which is more similar to how a interface window behaves. This is only a small variation of already brilliant code originally made by Lokesh Dakar, and then modified by Cristophe Beyls to work with Mootools. You can use my version for free in any of your projects.

 

Downloads

  • fritzd on Wed, 09/26/2007 - 02:45

    ...make the text itself left justified (like the traditional Slimbox) as well as have the big "X" visible only on mouseover?

    Great script! Just curious are there any way to make changes...

  • Nicolas on Wed, 09/26/2007 - 23:42

    go to the slimbox.css file in the styles folder:

    move the arrows:
    go to the #lbPrevLink selector and change

    left: 0;
    for
    left: 100px;

    text left justified:
    go to the #lbCaption, #lbNumber selector and remove this line

    text-align:center;

    having the x visible on mouseover only:
    go to the #lbCloseLink selector and remove this line

    background: #fff url(close.gif) no-repeat center;

  • ccbread on Mon, 10/08/2007 - 20:53

    hey,
    slimbox looks fantastic, and very close to what i'm looking for. i wonder if you've considered some functionality to make it an autoplay slideshow?

    or maybe you know of another module that would do something similar. what i'm hoping to find (i'm not good enough to create it myself) is something that will take any image gallery and give the user the option to view the images as a slideshow, and still display the title/description info the way slimbox does.

    thanks!
    colin

  • Nicolas on Tue, 10/09/2007 - 19:08

    Ive been working on improving MySlimbox, when I have more time I'm gonna preload the hover images in the JavaScript, and your idea sounds really good. I'll work on having a feature similar to what you mention. I don't know if you are familiar with TripTracker (http://slideshow.triptracker.net/), but it's a fantastic slideshow script.

    When you mention module, are you using a CMS? I have been exchanging e-mails with the developer of the Lightbox module for Drupal. Her name is Stella and she really liked MySlimbox, so now there is an option in this module to have a layout that is very similar to MySlimbox. Here is the adress of the module for anyone using Drupal: http://drupal.org/project/lightbox2

  • Nick (not verified) on Mon, 12/03/2007 - 02:19

    Hello Nicolas,

    I have been looking through the slimbox forums and found the link to this page.

    I really like your MySlimbox - very very nice - and I love the roller blading pics in your demo - they are sweet.

    I would like to use it in a site (where space is at a premium) with Slimbox working in an "inline" manner - with the thumbnails located in an iframe. When a thumbnail is clicked, the full size images / overlay opens within the iframe rather than over the whole page so it looks like its just opening in a div. I have got this working with the original Slimbox really nicely.

    I need a couple of mods due to the space constraints as there is no room for #lbBottom with the close button etc under the photos (I have more width than height to play with):

    1. click the full size photo to close (with no close button) (as well as on clicking overlay to close).

    2. move the next and previous hover function from #lbBottom area to the very left and the very right of the photo and permanently display as relavent (rather than below the photo in the #lbBottom area) - (eg previous button to 30px left of the photo and show whenever a previous image exists and next button to 30px right of the photo and show whenever a next image exists).

    Any code snippets / suggestions would be greatly appreciated as I am a css designer not a js coder.

    Thank you in advance Nicolas.

  • Christophe Beyls (not verified) on Tue, 05/13/2008 - 16:03

    Nice plugin :)

    However, please note that I did not use Lokesh's code. I re-created the code from scratch (even the CSS is very different). Only the visual appearance is the same.

    Stay tuned for the new versions of Slimbox that are coming soon.

  • Anonymous (not verified) on Tue, 05/27/2008 - 10:22

    It can't cover the entire window or document shown.

  • triplehhh93 on Mon, 03/22/2010 - 11:30

    Hurricane Lane was the strongest Pacific hurricane to make landfall in Mexico since Hurricane Kenna of 2002. The thirteenth named storm, E20-611 ninth hurricane, and sixth major hurricane of the 2006 Pacific hurricane season, Lane developed on September 13 from a tropical wave to the south of Mexico. It moved northwestward, parallel to the coast of Mexico, and steadily intensified in an area conducive to further strengthening. HP0-D04 After turning to the northeast, Lane attained peak winds of 125 mph (205 km/h), and made landfall in the state of Sinaloa at peak strength. It rapidly weakened and dissipated on September 17, and later brought precipitation to southern part of the U.S. state of Texas

    Throughout its path, Lane resulted in four deaths and moderate damage. Damage was heaviest in Sinaloa, where the hurricane made landfall,HP0-J15 including reports of severe crop damage. Across Mexico, an estimated 4,320 homes were affected by the hurricane, with about 248,000 people affected. Moderate flooding was reported in Acapulco, resulting in mudslides in some areas. Damage across the country totaled $2.2 billion HP0-J33 (2006 MXN), or $206 million (2006 USD, or $218 million in 2010 USD).

  • Susancai on Fri, 05/14/2010 - 02:53

    It's really better. Like to use it. steam shower

  • Post new comment

    The content of this field is kept private and will not be shown publicly.
    • Web page addresses and e-mail addresses turn into links automatically.
    • Allowed HTML tags: <div><a><img><p><br><h2><h3><em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
    • Lines and paragraphs break automatically.

    More information about formatting options