
jquery
j_xx4409
这个作者很懒,什么都没留下…
展开
-
使用 google 网页多语言切换
<!doctype html><html lang="zh-CN"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta h.转载 2020-10-13 11:33:23 · 1315 阅读 · 0 评论 -
pdf实现在线预览
1.直接pdf打开<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=4.0,user-scalab...原创 2019-11-15 09:43:34 · 584 阅读 · 0 评论 -
使用jquery.form插件的方法
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title></head><body> <form en原创 2018-11-14 23:36:38 · 888 阅读 · 0 评论 -
js投票活动的倒计时功能
<!-- 活动倒计时 --><div class="count-backwards flex column item-center"> <h3>活动结束倒计时</h3> <p><span class="number" id="RemainD">0</原创 2018-11-19 13:46:19 · 408 阅读 · 0 评论 -
js 移动端下拉框加载更多分页
// 滑动分页 --重点$(window).scroll(function () { if ($(window).scrollTop() + $(window).height() + 5 > $(document).height()) { comment(); }});var isloading=0; //防止加载多次//获取评论functio...原创 2018-11-19 17:37:45 · 495 阅读 · 0 评论 -
解决安卓移动端软键盘按钮顶上去
//安卓顶上 var win_h = $(window).height(); window.addEventListener('resize', function () { var u = navigator.userAgent; if (u.indexOf('Android') > -1 || u.indexOf('Linux') >...原创 2019-03-08 14:29:33 · 1083 阅读 · 0 评论 -
js 监听手机端返回键的动作
$(document).ready(function () { window.history.pushState("", "", "#");});window.addEventListener("popstate", function (e) { // alert(1) // alert(window.history.length); if( window.h...原创 2019-04-13 17:53:10 · 1209 阅读 · 0 评论