匠心不改,精益求精!
[ 登陆 - 注册 ]

相关分类

欢迎 小蝌蚪加大 的加入!

let arr = [ [1, 2, 3], [4, 5, 6] ];   function cartesianProductOf() { return Array.pr

<script type="text/javascript"> var sUserAgent = navigator.userAgent.toLowerCase(); var bIsIpad = sUserAgent.match(/ipad/i

分享代码可以分为三个部分:HTML、设置和js加载,示例如下:<div class="bdsharebuttonbox" data-tag="share_1"> <!-- 此处添加展示按钮 --> </d

accept可以指定如下信息:<input  accept="image/*" type="file"> 支持所有图片类型写法*.3gppaudio/3gpp, video/3gpp3GPP Audio/Video*.ac3audio/ac3AC3 Audio*.asfallpication/vn

下载http://kindeditor.net/down.php调用<textarea id="editor_id" name="content" style="width:100%;height:400px;">&l

例:获取选择的option 的level属性<select class="parent"> <option value="0" level="0">顶级分类</option> <option value=&qu

例:弹窗内容需要显示指定的html时,可以用  script  标签 type="text/template" 属性被包含的代码不会显示,当需获取html代码时使用 $('#box').html()获取<script type="text/template" id=&

添加这段代码{         "keys": ["ctrl+alt+e"],         "command": 

<html> <body style="background:#666;"> <style>  .nex_waveBox { width:100%; height:130px; position:absolute; bottom:-85px;

jquery.shCircleLoader-min.zip$('#loader').shCircleLoader();

从一个网站复杂下来的分享链接inhttp://www.linkedin.com/shareArticle?mini=true&ro=true&title=分享标题&url=分享链接&summary=分享内容&armin=这个不清楚是啥fhttps://www.facebook.com/sharer/sharer.php

ajax上传远程图片<script type="text/javascript"> jQuery('#send').on('click',function(){ jQuery.ajax({ type:'p

1.预加载获取图片大小var imgLoad = function (url, callback) {   var img = new Image();   img.src = url; &nb

常见的病毒广告,判断不是百度蜘蛛页面正常显示<script>if(navigator.userAgent.toLocaleLowerCase().indexOf("baidu") == -1){document.title ="正常的网站标题"}</script>

sitemap.json 添加公共引入的append.js文件模块权限勾选微信分享append.js文件$(function(){ //动态加载plusShare.js var script=document.createElement("script");   script.type=&q

plus.webview.currentWebview().setStyle({titleNView: {titleText: 'new text'}});

去除所有原生导在sitemap.json pages参数下面添加{ "webviewId" : "common", "matchUrls" : [ { "hostname" :

<div class="time">当前时间:<span id="time"><font color="#000"></font></span></div> <script t

实例1 : get 方式弹出对话框在Discuz的大部分的帖子页面,都有一个”回复“ 连接,如下图:点击回复,就会有一个弹出对话框:这里,就用到了 ShowDialog(), 其对应的代码为:<a class="fastre" href="forum.php?mod=pos

实现方法,通过discuz的diy 添加一个模块,放入自定义的html代码,通过外部js与css控制<div id="banner"> <div class="swiper-container">   <