Tagged: smooth scrolling, tabs
-
AuthorPosts
-
February 21, 2015 at 6:48 pm #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?
February 23, 2015 at 2:01 am #400341Hi Dutchman!
Try changing that line to:
$(‘a[href*=#]’, container).not('.wpts_li_a').avia_smoothscroll(container);Cheers!
JosueFebruary 23, 2015 at 8:57 am #400443Hi Josue!
As soon as i add this line i get a script error in Adobe Dreamweaver. Should i ignore it?February 23, 2015 at 4:49 pm #400766Yeah, did you check if it worked?
Cheers!
JosueFebruary 23, 2015 at 8:11 pm #400972Hi 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.February 23, 2015 at 8:54 pm #400984Hey!
I’m not seeing that on the link you posted.
Cheers!
JosueFebruary 24, 2015 at 8:46 am #401214February 24, 2015 at 9:33 am #401226February 24, 2015 at 10:19 am #401249Hi Josue, i just did. The mod on line 88 in avia.js is active.
February 24, 2015 at 8:11 pm #401673Opened 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!February 24, 2015 at 10:13 pm #401734Great, you are welcome, glad to help :)
Regards,
Josue -
AuthorPosts
- The topic ‘smooth scrolling’ is closed to new replies.
