随笔分类 - jquery
摘要:html <div class="container"> <ul class="pagination"> <li class="prev fleft" @click="prevPage()">上一页</li> <li :class="{'active':currentPage==item.val}"
阅读全文
摘要:<!DOCTYPE html> <html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <!-- 最新版本的 Bootstrap 核心 CSS 文件 --><link rel="stylesheet" href="h
阅读全文
摘要:html <table class="table" width="100%" cellpadding="0" cellspacing="0"> <thead> <tr class="lineTh"> <th width="30"><i class="checkIcon allCheckbox"></
阅读全文
摘要:html <label class="selectGroup"> <span class="selectP"></span> <select class="select"> <option>类型1</option> <option>类型2</option> <option>类型3</option>
阅读全文
摘要:js $('#name').click(function(valueText) { $('#demo').mobiscroll('show'); // return false; }); $("#demo").mobiscroll('valueText').select({ theme: "andr
阅读全文
摘要:jQuery Lazy Load 图片延迟加载 使用方法 <script src="js/jquery-1.11.1.min.js"></script> <script src="js/jquery.lazyload.min.js"></script> $(function() { $("img.l
阅读全文
摘要:$('.joinbtn').click(function(){ var a = $("#contact").offset().top;$("html,body").animate({scrollTop:a}, 'slow'); });
阅读全文
摘要:<div class="position"> <div class="positiontop"> <span class="mr100">招聘职位:高级开发工程师</span> <span>工作地址:北京、济南</span> <span class="lookmore fright">查看详情 <i
阅读全文
摘要://nav $(".nav li a").each(function() { $this = $(this); if ($this[0].href == String(window.location)) { $this.parent().addClass("active"); } });
阅读全文
摘要:<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <script type="text/javascript" src="js/jquery-1.8.3.min.js"></scr
阅读全文
摘要:<!DOCTYPE html><html><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>换一换</title> <meta name="descr
阅读全文
摘要://地区选择 $('.secondcity li').click(function () { $(this).toggleClass('selectli'); len = $('.secondcity li').length; if ($('.selectli').length == len) {
阅读全文
摘要:图片切换 $('.selectarea img').click(function () { if ($(this).attr("src") == "/Content/images/persornalZL/select01.jpg") { $(this).attr("src", "/Content/i
阅读全文
摘要:$(function() { $('.love').toggle(function() { $(this).attr("src", "images/loved.png"); }, function() { $(this).attr("src", "images/love.png"); }) $(".
阅读全文
摘要:if ($(window).scrollTop() >= 300) {}
阅读全文
摘要:html <div class="pop_tit"> <span class="p_tit1" title="大连未来城LECITY">大连未来城LECITY</span><br /> </div> css .pop_tit { width:350px; height:45px; padding:1
阅读全文
摘要:<!DOCTYPE html> <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-
阅读全文
摘要:// 同意条款function isaccepted(){ if(document.getElementById("read").checked==true){ document.getElementById("submit").disabled = false; $('#submit').css(
阅读全文
摘要:<script> $(function() { $("#datepicker").datepicker({ dateFormat: "yy/mm/dd" }); }); </script>
阅读全文
摘要:$('.checked').click(function () { if ($(this).attr("checked") == true) { } else { } });
阅读全文
浙公网安备 33010602011771号