Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need Help With Shadow Box Script.

Featured Replies

Hi all, I am having trouble with the Shadowbox script. This script can be found at http://mjijackson.com/shadowbox/

 

The problem is that i can not change the pictures in the slide show.

 

This is what i have done so far to the html code.

 

<li><a rel="shadowbox[MustangThumbs];options={counterType:'skip',continuous:true,animSequence:'sync'}" href="gallery/Kitchens/Classic-Kitchens.jpg"><img src="gallery/Kitchens/Classic-Kitchens.jpg" alt="Kitchens and bathrooms" width="121" height="85" /></a></li>color]

 

Did look like this

<li>

<h5><a rel="shadowbox[MustangThumbs];options={counterType:'skip',continuous:true,animSequence:'sync'}" href="gallery/mustang/red.jpg"><img src="gallery/mustang/red-thumb.jpg" alt="Red" /></a></h5>

</li>

 

Still after changing the code i can see the thumb nails that come with the script.

I'm thinking this bit here may have some thing to do with it "shadowbox[MustangThumbs" BUT i do not no how to get around this

 

Please help if you can

 

Regards,

Nutty

Don't try to re use the code in the shadowbox source, it's only going to confuse you. Instead, try using something like this:

 

<a href="images/image_large.png" rel="shadowbox"><img src="images/image_small.png" alt="" /></a>

 

Obviously replacing the image paths/names with your own. Hopefully that should shed some more light.

 

EDIT: Sorry, I just noticed you seemed to want the images displayed in a gallery format. To do that, use this.

 

<a rel="shadowbox[GalleryName];options={counterType:'skip',continuous:true,animSequence:'sync'}" href="images/yourimage_big.png"><img src="images/yourimage_small.png" alt="image"></a>

 

(also remembering to replace the image paths with your own)

 

The bit between the [ and ] is just to describe the gallery set which the image set belongs to. You can name this whatever you like. Such as 'Holiday', 'Cars' etc.

  • Author

just tried that, Works like the others i have tried. I need it to be a slideshow. How do i do that?

  • Author

Ok this i knew. The problem im facing is that the first picture shows BUT after the first one it goes and shows the set picture 3 times after.

 

Sorry to be a pain, Need this project out of the way

It'll probably be easier to post a link to the page you're trying to use this on or the full source code of the page to help us understand the problem.

 

Have you ensured you've used the code provided once for each image you want shown? ensuring you change the paths to wherever your images are located.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.