Info Script Jquery

Posted in: Newsmag
Post count: 137

Hello i added following code
<script type="text/javascript">
jQuery(document).ready(function($){
$(function(){
$("<div id='conCustom'>Condividi <i class='td-icon-facebook'></i></div>").insertBefore("#customCount2 .a2a_s_facebook");
//$("#customCount2 .a2a_counter").before("Condividi");

$("#btnCommenta").click(function() {
$('html, body').animate({
scrollTop: $("#disqus_thread").offset().top
}, 2000);
});
});
});
</script>

in order to display social share plugin icon here https://ibb.co/xMMnXCf

My issue is that code is rendered only after i refresh page 2/3 times..

Is this issue under support?
Regards

Post count: 20688

Hi,

For me it seems to load the first time I access a post page from your website, no need to refresh the page https://prnt.sc/uba9tn By the time I scroll down to the button it is there, it seems to load with a small delay, but it is loaded. I checked about 10 posts, it is the same in all of them at the moment, the button seems to load from the start, no need to refresh the page.

Thank you!

Post count: 137

Yeah sorry for disturb i made a code and fixed by myself =)

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newsmag’ is closed to new topics and replies.