To be or not to be.That is a question!

---源于莎士比亚的《哈姆雷特》

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

05 2013 档案

捕获鼠标点击 位置移动
摘要:<!DOCTYPE HTML><html dir="ltr" lang="zh-CN"><head> <meta charset="utf-8"> <title></title> <style type="text/css"> #info{width:100px;height: 100px;background-color: #ff0000;position: absolute;top: 0;left: 0;} </style 阅读全文

posted @ 2013-05-31 14:51 Ijavascript 阅读(233) 评论(0) 推荐(0) 编辑

$.getJSON 的用法
摘要:<!DOCTYPE HTML><html dir="ltr" lang="zh-CN"><head> <meta charset="utf-8"/> <title></title> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script></head><body> 阅读全文

posted @ 2013-05-30 17:34 Ijavascript 阅读(325) 评论(0) 推荐(0) 编辑

php mysql增、删、改、查
摘要:<?php require_once "connect.php";echo <<<_END<!DOCTYPE HTML><html dir="ltr" lang="zh-CN"> <head> <meta charset="utf-8"> <title></title> </head> <body> <form action="sql_test.php" method=& 阅读全文

posted @ 2013-05-29 23:55 Ijavascript 阅读(263) 评论(0) 推荐(0) 编辑

mysql test
摘要:<?php /** * @sqltest.php */require_once "app_config.php";if (isset($_POST['delete']) && isset($_POST['isbn'])) { $isbn=get_post('isbn'); $query="delete from classics where isbn='$isbn'"; if (!mysql_query($query)) { echo mysql_error(); }} 阅读全文

posted @ 2013-05-29 18:12 Ijavascript 阅读(209) 评论(0) 推荐(0) 编辑

瀑布流
摘要:<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>瀑布流布局(绝对定位)</title> <style type="text/css"> html, body{ height:100% } html, body, #warp p{ margin:0; padding:0 } #warp{ margin:20px auto; posit... 阅读全文

posted @ 2013-05-28 23:29 Ijavascript 阅读(278) 评论(0) 推荐(0) 编辑

Overlay 遮罩层
摘要:<!DOCTYPE HTML><html lang="zh-CN"><head> <meta charset="utf-8"> <title></title> <style type="text/css"> img{padding: 5px;} #outer{width: 100%;height: 100%;} .overlay{background-color: #000;opacity: .7;filter:alpha(opacity=70);po 阅读全文

posted @ 2013-05-28 11:09 Ijavascript 阅读(422) 评论(0) 推荐(0) 编辑

Preventing and Event from Propagation Through a set of Nested Elements
摘要:<!DOCTYPE HTML><html lang="zh-CN"> <head> <meta charset="utf-8"> <title>Prevent Propagation</title> <style type="text/css"> #one{width: 100px;height: 100px;background-color: #0f0;} #two{width: 50px;height: 50px;background-color: 阅读全文

posted @ 2013-05-27 22:25 Ijavascript 阅读(177) 评论(0) 推荐(0) 编辑

Using Function Closures with Timers
摘要:<!DOCTYPE HTML><html lang="zh-CN"> <head> <meta charset="utf-8"> <title></title> <style type="text/css"> #redbox{position: absolute;left: 100px;top: 100px;width: 200px;height: 200px;background-color: red;} </style> </he 阅读全文

posted @ 2013-05-27 21:43 Ijavascript 阅读(156) 评论(0) 推荐(0) 编辑

lists and Dictionaries
摘要:>>> print {i : chr(65+i) for i in range(4)} {0 : 'A', 1 : 'B', 2 : 'C', 3 : 'D'} >>> print {k : v for k, v in someDict.iteritems()} == someDict.copy() 1 >>> print {x.lower() : 1 for x in list_of_email_addrs} {'barry@zope.com' : 1, &# 阅读全文

posted @ 2013-05-18 14:52 Ijavascript 阅读(151) 评论(0) 推荐(0) 编辑

css九宫格
摘要:<!doctype html><html><head> <title></title></head><body> <style type="text/css"> dl{width: 330px;padding: 10px;margin: 0 auto;text-align: center;line-height: 100px;} dl dt{font-size: 30px;font-family: "微软雅黑"} dl dd{float: left;displ 阅读全文

posted @ 2013-05-07 16:37 Ijavascript 阅读(244) 评论(0) 推荐(0) 编辑

git ubuntu
摘要:1 git安装:https://help.github.com/articles/set-up-git2 git配置:git config --global user.name "xxx"git config --global user.email "xxx"3 Generating SSH keys 生成ssh密钥希望这个时候你已经有了一个github的帐号,因为key是要绑定的,没有就去申请一个吧密钥应该是在根目录的.ssh下$ cd ~/.ssh$ ssh-keygen -t rsa -C "xxx@xxx.com"$ lsco 阅读全文

posted @ 2013-05-06 17:08 Ijavascript 阅读(158) 评论(0) 推荐(0) 编辑

无缝滚动 javscript
摘要:demo:var Mar=(function(Global){ var Marquee=function(id){ var content=document.getElementById(id), original=content.getElementsByTagName("li")[0], speed=arguments[1] || 10, clone=original.cloneNode(true); content.appendChild(clone); var sc... 阅读全文

posted @ 2013-05-03 23:05 Ijavascript 阅读(198) 评论(0) 推荐(0) 编辑

Ubuntu 安装LAMP
摘要:Apache$sudo apt-get install apache2在浏览器中测试 http://localhostPHP$sudo apt-get install php5 libapache2-mod-php5重启Apache服务$sudo /etc/init.d/apache2 restart测试安装$sudo gedit /var/www/testphp.php添加测试语句<?php phpinfo(); ?>保存退出。在浏览器中测试 http://localhost/testphp.php$sudo rm /var/www/testphp.phpMySQL$sudo a 阅读全文

posted @ 2013-05-02 20:23 Ijavascript 阅读(164) 评论(0) 推荐(0) 编辑

YUI3 resize
摘要:Demo:<!DOCTYPE HTML><html lang="zh-CN"><head> <meta charset="UTF-8"> <title></title> <script src="http://yui.yahooapis.com/3.10.0/build/yui/yui-min.js"></script> <script type="text/javascript" src="js.js& 阅读全文

posted @ 2013-05-02 12:52 Ijavascript 阅读(215) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示