首页 > 2015年04月18日 > 全部分享
jquery插件 - 学习笔记 (插件参数及函数的调用)
今天研究的是jquery插件的基本写法:比如我打算写一个名为ImageZoom 的插件 前台调用:$.ImageZoom({ imageSelector: ".imgBox img", //图片选择器 wrapSelector: ".list-images", /...
分类:Web开发   时间:2015-04-18 12:48:22    收藏:0  评论:0  赞:0  阅读:201
点击a标签,给input赋值,再次点击清空
普通将普通赋值给id为a1的input用途如下:
分类:其他   时间:2015-04-18 12:48:12    收藏:0  评论:0  赞:0  阅读:321
各种边框样式。。本以为border不是这么用的。
关于文本框样式□文本框样式□显示虚线边框的文本框(IE5.5才可看到效果)或边框为实线的文本框没有边框的的文本框只有下划线的文本框下划线为虚线的文本框(IE5.5以上浏览器才可看到效果)有背景图片的文本框□按钮样式□没有边框的按钮细边框的按钮
分类:其他   时间:2015-04-18 12:48:02    收藏:0  评论:0  赞:0  阅读:158
更换Ubuntu 14.04内核时,遇到的一些错误及解决办法
------------------------------------------------------------------------------------------------------ PROBLEM:-1 ------------------------------------...
分类:系统服务   时间:2015-04-18 12:47:52    收藏:0  评论:0  赞:0  阅读:488
matplot 代码实例
matplot 代码实例#!/usr/bin/env python# coding=utf-8import numpy as npimport matplotlib.pyplot as pltax = plt.subplot(111)t = np.arange(0,5,0.01)s = np.cos...
分类:其他   时间:2015-04-18 12:47:42    收藏:0  评论:0  赞:0  阅读:255
hdu546饭卡(01背包)
饭卡Time Limit: 5000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14476Accepted Submission(s): 5032Problem Descrip...
分类:其他   时间:2015-04-18 12:47:02    收藏:0  评论:0  赞:0  阅读:79
数据库扩展
PHP中一个数据库可能有一个或者多个扩展,其中既有官方的,也有第三方提供的。像Mysql常用的扩展有原生的mysql库,也可以使用增强版的mysqli扩展,还可以使用PDO进行连接与操作。不同的扩展提供基本相近的操作方法,不同的是可能具备一些新特性,以及操作性能可能会有所不同。mysql扩展进行数据...
分类:数据库技术   时间:2015-04-18 12:46:52    收藏:0  评论:0  赞:0  阅读:277
PHP项目路径设置 如何兼容所有操作系统
header("Content-type:text/html;charset=utf-8");//服务器根目录$webrootpath = $_SERVER['DOCUMENT_ROOT'];//简洁获取服务器根目录$easywebrootpath = "$DOCUMENT_ROOT\\DEMO\\...
分类:Web开发   时间:2015-04-18 12:46:42    收藏:0  评论:0  赞:0  阅读:265
怎么查看无线网络中电脑的IP地址?
1、2、3、4、5、
分类:其他   时间:2015-04-18 12:46:32    收藏:0  评论:0  赞:0  阅读:91
mysql-python模块编译问题解决
解决方法:yum-yinstallmysql-devellibxml2libxml2-devlibxslt*zlibgccopenssl[root@localhostMySQL-python-1.2.3]#pythonsetup.pyinstall这个命令解决gcc编译mysql-python模块的...
分类:数据库技术   时间:2015-04-18 12:46:22    收藏:0  评论:0  赞:0  阅读:253
imageName&imageWithContentFile
imageName:有缓存机制,会将图片在缓存到内存中,当该图片对象释放时,缓存中的图片对象不会被释放(相当于占用了两份内存)。使用场合:多个地方用到同一个图片并且是小图片imageWithContentFile:没有缓存机制,不会将图片对象缓存到内存中。使用场合:图片比较大,用的地方少,比如帧动画...
分类:其他   时间:2015-04-18 12:46:02    收藏:0  评论:0  赞:0  阅读:274
电梯调度算法
对于电梯的要求:电梯在一楼出发,待用户输完想停的楼层后,停在其中的一层楼然后所有人下去徒步找各自的目标地,使最后所有人的爬楼梯数最短。 设最后停在i层,i层下有n1个人,i层有n2个人,i+1层有n3个人,假设停i层为最短Y,若停在i-1层则Y-(n1-n2-n3)停在i+1层则Y-(n3-n1.....
分类:编程语言   时间:2015-04-18 12:45:52    收藏:0  评论:0  赞:0  阅读:228
hidden change事件
原文:hidden change事件 对于隐藏域hidden无法触发onchange的解决方法:在更改此隐藏域的时候,调用下它的onchange方法,使用jquery的话, 就直接加上 $("#hiddenid").change(); 如果给表单添加了change事件,那么hidden表单的值变化了...
分类:其他   时间:2015-04-18 12:45:42    收藏:0  评论:0  赞:0  阅读:139
【Two Sum】cpp
题目:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two...
分类:其他   时间:2015-04-18 12:45:02    收藏:0  评论:0  赞:0  阅读:109
递增输出带表头结点的单链表元素
#include #include #include typedef struct Node{ int data; struct Node *next;}NODE;void Create_List(NODE *L){ int n; NODE *p,*r; r=L; ...
分类:其他   时间:2015-04-18 12:44:52    收藏:0  评论:0  赞:0  阅读:230
MVC下载文件方式
MVC下载文件方式方式一:public FileStreamResult DownFile(string filePath, string fileName) { string absoluFilePath = Server.MapPath(System.Configuration.Conf...
分类:Web开发   时间:2015-04-18 12:44:42    收藏:0  评论:0  赞:0  阅读:282
openldap
http://www.openldap.org/doc/admin24/intro.html#What%20is%20slapd%20and%20what%20can%20it%20do1.9. What is slapd and what can it do?slapd(8) is an LDAP...
分类:其他   时间:2015-04-18 12:44:32    收藏:0  评论:0  赞:0  阅读:204
Best Time to Buy and Sell Stock
这几道题最好连着做public class Solution { public int maxProfit(List prices) { if(prices==null||prices.size()==0) return 0; int len =prices.siz...
分类:其他   时间:2015-04-18 12:44:23    收藏:0  评论:0  赞:0  阅读:177
虚基类构造函数执行顺序
#include using namespace std;class stream{public: stream(){cout<<"stream constructer"<<endl; ~stream(){cout<<"stream destructer"<<endl;};class iistr.....
分类:其他   时间:2015-04-18 12:44:12    收藏:0  评论:0  赞:0  阅读:260
EF(EntityFramework) Migrations 迁移
1、开启程序包管理器控制台 2.安装EntityFrameworkPM> Install-Package EntityFramework3.启用迁移PM> Enable-Migrations –EnableAutomaticMigrations遇到的问题:Enable-Migrations : 無法...
分类:其他   时间:2015-04-18 12:44:02    收藏:0  评论:0  赞:0  阅读:1526
1478条   上一页 1 ... 50 51 52 53 54 ... 74 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!