Portfolio does not scroll to pop up window on Chrome

Fri, 10/13/2017 - 09:33
#1
Portfolio does not scroll to pop up window on Chrome

When a user with Chrome browser clicks on an item in porfolio, then it does not scroll up and show the porfolio item window. Then the user thinks it does not work, because it looks like nothing happens. This is only on Chrome, and I suspect it is the same problem as with the menu, I just posted.

You can try it out on http://demo.megadrupal.com/d7/md-boom/#content4

I think it has worked before with older versions of Chrome.

cindy's picture
cindy
Mon, 10/16/2017 - 01:46

Hi,

1. Download 2 files:
+ https://raw.githubusercontent.com/flesler/jquery.localScroll/master/jque...
+ https://raw.githubusercontent.com/flesler/jquery.scrollTo/master/jquery....
2. Go to folder sites/all/themes/md_boom/js/onepage, remove 2 old files and update 2 new files
3. clear cache browser

Mon, 10/16/2017 - 11:53

This partially helped. When I click on Portolio in the menu, it scrolls to the portfolio part, and when I click on an item, it scrolls up to the new windows. But as soon as I scroll further down, it stops working.

Wed, 10/25/2017 - 10:01

I made a hack to make it work. Our portfolio is in content4 section, so I added this line to custom.js:

$(window).scrollTo("#content4", 1500);

This is on line 84 and then I commented out the next line with scrolling. If you place portfolio in another section, you have to adjust the target.

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.