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?
Try changing that line to:
As soon as i add this line i get a script error in Adobe Dreamweaver. Should i ignore it?
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.
Opened the file AVIA.JS in Adobe Dreamweaver and changed line 88 from
to Josue’s mod
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!
The topic ‘smooth scrolling’ is closed to new replies.