jQuery floating share button code on the right side
The jQuery floating share button code on the right side is a return to top button, WeChat QR code and Weibo share button.
$(document).ready(function(){
$(window).scroll(function() {
if ($(window).scrollTop() > 300) {
$('#jump li:eq(0)').fadeIn(800);
} else {
$('#jump li:eq(0)').fadeOut(800);
}
});
$("#top").click(function() {
$('body,html').animate({
scrollTop: 0
},
1000);
return false;
});
});
All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn
Related Article
16 May 2016
This article mainly introduces the js implementation of the simple QQ online customer service code floating on the right side of the web page. It controls the display and hiding effects of customer service pictures through simple custom functions. It is of great practical value. Friends in need can refer to it.
16 May 2016
Because there is such a need in the project, I also checked some things on the Internet. I wanted to find something almost similar to apply. Later, I found that there was no suitable one, so I wrote a simple one myself due to time constraints. The sample code is as follows. It is compatible with Firefox and IE7.
16 May 2016
This article mainly introduces the jQuery implementation of the dark QQ customer service effect code that can be displayed on the right side and can be swiped to the left. It involves the implementation skills of jQuery controlling the dynamic transformation of page element styles. It has certain reference value. Friends in need can refer to it.
16 May 2016
A very practical QQ online customer service code. Click the QQ icon to directly talk to customer service. The details are as follows. Friends who are interested can refer to it. I hope it will be helpful to you.
26 Apr 2023
In front-end development, we often need to use jQuery to handle some interactive effects and animation effects, such as animation effects when the mouse is hovering, animation effects when the page is loading, etc. But sometimes we need to set a delay time so that these effects can be better expressed. So, how does jQuery set a delay? This article will introduce this issue in detail. 1. Delay method in jQuery In jQuery, delay effect can be easily achieved by using the delay() method. The delay() method can be used
16 May 2016
jQuery UI CSS Framework is a style framework in jQuery UI. You can use jQuery Theme roller to generate the css style effects you want. We can use some frameworks of jQuery UI to develop plug-ins based on jQuery UI CSS Framework effects.
16 May 2016
animate() is a method in jquery that can be used to create animation effects. The animate() method in jquery adds good visual effects to that page.
23 May 2023
With the popularity of the Internet, the application of typing effects is becoming more and more widespread, and jquery typing effects have become the first choice of many website developers. However, in the process of realizing this special effect, detailed issues often affect the user experience, such as the problem of deletion of typing special effects. This article will introduce how to use jquery typing effects to stop deletion and improve the user's browsing experience. The implementation of jquery typing effects can use ready-made plug-ins, such as typed.js and jQuery.Typewriter. These plug-ins are based on jquery
16 May 2016
This article collects three different types of jquery timeline effects for everyone, involving jquer related knowledge. Friends who are interested in jquery timeline effects can refer to this article.
Hot Tools
jQuery2019 Valentine's Day Confession Fireworks Animation Special Effects
A very popular jQuery Valentine's Day confession fireworks animation special effect on Douyin, suitable for programmers and technical geeks to express their love to the girl they love. No matter you choose to be willing or not, you have to agree in the end.
layui responsive animated login interface template
layui responsive animated login interface template
520 Valentine's Day confession web animation special effects
jQuery Valentine's Day Confession Animation, 520 Confession Background Animation
Cool system login page
Cool system login page
HTML5 tape music player-CASSETTE PLAYER
HTML5 tape music player-CASSETTE PLAYER