jonB-5
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Javascript to hide/show div in View loop item targeting first result only
Started by: jonB-5
in: Toolset Professional Support
Problem: Solution: |
2 | 5 | 7 years, 1 month ago | ||
Need a header placed below the fold to stick to the page top when scrolled past
Started by: jonB-5
in: Toolset Professional Support
Problem: I'm using a sticky header plugin to help "stick" the title of a post at the top of the screen once I scroll past it, but I can't get the plugin to work with Toolset. Solution: In the Toolset environment, jQuery is represented by the variable 'jQuery' instead of '$', so you must replace any instance of the '$' variable with 'jQuery' in your initialization code. Then you must calculate the correct initialization height based on the placement of the title and the menu height. See the attached screenshot below. jQuery(document).ready(function() { jQuery(window).bind('scroll', function() { // your code here using jQuery instead of $ // ... }); }); |
2 | 5 | 7 years, 2 months ago |