当前位置:网站首页>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
边栏推荐
- Final, override, polymorphism, abstraction, interface
- 20220319
- Dora (discover offer request recognition) process of obtaining IP address
- Laravel frame step pit (I)
- 4279. Cartesian tree
- [Fiddler actual operation] how to use Fiddler to capture packets on Apple Mobile Phones
- Basic knowledge about SQL database
- 2021-07-18
- MySQL mistakenly deleted the root account and failed to log in
- [solved] win10 cannot find a solution to the local group policy editor
猜你喜欢
TreeMap
深度学习参数初始化(一)Xavier初始化 含代码
Introduction of buffer flow
[Fiddler problem] solve the problem about Fiddler's packet capturing. After the mobile network is configured with an agent, it cannot access the Internet
Spa single page application
High concurrency memory pool
3311. Longest arithmetic
Take you through the whole process and comprehensively understand the software accidents that belong to testing
PAT甲级真题1166
Basic components and intermediate components
随机推荐
Docker builds MySQL: the specified path of version 5.7 cannot be mounted.
How to specify the execution order for multiple global exception handling classes
Common problems in io streams
Talk about floating
Take you through the whole process and comprehensively understand the software accidents that belong to testing
Win 2008 R2 crashed at the final installation stage
Introduction of transformation flow
Wireshark software usage
Circuit, packet and message exchange
Flask Foundation
Map interface and method
Specified interval inversion in the linked list
Interfaces and related concepts
Advanced API (local simulation download file)
Custom generic structure
最全SQL与NoSQL优缺点对比
Longest common prefix and
Common analysis with criteria method
PHP install composer
Split small interface