MIA's profile只要还能笑出来 就是赢了生活PhotosBlogLists Tools Help

MIA

Occupation
Location
Interests

只要还能笑出来 就是赢了生活

September 03

一年

学PHP一年了 其实正式的是从9/16开始的
呵呵 这一年来 是我人生很不平凡的一年
看着MSN一年前自己贴给自己看的PHP代码 现在看来是多么的稚嫩
说实话 自己还是菜鸟(低调 低调)
记得去年开始学 每天都在想 什么时候才能独立写一些代码 什么时候才能用本事去找到一份PHP的工作
现在都做到了 我觉得我真的成功的迈出了第一步
一年内
有笑过 有哭过 有想放弃过 其实自己也是属于笨的 就靠大家一直帮我 对我不放弃+我自己的那股傻劲 终于冲上来了
我真的很谢谢你们 你们是我人生中最不平凡一年中 最好的伴侣 谢谢你们 我爱你们
以下是一直帮助我的名单:
darx 棉花糖 lukin 黄柯 夜之子 服部半藏 SONY wuzhu(排名不分先后)
以下是回答过我问题的朋友们:
奶瓶 十月冷风 大白菜芯 竟冷 风情水笑 刘德华 圆圈 还有好多好多记不住ID了。。。请联系我 哈哈(排名不分先后)
谢谢你们 没有你们 我真的不可能坚持到现在 我感谢你们 让我能成功

jquery 很简单的ajax与table edit HOHO真简单

<html>
<head>
<script src="jquery-1.1.4.pack.js" type="text/javascript"></script>
<script src="jquery-1.1.4.js" type="text/javascript"></script>
<script type="text/javascript">

$(document).ready(function(){
odero();
});

function odero(){
$('#goodstudy').mouseover(function(){
        $(this).addClass("orderlist");})
        .mouseout(function(){
        $(this).removeClass("orderlist");
    });
    $('#goodstudy').click(function(){
        var revert = $(this).html();
        var textarea = '<div><textarea name="ffff" rows="10" cols="60" class="goodarea">'+$(this).html()+'</textarea>';
        var button   = '<div><input type="button" value="保存" class="saveButton" />或者<input type="button" value="取消"                         class="removeButton" /></div></div>';
        $(this).after(textarea+button).remove();
        $(".removeButton").click(function(){
            saveChanges(this,false)});
        $(".goodarea").blur(function(){
            var content = $(".goodarea").val();
            saveChanges(this,content)});
    });
}

function saveChanges(obj,cancel){
    if(!cancel){
        var t = cancel;
        $(obj).parent().parent().after('<div id="goodstudy">'+t+'</div>').remove()
        }else{
        var i = cancel;
        $.post("1.php",{ content: i},function(newcontent){
            alert(newcontent)
        });
    }
}

</script>
<style type="text/css">
.orderlist{
background-color:#3399FF;
font-size:14px;
font-style:inherit;
font-family:"黑体";
color:#CCCCCC;
}
</style>
</head>
<body>
<div id="goodstudy">oh yeah oh yeah oh yeah oh yeah oh yeah oh yeah</div>
</body>
</html>
August 29

很简单的2级联动 js

<html>
<head>
<title>This is a test!</title>
</head>
<body>
<form name="frm">
<select name="s1" onChange="redirec(document.frm.s1.options.selectedIndex)">
<option selected>请选择</option>
<option value="1">脚本语言</option>
<option value="2">高级语言</option>
<option value="3">其他语言</option>
</select>

<select name="s2">
<option value="请选择" selected>请选择</option>
</select>
</form>
<script language="javascript">
//获取一级菜单长度
var select1_len = document.frm.s1.options.length; //4
var select2 = new Array(select1_len); //select2 = neww array(4);
//把一级菜单都设为数组
for (i=0; i<select1_len; i++) // for($i = 0 ;$i<4;i++){ select2[0] = newarray();}
{                                                         //select2[1] = newarray();
select2[i] = new Array();                                //select2[2] = newarray();
}                                                        //select2[3] = newarray();
//定义基本选项
select2[0][0] = new Option("请选择", " ");

select2[1][0] = new Option("PHP", " ");
select2[1][1] = new Option("ASP", " ");
select2[1][2] = new Option("JSP", " ");
select2[1][3] = new Option("NET", " ");

select2[2][0] = new Option("C/C++", " ");
select2[2][1] = new Option("Java", " ");
select2[2][2] = new Option("C#", " ");

select2[3][0] = new Option("Perl", " ");
select2[3][1] = new Option("Ruby", " ");
select2[3][2] = new Option("Python", " ");
//联动函数
function redirec(x)
{
var temp = document.frm.s2;    // $temp = select2  document.frm.s1.options.selectedIndex这是个数组 也就是select2[1]
for (i=0;i<select2[x].length;i++) // for($i = 0 ;$i<select2[1].length;$I++) 0,1,2,3
                                                                          // select2.options[0] = new option(select2[1][3].text)
{ temp.options[i]=new Option(select2[x][i].text,select2[x][i].value);} // select2.options[0] = new option(select2[1][0].text)
temp.options[0].selected=true;                                             // select2.options[0] = new option(select2[1][1].text)
}                                                                        // select2.options[0] = new option(select2[1][2].text)
</script>                                                               
</body>
</html>
May 12

tst

<iframe src="http://test.1player.cn/skins/winamp/index.html?u=mia" name="player" width="200" height="85" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"></iframe>
October 15

恩 架个偶像论坛

架个架个架个!!!!
 
Photo 1 of 1
No list items have been added yet.