Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #400106

    I’m using a plugin for tabs. As soon as i hit a tab it starts scrolling to top direction. If i disable line 88 in Enfold avia.js ($(‘a[href*=#]’, container).avia_smoothscroll(container);) it works but now i lost the smooth scrolling option. Is it possible to disable the smooth scrolling on certain buttons?

    #400341

    Hi Dutchman!

    Try changing that line to:

    $(‘a[href*=#]’, container).not('.wpts_li_a').avia_smoothscroll(container);
    

    Cheers!
    Josue

    #400443

    Hi Josue!
    As soon as i add this line i get a script error in Adobe Dreamweaver. Should i ignore it?

    #400766

    Yeah, did you check if it worked?

    Cheers!
    Josue

    #400972

    Hi Josue, yes it works but it disables the smooth scrolling and scroll back to top icon. I would like a combination of smooth scrolling and my tabs.
    Check this picture please : http://goo.gl/nKZHAr I would like the smooth scrolling to be active on the green selection of anchors but not on the red selection.

    #400984

    Hey!

    I’m not seeing that on the link you posted.

    Cheers!
    Josue

    #401214
    #401226

    Can you apply the mod to avia.js so i can see it live?

    Cheers!
    Josue

    #401249

    Hi Josue, i just did. The mod on line 88 in avia.js is active.

    #401673

    Opened the file AVIA.JS in Adobe Dreamweaver and changed line 88 from
    $(‘a[href*=#]’, container).avia_smoothscroll(container);
    to Josue’s mod
    $(‘a[href*=#]’, container).not(‘.wpts_li_a’).avia_smoothscroll(container);
    Adobe gives me a script error. Then i noticed the typo in the mod. $(‘a[href*=#]’ and should be $(‘a[href*=#]’. The last character. You have to look very good to notice the difference. (at least i do) Uploaded the file. Problem solved!!!
    You guys are unbelievable wizards… Thanks!

    #401734

    Great, you are welcome, glad to help :)

    Regards,
    Josue

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘smooth scrolling’ is closed to new replies.