hemsecM
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
This user has no favorite topics.
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
Toolset layouts and forms breaking my site and conflict with CSS Hero
Gestartet von: hemsecM in: Toolset Professional Support |
2 | 8 | vor 5 Jahren, 10 Monaten | ||
Scroll to ID or specific place on page when search results are updated
Gestartet von: 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 | vor 5 Jahren, 11 Monaten |