Highlights Module Autoanimation

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Sep 10, 2014 9:11 pm
Reply with quote
Report this post
We set the autoanimation to "ON" and this is the effect we wanted. However, the navigation bar underneath does not move with the rotating image. It displays the title for the next feature (not the displayed feature, and only moves when arrows are clicked.
Can you please advise? Thanks.
User avatar
Senior Boarder

GK User
Thu Sep 11, 2014 6:24 am
Reply with quote
Report this post
Could you please post an url to your site?
User avatar
Moderator

GK User
Thu Sep 11, 2014 10:40 pm
Reply with quote
Report this post
http://75.103.90.130/ (not in production)
User avatar
Senior Boarder

GK User
Fri Sep 12, 2014 2:01 pm
Reply with quote
Report this post
The site doesn't load (timeout) - is it live?
User avatar
Moderator

GK User
Fri Sep 12, 2014 6:57 pm
Reply with quote
Report this post
Yes it's running.
User avatar
Senior Boarder

GK User
Sun Sep 14, 2014 6:47 pm
Reply with quote
Report this post
Hi, thanks for asking this question. I thought I might need to import an external extension to accomplish the animation and i stumbled upon your question.

So I went into the Highlights module, found the animation setting, and voila, now I have the animation I was looking for.

I even found how to increase the amount of articles to put in that "carousel"!

Thanks so much!!!
User avatar
Junior Boarder

GK User
Mon Sep 15, 2014 5:28 pm
Reply with quote
Report this post
There is an error in your gk.menu.js file. The change is probably from other thread:
Code: Select all
      /*  AMCK 9/7/14 - EDITED TO EXCLUDE 13 - 33 TO FIX DOUBLE CLICK MENU PROBLEM */
         /* if(el.parent().hasClass('haschild') && jQuery(document.body).attr('data-tablet') !== null) {
                el.click(function(e) {
                    if(el.attr("dblclick") === undefined) {
                        e.preventDefault();
                        e.stopPropagation();
                        el.attr("dblclick", new Date().getTime());
                    } else {
                  if(el.parent().find('div.childcontent').eq(0).css('overflow') == 'visible') {
                     window.location = el.attr('href');
                  }
                        var now = new Date().getTime();
                        if(now - el.attr("dblclick", 0) < 500) {
                            window.location = el.attr('href');
                        } else {
                           e.preventDefault();
                           e.stopPropagation();
                           el.attr("dblclick", new Date().getTime());
                        }
                    }
                });
            }/*

But should be:
Code: Select all
      /*  AMCK 9/7/14 - EDITED TO EXCLUDE 13 - 33 TO FIX DOUBLE CLICK MENU PROBLEM */
         /* if(el.parent().hasClass('haschild') && jQuery(document.body).attr('data-tablet') !== null) {
                el.click(function(e) {
                    if(el.attr("dblclick") === undefined) {
                        e.preventDefault();
                        e.stopPropagation();
                        el.attr("dblclick", new Date().getTime());
                    } else {
                  if(el.parent().find('div.childcontent').eq(0).css('overflow') == 'visible') {
                     window.location = el.attr('href');
                  }
                        var now = new Date().getTime();
                        if(now - el.attr("dblclick", 0) < 500) {
                            window.location = el.attr('href');
                        } else {
                           e.preventDefault();
                           e.stopPropagation();
                           el.attr("dblclick", new Date().getTime());
                        }
                    }
                });
            }*/

(last line)
Please fix that first and write back if it helped.
User avatar
Moderator

GK User
Mon Sep 15, 2014 5:38 pm
Reply with quote
Report this post
Cyberek wrote:Could you please post an url to your site?


sure, it is the development site and I am still working on it, but here it is http://newdev411.cloudaccess.net/
User avatar
Junior Boarder

GK User
Mon Sep 15, 2014 8:28 pm
Reply with quote
Report this post
@rjmorrison - please post your question as a separate forum thread - it covers a little bit different topic and reading this together might be confusing for anybody trying to find here something in the future.
User avatar
Moderator

GK User
Mon Sep 15, 2014 10:33 pm
Reply with quote
Report this post
Thanks for the correction on the gk.menu.js file. I am not quite sure why this worked at all with that error in there, but it did. I am happy with the menu functionality.
But surely this has nothing to do with the question of autoration on the home page in the highlights module. The images rotate but the navigation below is static. Could the navigation rotate with the images?
Thanks.
User avatar
Senior Boarder

GK User
Tue Sep 16, 2014 5:50 pm
Reply with quote
Report this post
I apologize if my comment caused any confusion.

I was thanking northwestcatholic for asking the question because northwestcatholic's first post told me how to turn on auto-animation.

Also, I, too, have the same issue that the navigation in the Highlights module does not rotate with the images with the autoanimation feature turned on.
User avatar
Junior Boarder

GK User
Sat Sep 20, 2014 1:01 am
Reply with quote
Report this post
Do you have an answer yet to the first question I posed in this thread for the Highlights autoanimation?
We set the autoanimation to "ON" and this is the effect we wanted. However, the navigation bar underneath does not move with the rotating image. It displays the title for the next feature (not the displayed feature, and only moves when arrows are clicked.
User avatar
Senior Boarder

GK User
Mon Sep 22, 2014 10:34 am
Reply with quote
Report this post
I have posted that request to our devteam. I'll write back as soon as I'll get the answer.
User avatar
Moderator

GK User
Wed Sep 24, 2014 7:47 pm
Reply with quote
Report this post
Unfortunately I'm unable to help, because this feature wasn't prepared to work with auto-animation and there is no easy way to bind the script from the template with the script from the module (it is not a portal mode - it is an additional JS layer for the NSP module).
User avatar
Moderator


cron