Clicky

Morphing Lightbox
My Image

All the latest RapidWeaver Stacks reviewed,
plus the most important community news …

Stay up to date with current RapidWeaver developments

Morphing Lightbox

A few days ago Eric Boo, the man behind CosCulture, released Morphing Lightbox [ML]. ML is a new name for a new type of RapidWeaver lightbox – one that morphs to cover the whole page when it opens and accepts endless amounts of different content.

I was just working on a new webpage and wondering which lightbox I could use to do exactly what my client wants, when Eric's product announcement flattered into my inbox. Just the right stack at just the right time!
My client wanted to open a new page when an image was clicked. As the client's page is a single page website, I thought that a lightbox would be a better solution than a new page, but none of the lightboxes I tried did exactly what I envisaged.
ML does!

Morphing Lightbox is a the ideal RapidWeaver lightbox if you need to add more than an image and a couple of lines of text. You can add a whole page of information to it. The test that I made contains multiple videos, multiple full page images and multi column texts. If you click the text, button, or image that triggers ML, the lightbox will zoom, or slide in to cover the whole page. ML's content can then be scrolled so that the whole content is visible. Videos cease to play when the lightbox is closed. And – my test page contains 14 (in words fourteen) of these lightboxes.

Morphing Lightbox

Stack settings.

There aren't very many settings. You'll need to set an ID for ML, especially if you need more than one instance per page. Linking to the lightbox is child's play, just add # as the URL and set an ID that duplicates the name of the lightbox.
The z-Index is set to 99999 by default, so ML will always float above your main content.
Background Colour – as to be expected with RW7 and Stacks3, the background colour may also be transparent.
Effect – there are five different 'morph' settings for ML including slide ins and fade.
Custom Button – The default close button is a rather imposing 'X', which for my personal taste is much too large. However, you have the option of linking to an image of your choice.
That's it! What more do you need?

Now, you might be asking yourself – with fourteen lightboxes, jammed full of images and text, how I intended to solve the bandwidth problem for mobile devices?
I decided to test Joe's Agent stack to hide 60% of the boxes on mobile. And immediately hit a problem. The thumbnail triggers showed up as expected, but didn't trigger ML.
I approached Eric with the problem and what shall I say? Tip top support! Within a couple of hours, Eric had added a couple of lines of HTML to ML to call the javascript triggers, even though the lightboxes were inside separate containers. ML now harmonises perfectly with Agent too.

Check out the ML product page – you're going to like this one!

Update: Eric has now added animation timing to ML – Open (seconds) and Close (seconds). It is recommended that the 'Close' should remain relatively short.

blog comments powered by Disqus

Links to the developers ® All trademarks cited on this page are the property of their respective owners.

Subscribe to Ninja News
or ask a question

Hi, I’m the Ninja Bot. What’s your name?
image/svg+xml
Nice to meet you, [1-1]. Could you tell me your mail address?
image/svg+xml
[1-1], would you like to subscribe to the monthly Ninja Newsletter?

Yes, I would like to receive your monthly newsletter.

No thanks, I’m good for now. I have a different issue.

image/svg+xml
Thanks for your support, [1-1]. Is there anything else I can do for you?
image/svg+xml

[1-1], thanks for subscribing. If you made a further request, I’ll get back to you – typically within 24 hrs.

image/svg+xml
Name: [1-1] [1-2]
Email; [2]

Contacted you via the Siphon form at Ninja News.

I would like to subscribe to the Ninja Newsletter

Message

[4]
I’m sorry tohear that, [1-1]. How may I help you then today?
image/svg+xml

[1-1], thanks for contacting me. I’ll review your mail, and get back to you – typically within 24 hrs.

image/svg+xml
Name: [1-1] [1-2]
Email; [2]

Contacted you via the Siphon form at Ninja News.

I don’t want to subscribe to the Ninja Newsletter right now.

Message

[6]

Thanks again for contacting us. Your request was successfully submitted.

Contact Information

rjh logo

rjh web design

265 Moo 2
Mae Na Toeng Nai, Pai
Mae Hong Son
Thailand 58130

About Us

We design websites and print-products for small businesses at reasonable prices. We specialise in Responsive Web Design.

Legal

This site uses Cookies to determine the best method of display in combination with your browser.
We do not harvest or sell personal information.
© rjh web design 2010—17

Powered by rjh-design

This website was built with loving care on a Mac using Foundation. For more information, contact me.

Don’t miss a post!

Sign up for our monthly newsletter.

A monthly digest of all the latest updates from our RapidWeaver blog, keeping you up to date with the hottest new stacks and themes.

View previous campaigns.

Subscribe to the Ninja Newsletter

* indicates required