0

Here I have a challenge. When I am logged in in my Drupal site: NO PROBLEM WITH SCROLLING THE PAGES When I am lopgged out: I can't scrolll the page as normal. This problem only occurs with Google Chrome, other pages is no problem. When I clear all cache, log out, then the first time I can scroll the page without problems. Visit the site again, the scrolling problem is there again.

Any suggestions?

The website: www.vankesselnatuursteen.nl

Ps. With Chrome I have no problem at all at other Drupal sites

Further information. I moved the site to another domain on my server. There where some problems and a changed some chmod rights of some folders and files.

THANKS IN ADVANCE FOR HELPING

1 Answer 1

1

There is an error on the page if you scroll before the page is fully loaded:

Uncaught ReferenceError: init is not defined

line 95 of smoothscroll.js.

update
Looks like a bug to me try changing:

function ssc_wheel(e) {
    if (!ssc_initdone) {
      init();
    }

to:

function ssc_wheel(e) {
    if (!ssc_initdone) {
      ssc_init();
    }
11
  • Thanks for that...Any idea how to solve this? Commented Mar 14, 2015 at 21:43
  • I replaced the smoothscroll.js with the origonal of the theme. No results, some other site of the same theme are scrolling well. I must have messed up something with transferring to other domain...but what is it? Commented Mar 14, 2015 at 22:30
  • smoothscroll is calling the init function before the init function is loaded. Make sure whatever contains the init function is loaded before smoothscroll, though I could not find an init function. I updated my answer.
    – 2pha
    Commented Mar 15, 2015 at 4:14
  • Thanks so far...The changed code you suggest is the same is the original above? Commented Mar 15, 2015 at 8:56
  • ? no, changed code calls ssc_init() instead of init()
    – 2pha
    Commented Mar 15, 2015 at 9:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.