冒昧地提供一些建議,基本是翻譯過(guò)來(lái)的:

創(chuàng)新互聯(lián)公司成立與2013年,先為烏恰等服務(wù)建站,烏恰等地企業(yè),進(jìn)行企業(yè)商務(wù)咨詢(xún)服務(wù)。為烏恰企業(yè)網(wǎng)站制作PC+手機(jī)+微官網(wǎng)三網(wǎng)同步一站式服務(wù)解決您的所有建站問(wèn)題。
1 忽視那些否定者2 從[x]amp上手3 學(xué)習(xí)基礎(chǔ)4 在code academy 、lynda之類(lèi)的教程網(wǎng)上學(xué)習(xí)
5 閱讀一些書(shū):php cookbook, php for absolute begginers, etc.
6 寫(xiě)點(diǎn)簡(jiǎn)單的代碼:留言板、論壇、博客 etc.
7 寫(xiě)點(diǎn)復(fù)雜的東西:ORM、實(shí)現(xiàn)某個(gè)特定需求的類(lèi)庫(kù) etc.
8 接觸一個(gè)輕量級(jí)框架:CI、kohana etc.
9 學(xué)習(xí)一個(gè)完整級(jí)框架:ZF、symfony etc.
10 做一些牛x的應(yīng)用
11 善用工作流:git etc.
12 保持不斷的學(xué)習(xí)
13 Be open mind,學(xué)習(xí)ruby等的優(yōu)點(diǎn)
我覺(jué)得這樣還算不了大牛,因?yàn)镻HP跟前端(javascript)、跟服務(wù)器(linux)都息息相關(guān),還有C擴(kuò)展的知識(shí),要補(bǔ)充web的知識(shí),還要學(xué)習(xí)和對(duì)比其他語(yǔ)言的優(yōu)點(diǎn)(python、ruby、go etc.),還有網(wǎng)絡(luò)(http、tcp/ip etc)
這樣夠了嗎? 也許吧。
script
var down='';
var cx='';
var cy='';
var div=null;
function dianji(){
if(div!=null){
return;
}
div=document.createElement('div');
div.className='demo';
// div.innerHTML='input type="button" value="關(guān)閉" onclick=""/';
div.style.top=60;
div.style.left=60;
document.body.appendChild(div);
var dell=document.createElement('input');
dell.type='button';
dell.value='關(guān)閉';
div.appendChild(dell);
div.onmousedown=function(e){
var ev=e||event;
cy=ev.clientY-parseInt(div.style.top);
cx=ev.clientX-parseInt(div.style.left);
//cx=(ev.clientY-parseInt(img.style.top));
//cy=(ev.clientX-parseInt(img.style.left));
if(!down){
down=true;
}
}
div.onmouseup=function(){
if(down){
down=false;
}
}
dell.onclick=function(){
alert('1111');
//pobj.removeChild(pobj.lastChild);
document.body.removeChild(div);
}
}
document.body.onmousemove=function(e){
var ev=e||event;
if(down){
div.style.top=(ev.clientY-cy);
div.style.left=(ev.clientX-cx);
}
}
/script
試試吧,看是不是你要的效果
html
head
titletest/title
meta http-equiv="Content-Type" content="text/html; charset=gb2312"
/head
body
div id="shows"/div
script type="text/javascript"
var Time = {};
Time.time = 0;
Time.init = function(time)
{
this.time = time;
this.countdown(time);
}
Time.countdown = function(time)
{
var nowTime = Math.round(new Date().getTime()/1000);
var time = time-nowTime;
var showDiv= document.getElementById('shows');
var that = this;
if(time0 time3600){
var minute = Math.round(time/60);
var seconds = Math.round(time%60)
if(minute10) minute = '0' + minute;
if(seconds10) seconds = '0'+seconds;
showDiv.innerHTML = "離"+this.getMyDate()+"還有"+this.sfm(time);
setTimeout(function(){that.countdown(that.time);},1000);
}else if(time=0){
showDiv.innerHTML = "已經(jīng)到"+this.getMyDate()+"了!";
}else{
var day = 0;
var hours = Math.floor(time/3600);
var mytime = '';
if(hours24){
day = Math.floor(hours/24);
hours = (hours-day*24)%60;
}
mytime += day + '日'+hours+'小時(shí)';
showDiv.innerHTML = "離"+this.getMyDate()+"還有"+mytime;
setTimeout(function(){that.countdown(that.time);},1000);
}
}
//獲取年月日時(shí)分秒
Time.getMyDate = function(){
var time = new Date(this.time*1000);
var date = time.getFullYear()+"-"+(time.getMonth()+1==12?1:time.getMonth()+1)+"-"+time.getDate()+" "+time.toLocaleTimeString();
return date;
}
//獲取時(shí)分秒
Time.sfm = function(time)
{
var minute = Math.round(time/60);
var seconds = Math.round(time%60)
if(minute10) minute = '0' + minute;
if(seconds10) seconds = '0'+seconds;
return "00:"+minute+":"+seconds;
}
Time.init(1309897699);
/script
/body
/html
看看這個(gè)怎么樣
!DOCTYPE?html
html
head
meta?http-equiv="Content-Type"?content="text/html;?charset=UTF-8"
titleRunJS?演示代碼/title
script
function?jia(x,y){return?x+y;}
function?jian(x,y){return?x-y;}
function?cheng(x,y){return?x*y;}
function?chu(x,y){return?x/y;}
function?dy(op,x,y){
document.write(?eval(["jia","jian","cheng","chu"]["加減乘除".indexOf(op)]+"("+x+","+y+")"));
}
var?op=prompt("輸入op","");?
var?x?=?prompt("輸入x","");?
var?y=prompt("輸入y","");
document.write("div?id='show'scriptdy('"+op+"','"+x+"','"+y+"')/scr"+"ipt/div");
/script
/head
body
/body
/html
分享名稱(chēng):javascript大牛的簡(jiǎn)單介紹
文章網(wǎng)址:http://chinadenli.net/article20/dsgjcco.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站改版、動(dòng)態(tài)網(wǎng)站、靜態(tài)網(wǎng)站、微信公眾號(hào)、全網(wǎng)營(yíng)銷(xiāo)推廣、
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶(hù)投稿、用戶(hù)轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話(huà):028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容