-
AuthorPosts
-
polo974 Friend
polo974
- Join date:
- May 2015
- Posts:
- 63
- Downloads:
- 133
- Uploads:
- 4
- Thanks:
- 13
- Thanked:
- 5 times in 2 posts
May 14, 2015 at 10:53 am #206338Hi guys,
I want to have a fixed sidebar on some pages of my template. I’ve followed this :
It worked fine in every major browsers, like Chrome, Firefox or IE. My problem is in Safari because the affix function doesn’t works in this browser with pull and push classes.
You can see it there :
http://polymetis.fr/gmpca/association-gmpca
So I want to remove the .affix or the dataspy in Safary. I’ve found this :
https://github.com/twbs/bootstrap/pull/16282
I’ve added the code mentionned on the last post in a custom.js but it doesn’t work. I have this error in firebug :
TypeError: ‘null’ is not an object (evaluating ‘$(“.affix-top”).removeAttr’)
Can you help me ?
Thx,
Polo
polo974 Friendpolo974
- Join date:
- May 2015
- Posts:
- 63
- Downloads:
- 133
- Uploads:
- 4
- Thanks:
- 13
- Thanked:
- 5 times in 2 posts
May 14, 2015 at 11:22 am #570545I got it, my DOM wasn’t ready !
I’ve changed some stuff but it still doesn’t work, and I’m a very beginner with javascript… If someone better at it can have a look, maybe there is something obvious that i’m unable to see !
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 15, 2015 at 11:27 am #570680Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 15, 2015 at 11:27 am #735743Have you sorted out it? I checked on Safari browser and saw it’s working fine
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 2 voices, and was last updated by Ninja Lead 9 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Fixed sidebar and Safari
Viewing 4 posts - 1 through 4 (of 4 total)