- 昵称:51助手
- 博龄:6年5个月26天
- 粉丝:122
- 关注:108
- +关注
搜索
文章分类
博客档案
网页打开显示loading加载
摘要:实现原理:页面一打开显示loading图标,当页面加载完时,触发 completeLoading 函数,js隐藏loading图标<style type="text/css"> #loading{ position:
tp5邮件发送
摘要:主要实现代码<?php namespace tool\emai; use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; class Email {
php保留textarea格式的换行与空格
摘要://保留textarea格式 //$str 文本字符串 function textPre($str){ $str = str_replace("\r\n",'<br/>',$str); $str = str_replace("&n
百度编辑器上传图片排序问题
摘要:修改3个位置第一个\ueditor1.4.3.3\dialogs\image\image.js在722行左右,可搜索 _this.imageList.push(json); _this.imageList.push(json); 改成_this.imageList[$file.index()] = json;第2个778行左右,
jquery 获取图片真实尺寸
摘要:第一种$("<img/>") // Make in memory copy of image to avoid css issues 在内存中创建一个img标记 &nbs
photoswipe.js使用
摘要:https://photoswipe.com/styling/html直接调用<!DOCTYPE html> <html> <head> <title>Test Galler
商品sku
摘要:<!DOCTYPE HTML> <html> <head> <meta charset="UTF-8"> <title>商品SKU选择DEMO</title&
多个数组笛卡尔积-js算法
摘要:示例1:求两个数组笛卡尔积假如有两个数组,求笛卡尔积,其基本思路是这样的:在遍历一个数组的同时,遍历另一个数组,然后把元素拼接,放到新数组。 /*方式一:两个数组求笛卡尔积*/ var&nbs
苹果浏览电话数字变黑色问题
摘要:头部增加<meta name="format-detection" content="telephone=no" />禁止识别手机号<meta name="format-detection" content="telephone=no"&nb