Portfolio Mode only displays after scroll down

Support forum dedicated to free and advanced Joomla content presentation module with various layout options and data sources support.
GK User
Wed Nov 27, 2013 7:24 pm
I have installed the quick start for Creativity and have removed the intro screens. However, the NSP default on the home page only appears if I scroll down. How can I get them to display by default when the home page loads?
User avatar
Fresh Boarder

GK User
Thu Nov 28, 2013 10:47 am
Could You please post an url to your site?
User avatar
Moderator

GK User
Fri Nov 29, 2013 4:20 pm
Yes, thank you. It's: http://www.emilyrappitt.com/
User avatar
Fresh Boarder

GK User
Thu Dec 05, 2013 5:27 pm
Cyberek wrote:Could You please post an url to your site?

I have pasted in the url above. Any ideas?

Regards,
Scott
User avatar
Fresh Boarder

GK User
Sat Dec 07, 2013 10:23 am
Yes, sorry for late response.
Please add this code:
Code: Select all
// animate on init
window.addEvent('load', function() {
    if(elementsToAnimate.length > 0) {     
        // get the necessary values and positions
        var currentPosition = window.getScroll().y;
        var windowHeight = window.getSize().y;
        // iterate throught the elements to animate
        if(elementsToAnimate.length) {
            for(var i = 0; i < elementsToAnimate.length; i++) {
                if(elementsToAnimate[i][2] < currentPosition + (windowHeight / 1.75)) {
                    // create a handle to the element
                    var element = elementsToAnimate[i][1];
                    // check the animation type
                    if(elementsToAnimate[i][0] == 'animation') {
                        gkAddClass(element, 'loaded', false);
                        // clean the array element
                        elementsToAnimate[i] = null;
                    }
                    // if there is a queue animation
                    else if(elementsToAnimate[i][0] == 'queue_anim') {
                        element.getElements('.animate_queue_element').each(function(item, j) {
                            gkAddClass(item, 'loaded', j);
                        });
                        // clean the array element
                        elementsToAnimate[i] = null;
                    }
                }
            }
            // clean the array
            elementsToAnimate = elementsToAnimate.clean();
        }
    }
});

At the end of:
templates / gk_creativity / js / gk.scripts.js
file.
User avatar
Moderator

GK User
Tue Dec 10, 2013 7:33 am
This works great...thank you very much!
User avatar
Fresh Boarder

GK User
Tue Dec 10, 2013 4:51 pm
Is there anything else I can help you with on this topic?
User avatar
Moderator

GK User
Sat Feb 15, 2014 8:57 am
Hello,

I have the same problem. In Portfolio mode, News GK Pro 5 shows articles only after clicking 'more work'. but the default area is blank.
I'm using the News template on Joomla 3.2.

Bruno
User avatar
Junior Boarder

GK User
Mon Feb 17, 2014 7:58 am
Could You please post an url to your site?
User avatar
Moderator


cron