3 Vivian_shuang

尚未进行身份认证

Be a IT engineer!

等级
博文 313
排名 1w+

svg简单使用

html>htmllang="en">head>metacharset="UTF-8">title>Titletitle>head>body>svgwidth="500"height="500">rectx="10"y="10"width="30"height="30"stroke="pink"fill="yellow"str

2016-09-27 08:54:07

JavaScript事件小例子

event.clientX在可视区中,鼠标点击的x坐标event.clientY在可视区中,鼠标点击的y坐标  示例:html lang="en">head>    meta charset="UTF-8">    title>Documenttitle>    script type="text/javascript">        do

2016-09-22 19:54:56

ajax

什么是Ajax  不刷新页面的情况下从服务器获取、提交数据的一种数据交互方式。Ajax使用步骤1、创建Ajax对象varhttpRequest=newXMLHttpRequset可以创建一个Ajax请求对象。注意:浏览器的兼容问题IE6以及之前的IE不支持上边的创建爱你方法,这些版本的浏览器并没有集成Ajax,而是当做一个插件来处理,所以在创

2016-09-22 19:53:03

cookie

什么是cookie• 用来保存页面信息的,如用户名、密码• cookie的特性:同一个网站中所有的页面共享一套cookie;数量、大小限制;过期时间• js中使用cookie:document.cookie如何设置cookie?  在js中,使用document.cookie="键=值"即可,但是这种方式设置的cookie由于没有添加过期时间,所以关闭浏

2016-09-22 19:51:48

login

需要引入jq和bootstraplogin.php<?php/***CreatedbyPhpStorm.*User:dllo*Date:16/9/13*Time:上午10:50*/session_start();//$_SESSION["user"]="kitty";//echo$_SESSION["user"];//var_dump

2016-09-22 19:41:13

瀑布流ajax

pubuliu.htmlhtml>html>head>metacharset="UTF-8">title>title>styletype="text/css">*{margin:0;padding:0;}.wrap{

2016-08-19 09:03:32

upload

upload.htmlhtml>htmllang="en">head>metacharset="UTF-8">title>Titletitle>head>body>formaction="upload.php"method="post"enctype="multipart/form-data">inputtype="file"nam

2016-08-19 09:02:05

微博

weibo.php<?php/***CreatedbyPhpStorm.*User:dllo*Date:16/8/16*Time:上午10:41*/require_once"common.php";$sql="SELECT*FROMweiboORDERbyidDESCLIMIT5";$result=mysql_q

2016-08-19 08:59:23

ondblclick

shuangji.phphtml>htmllang="en">head>metacharset="UTF-8">metaname="viewport"content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scal

2016-08-19 08:57:17

ajax_post

ajax_post.htmlhtml>htmllang="en">head>metacharset="UTF-8">title>Titletitle>head>body>divid="box">inputtype="text"name="user"id="user">inputtype="text"name="pas

2016-08-19 08:52:22

ajax.js

/***Createdbydlloon16/8/15.*///用来处理url,以及传入的参数//par为传入的参数-->对象{xx:xx,xx:xx}functionaddPath(url,type,par){vararr=[];//把对象形式转为[xx=xx,xx=xx]for(propinpar){

2016-08-19 08:49:19

ajax.html

html>htmllang="en">head>metacharset="UTF-8">title>Titletitle>head>body>script>//AJAX即“AsynchronousJavaScriptandXML”//ajax主要为了网页不需要整体刷新,只刷新局部、//现代浏览器//varaja

2016-08-19 08:48:45

验证码php

<?php/***CreatedbyPhpStorm.*User:dllo*Date:16/8/12*Time:下午3:39*/session_start();getCode(4,60,20);functiongetCode($num,$w,$h){$code="";for($i=0;$i$num;$i++)

2016-08-19 08:43:18

验证码

<?php/***CreatedbyPhpStorm.*User:dllo*Date:16/8/12*Time:下午3:14*/session_start();header("Content-type:text/html;charset=utf-8");header("Content-type:image/png");$width=200;$

2016-08-19 08:42:22

php绘图2

<?php/***CreatedbyPhpStorm.*User:dllo*Date:16/8/12*Time:下午4:24*/header("Content-type:image/png;");$image=imagecreate(500,500);//第一次调用,会给画布背景添加颜色imagecolorallocate($image,25

2016-08-19 08:41:57

验证码

yanzhengma.htmlhtml>htmllang="en">head>metacharset="UTF-8">title>Titletitle>head>body>formaction="yan.php"method="post">inputtype="text"placeholder="输入验证码"name="code">

2016-08-19 08:37:44

php绘图

<?php/***CreatedbyPhpStorm.*User:dllo*Date:16/8/12*Time:下午3:56*/header("Content-type:image/jpeg");$im=imagecreatetruecolor(100,100);$w=imagecolorallocate($im,255,255,

2016-08-19 08:37:02

注册,登录.php

login.htmlhtml>htmllang="en">head>metacharset="UTF-8">metaname="viewport"content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=

2016-08-15 19:18:09

模糊查询.php

html>htmllang="en">head>metacharset="UTF-8">metaname="viewport"content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0">me

2016-08-15 19:16:33

mysql基础知识

<?php/***CreatedbyPhpStorm.*User:dllo*Date:16/8/11*Time:上午9:06*/header("Content-type:text/html;charset=utf-8");//1.连接服务器$mysql=mysql_connect("localhost","root","");if($m

2016-08-15 19:14:50
奖章
    暂无奖章