hemsecM
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Toolset layouts and forms breaking my site and conflict with CSS Hero
Commencé par : hemsecM in: Toolset Professional Support |
2 | 8 | Il y a 6 années | ||
Scroll to ID or specific place on page when search results are updated
Commencé par : 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 | Il y a 6 années |