Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6959897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:19:59+00:00 2026-05-27T15:19:59+00:00

I’m new to this forum and I have a sticky problem with the website

  • 0

I’m new to this forum and I have a sticky problem with the website that I’m building for my client. I am having trouble with my MooTools Slideshow. I have a page with 4 Spry tabs and 3 of them have slideshows. I’ve set up the page for multiple slideshows, but only the first tab works correctly. These are 2 issues I’m having:

  1. The thumbnails work properly for the first tab, but for the other tabs they seem to stack upon one another and flutter when you mouseover.

  2. When you switch to a different tab, you get a smaller photo artifact for a couple of seconds in the right corner of the slideshow screen (I have a feeling this will go away when #1 is resolved).

I was given this help from another forum:
The issue is probably that slideshow can’t calculate dimensions properly when it is hidden. It’s really a general issue with javascript/DOM-manipulation: when an element is set as display:none – like the hidden tabs – nodes inside of them have no height/width. The workaround would be to initialize each slideshow once the tab is visible.

Being a js implementer and not a coder, I don’t really know how to accomplish this or even if it will work. How would I initialize each slideshow on tab visibility?

Here is where the website can be viewed:
http://www.interimdesigngroup.com/threesprings/area.shtml

Any help would be appreciated!

Thanks, Nektar 72

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:20:00+00:00Added an answer on May 27, 2026 at 3:20 pm

    Replace slideshow initialization for all three tabs with the following:

    <script>
        var activeSlideShow = false;
        var activateSlideShow = function(el) {
            if(activeSlideShow) {
                activeSlideShow.destroy();
            }
            switch(el.getProperty('tabindex')){
                case '0':
                    activeSlideShow = new Slideshow('balch',
                        {
                            '1.jpg': { caption: '' },
                            '2.jpg': { caption: '' },
                            '3.jpg': { caption: '' }, 
                            '4.jpg': { caption: '' }, 
                            '5.jpg': { caption: '' }, 
                            '6.jpg': { caption: '' }, 
                            '7.jpg': { caption: '' }, 
                            '8.jpg': { caption: '' }, 
                            '9.jpg': { caption: '' }, 
                            '10.jpg': { caption: '' }, 
                            '11.jpg': { caption: '' }
                        }, 
                        {
                            captions: { delay: 1000 },
                            delay: 3000,
                            height: 467,
                            hu: 'images/balch/',
                            width: 350
                        }
                    );
                break;
                case '3':
                    activeSlideShow = new Slideshow('poi', 
                        {
                            '1.jpg': { caption: 'Blue Ridge' }, 
                            '2.jpg': { caption: 'Blue Ridge' }, 
                            '3.jpg': { caption: 'Blue Ridge' }, 
                            '4.jpg': { caption: 'Blue Ridge' }, 
                            '5.jpg': { caption: 'Blue Ridge' }, 
                            '6.jpg': { caption: 'Blue Ridge' }, 
                            '7.jpg': { caption: 'Grouse Valley' }, 
                            '8.jpg': { caption: 'Grouse Valley' },
                            '9.jpg': { caption: 'Grouse Lake' },
                            '10.jpg': { caption: 'Wildflowers in Yokohl Valley' }, 
                            '11.jpg': { caption: 'Wildflowers in Yokohl Valley' }, 
                            '12.jpg': { caption: 'Wildflowers in Yokohl Valley' }, 
                            '13.jpg': { caption: 'Wildflowers in Yokohl Valley' }, 
                            '14.jpg': { caption: 'Tule River' }, 
                            '15.jpg': { caption: 'Tule River' }, 
                            '16.jpg': { caption: 'Tule River' }, 
                            '17.jpg': { caption: 'Tule River' }, 
                            '18.jpg': { caption: 'Tule River' }, 
                            '19.jpg': { caption: 'Tule River' }, 
                            '20.jpg': { caption: 'Tule River' }, 
                            '21.jpg': { caption: 'Tule River' }, 
                            '22.jpg': { caption: 'Tule River' }, 
                            '23.jpg': { caption: 'Dome Rock' }
                        },
                        {
                            captions: { delay: 1000 },
                            delay: 3000, 
                            height: 300, 
                            hu: 'images/poi/', 
                            width: 400 
                        }
                    );
                break;
                case '1':
                default:
                    activeSlideShow = new Slideshow('springville',
                        {
                            '1.jpg': { caption: '' }, 
                            '2.jpg': { caption: '' }, 
                            '3.jpg': { caption: '' }, 
                            '4.jpg': { caption: '' }, 
                            '5.jpg': { caption: '' }, 
                            '6.jpg': { caption: '' }, 
                            '7.jpg': { caption: '' }, 
                            '8.jpg': { caption: '' }, 
                            '9.jpg': { caption: '' }, 
                            '10.jpg': { caption: '' }, 
                            '11.jpg': { caption: '' }, 
                            '12.jpg': { caption: '' }, 
                            '13.jpg': { caption: '' }
                        }, 
                        { 
                            captions: { delay: 1000 }, 
                            delay: 3000, 
                            height: 300, 
                            hu: 'images/springville/', 
                            width: 400 
                        }
                    );
                break;
            }
        }
        window.addEvent('domready', function(){
            var tabs = $$('#TabbedPanels1 ul li');
            tabs.addEvent('click', function(e){
                activateSlideShow(this);
            });
            activateSlideShow(tabs[0]);
        });
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have a French site that I want to parse, but am running into
This could be a duplicate question, but I have no idea what search terms
We're building an app, our first using Rails 3, and we're having to build
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I know there's a lot of other questions out there that deal with this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.