当前位置:网站首页>Qtip2 solves the problem of too many texts
Qtip2 solves the problem of too many texts
2022-07-03 07:22:00 【Maple Leaf pear flower】
One problem encountered in the work is that too much text leads to adaptive size input Frame deformation of , Then I want to use it Qtip2 To solve when there are many texts , Hide a part of , Then put the mouse up and show all . Here is Qtip2 Use cases and effects ( For more information, please visit Official website )
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>qTip2 Example</title>
<script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
<script src="http://cdn.jsdelivr.net/qtip2/3.0.3/jquery.qtip.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://qtip2.com/v/stable/jquery.qtip.css"/>
<script> $(function(){
$('.selector').qtip({ content: 'I have a longer fade in duration and slideUp to hide!!I have a longer fade in duration and slideUp to hide', show: { effect: function() {
$(this).fadeTo(500, 1); } }, hide: { effect: function() {
$(this).slideUp(); } } }); }); </script>
</head>
<body>
<span class="selector">content......</span>
</body>
</html>
effect

边栏推荐
- [HCAI] learning summary OSI model
- 【已解决】SQLException: Invalid value for getInt() - ‘田鹏‘
- Interview questions about producers and consumers (important)
- gstreamer ffmpeg avdec解码数据流向分析
- Some basic operations of reflection
- Docker builds MySQL: the specified path of version 5.7 cannot be mounted.
- 【最詳細】最新最全Redis面試大全(50道)
- 10 000 volumes - Guide de l'investisseur en valeur [l'éducation d'un investisseur en valeur]
- Flask Foundation
- Basic components and intermediate components
猜你喜欢
随机推荐
《指环王:力量之戒》新剧照 力量之戒铸造者亮相
Arduino Serial系列函数 有关print read 的总结
4EVERLAND:IPFS 上的 Web3 开发者中心,部署了超过 30,000 个 Dapp!
gstreamer ffmpeg avdec解码数据流向分析
Flask Foundation
PHP install the spool extension
Strategy mode
【无标题】
Pat grade a real problem 1166
【CMake】CMake链接SQLite库
Interfaces and related concepts
Common problems in io streams
你开发数据API最快多长时间?我1分钟就足够了
Advanced API (use of file class)
2. E-commerce tool cefsharp autojs MySQL Alibaba cloud react C RPA automated script, open source log
VMware virtual machine installation
php artisan
C WinForm framework
[most detailed] latest and complete redis interview book (50)
10 000 volumes - Guide de l'investisseur en valeur [l'éducation d'un investisseur en valeur]









