![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Html.Jquery
小曼啊~
这个作者很懒,什么都没留下…
展开
-
HTML实现鼠标移动放大大图
$(function(){ var x = 10; var y = 20; $("a.tooltip").mouseover(function (e) { //创建一个div将大图放入 var tooltip = "<div id='tooltip'><img width='300px' src='" + this.href + "' alt='产品预览图'/></div>"; //创建 div 元素原创 2020-12-31 22:01:07 · 1595 阅读 · 0 评论 -
HTML实现评论功能
<h3>留言版信息</h3> <ol id="olid"> <li id="tr1">昵称为“安妮”的用户说了“那个……你看见过我的小熊吗?”</li> </ol> <br /> 昵称:<input id="txtName" type="text" name="name" value="" /> <br /> 评论:<textarea id="txtCom"></t.原创 2020-12-31 21:56:27 · 4498 阅读 · 1 评论 -
Html中点击按钮图片动态移动
Body页面<button type="button" id="btn1">按钮</button> <button type="button" id="btn2">向左移动</button> <div style="width: 100px; height: 100px; background-color: orange; position: absolute; left: 0px;"id="box1"></div>方法原创 2020-12-26 20:11:33 · 2591 阅读 · 1 评论