Coming 1.9.7 WP_w3all RSS feeds shortcode, iframe v4

User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Coming 1.9.7 WP_w3all RSS feeds shortcode, iframe v4

Post by axew3 »

the scroll code has been improved using jQuery for advanced and easier 'all browsers compatible' code.
https://www.axew3.com/w3/2019/03/smooth ... iframe-v3/
User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Coming 1.9.7 WP_w3all RSS feeds shortcode, iframe v4

Post by axew3 »

and at date of this post definitively fixed wrapping with document.ready in this way:

Code: Select all

jQuery( document ).ready(function() {
jQuery('html, body').animate({
    scrollTop: jQuery('.site-content').offset().top
 }, 300);
});
check how to here:
https://www.axew3.com/w3/2019/03/smooth ... iframe-v3/

well yes, it is the same above
User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Coming 1.9.7 WP_w3all RSS feeds shortcode, iframe v4

Post by axew3 »

Locked