hemsecM
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 |
---|---|---|---|---|---|
Toolset layouts and forms breaking my site and conflict with CSS Hero
Started by: hemsecM in: Toolset Professional Support |
2 | 8 | 6 years ago | ||
Scroll to ID or specific place on page when search results are updated
Started by: hemsecM
in: Toolset Professional Support
Problem: I would like to scroll to a specific place on the page when a page is loaded, but only if coming from a search form on another page. If loading the page directly, I do not want to scroll. Solution: You can use JavaScript to test for a specific URL parameter on document ready, and then animate the scrolltop attribute. jQuery(document).ready(function(){ if( window.location.href.indexOf('wpv_filter_submit') > -1) { jQuery('html, body').animate({ scrollTop: jQuery("#product-select").offset().top }, 'slow'); } }); Relevant Documentation: |
2 | 6 | 6 years ago |