锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久亚洲色一区二区三区,九九精品国产亚洲AV日韩,亚洲国产精品嫩草影院在线观看http://m.tkk7.com/jiandeh/category/20717.html浣犲噯澶囧ソ榪庢帴涓嬩竴涓寫鎴樹簡鍚楋紵zh-cnSat, 07 Apr 2007 04:37:21 GMTSat, 07 Apr 2007 04:37:21 GMT60- SQL緙栬瘧鍣ㄨ娉曞畾涔夊唴瀹?/title>http://m.tkk7.com/jiandeh/archive/2007/04/03/108243.htmlLORD BLOGLORD BLOGTue, 03 Apr 2007 10:00:00 GMThttp://m.tkk7.com/jiandeh/archive/2007/04/03/108243.htmlhttp://m.tkk7.com/jiandeh/comments/108243.htmlhttp://m.tkk7.com/jiandeh/archive/2007/04/03/108243.html#Feedback0http://m.tkk7.com/jiandeh/comments/commentRss/108243.htmlhttp://m.tkk7.com/jiandeh/services/trackbacks/108243.html闃呰鍏ㄦ枃

]]> - SQL緙栬瘧鍣ㄨ瘝娉曞畾涔夊唴瀹?/title>http://m.tkk7.com/jiandeh/archive/2007/04/03/108241.htmlLORD BLOGLORD BLOGTue, 03 Apr 2007 09:59:00 GMThttp://m.tkk7.com/jiandeh/archive/2007/04/03/108241.htmlhttp://m.tkk7.com/jiandeh/comments/108241.htmlhttp://m.tkk7.com/jiandeh/archive/2007/04/03/108241.html#Feedback0http://m.tkk7.com/jiandeh/comments/commentRss/108241.htmlhttp://m.tkk7.com/jiandeh/services/trackbacks/108241.html闃呰鍏ㄦ枃

]]> - 濡備綍閫変腑婊氬姩鏂囨湰妗嗕粠鏌愪竴琛屽埌鏌愪竴琛?/title>http://m.tkk7.com/jiandeh/archive/2007/03/16/104279.htmlLORD BLOGLORD BLOGFri, 16 Mar 2007 07:47:00 GMThttp://m.tkk7.com/jiandeh/archive/2007/03/16/104279.htmlhttp://m.tkk7.com/jiandeh/comments/104279.htmlhttp://m.tkk7.com/jiandeh/archive/2007/03/16/104279.html#Feedback0http://m.tkk7.com/jiandeh/comments/commentRss/104279.htmlhttp://m.tkk7.com/jiandeh/services/trackbacks/104279.html
//=======================================
//鍔熻兘: 婊氬姩鏂囨湰妗嗙簿紜綅緗畾浣?br />//杈撳叆鍙傛暟錛?br />//聽self 聽聽婊氬姩鏂囨湰妗嗗璞?br />//聽_startLine 聽寮濮嬭鏁?br />//聽_endLine 聽緇撴潫琛屾暟
//聽_startPoint 寮濮嬭鏁扮殑寮濮嬩綅緗?br />//聽_endPoint 聽緇撴潫琛屾暟鐨勭粨鏉熶綅緗?br />//璋冪敤鏂規(guī)硶錛?br />//聽鈶犲悓涓琛岋紝浠庡紑濮嬩綅緗埌緇撴潫浣嶇疆錛?br />//聽聽 selToLinePoint(self, 2, 2, 0/1, 0)
//聽鈶′笉鍚屼竴琛岋紝浠庢煇涓寮濮嬩綅緗埌緇撴潫浣嶇疆錛?br />//聽聽 selToLinePoint(self, 2, 4, 3, 0)
//聽鈶笉鍚屼竴琛岋紝浠庢煇涓寮濮嬩綅緗埌鏌愪竴緇撴潫浣嶇疆錛?br />//聽聽 selToLinePoint(self, 2, 4, 3, 9)
//=======================================
function selToLinePoint(self, _startLine, _endLine, _startPoint, _endPoint, _len){
聽var src = self;
聽var oTR = self.createTextRange();
聽var text = self.innerText;
聽var textLength = text.length;
聽
聽conts = [0];
聽startx = src.createTextRange().getClientRects()[0].left;
聽starty = src.createTextRange().getClientRects()[0].top;
聽stepy = 3; 聽聽//鍏夋爣鍚戜笅縐誨姩鐨勬闀匡紝涓嶈兘澶т簬textarea涓殑瀛楅珮
聽currentScr = 0; 聽//褰撳墠婊氬姩鏉′綅緗?br />聽stepScr = 30; 聽//婊氬姩鏉″悜涓嬫粴鍔ㄧ殑姝ラ暱錛屼笉鑳藉ぇ浜巘extarea鐨勯珮搴?br />聽
聽while(1){
聽聽src.scrollTop = currentScr
聽聽currenty = starty
聽聽while(1){ //鍏夋爣浠巘extarea鍐呭鐨勫紑澶村紑濮嬪悜涓嬬Щ鍔紝閬嶅巻鍚勮錛屽湪conts[]涓涓嬪悇鎹㈣浣嶇疆
聽聽聽oTR.moveToPoint(startx, currenty)
聽聽聽oTR.moveEnd("character", textLength)
聽聽聽var _oTR_Line_Length = oTR.text.length;
聽聽聽cont = textLength - _oTR_Line_Length;
聽聽聽if (cont >= textLength){
聽聽聽聽break
聽聽聽}
聽聽聽if (cont>conts[conts.length - 1]){
聽聽聽聽conts[conts.length] = cont
聽聽聽}
聽聽聽currenty += stepy
聽聽}
聽聽if (currentScr >= src.scrollHeight){
聽聽聽break
聽聽}
聽聽currentScr += stepScr;
聽}
聽
聽if (_endLine == "")
聽聽_endLine = _startLine;
聽_startLine = parseInt(_startLine);
聽_endLine = parseInt(_endLine);
聽
聽if (isFinite(_startLine) && isFinite(_endLine) && _startLine > 0 && _endLine > 0){
聽聽//媯鏌ュ弬鏁版湁鏁堟?br />聽聽if (_startLine > conts.length || _endLine > conts.length){
聽聽聽alert("鎬誨叡鍙湁" + conts.length + "琛岋紝璇鋒鏌ュ悗閲嶈瘯銆?);
聽聽聽return;
聽聽}
聽聽
聽聽//濡傛灉緇撴潫琛屽湪寮濮嬭涔嬪墠錛屽己琛岃皟鏁村弬鏁?br />聽聽if (_endLine < _startLine){
聽聽聽_endLine = _startLine;
聽聽聽end.value = _endLine;
聽聽}
聽聽
聽聽src.scrollTop = 0;
聽聽oTR.moveToPoint(startx, starty); 聽//鍏夋爣鍥炲埌textarea鍐呭鐨勫紑澶?br />聽聽st = conts[_startLine - 1];
聽聽
聽聽if (st > _startPoint){
聽聽聽st = st + _startPoint;
聽聽}else{
聽聽聽var _rightTextLen = 0;
聽聽聽for (var m = 0; m < conts.length; m++){
聽聽聽聽if (conts[m] < _startPoint){
聽聽聽聽聽_rightTextLen = _startPoint - conts[m];
聽聽聽聽聽st = _startPoint - _rightTextLen;
聽聽聽聽聽if (_endLine == _startLine){
聽聽聽聽聽聽_endLine++;
聽聽聽聽聽}
聽聽聽聽}else{
聽聽聽聽聽break;
聽聽聽聽}
聽聽聽}
聽聽聽if (st + _rightTextLen < textLength){
聽聽聽聽st = st + _rightTextLen;
聽聽聽}
聽聽聽聽聽
聽聽}
聽聽
聽聽texpreStart = text.substr(0, st);
聽聽texpreStart = text.substr(0, st).replace(/\r/g, ""); //鑷猼extarea鍐呭鐨勫紑澶磋嚦閫夋嫨璧風偣鍓嶇殑瀛椾覆錛岀敱浜巑oveStart鏂規(guī)硶灝哱r\n瑙嗕負涓涓瓧絎︼紝闇瑕佷慨姝h鏁?br />聽聽
聽聽st = texpreStart.length;
聽聽oTR.moveStart("character", st);
聽聽en = textLength;
聽聽if (_endLine < conts.length){
聽聽聽en = conts[_endLine];
聽聽聽if (_endPoint > 0){
聽聽聽聽var laLineLen = conts[_endLine] - conts[_endLine -1];
聽聽聽聽en = en - laLineLen + _endPoint;
聽聽聽}
聽聽}
聽聽texpreEnd = text.substr(0, en).replace(/\r/g,"") //鑷猼extarea鍐呭鐨勫紑澶磋嚦閫夋嫨緇撴潫鐐瑰墠鐨勫瓧涓詫紝鐢變簬moveEnd鏂規(guī)硶灝哱r\n瑙嗕負涓涓瓧絎︼紝闇瑕佷慨姝h鏁?br />聽聽en = texpreEnd.length
聽聽var _endX = en - st;
聽聽oTR.moveEnd("character", _endX);
聽聽oTR.select();
聽}
聽
}

]]>- 濡備綍璁劇疆婊氬姩鏂囨湰妗員extArea鍏夋爣http://m.tkk7.com/jiandeh/archive/2007/03/16/104276.htmlLORD BLOGLORD BLOGFri, 16 Mar 2007 07:43:00 GMThttp://m.tkk7.com/jiandeh/archive/2007/03/16/104276.htmlhttp://m.tkk7.com/jiandeh/comments/104276.htmlhttp://m.tkk7.com/jiandeh/archive/2007/03/16/104276.html#Feedback0http://m.tkk7.com/jiandeh/comments/commentRss/104276.htmlhttp://m.tkk7.com/jiandeh/services/trackbacks/104276.html//==================================================
//鍔熻兘: 鏍規(guī)嵁鐒︾偣浣嶇疆淇℃伅璁劇疆婊氬姩鏂囨湰妗嗙劍鐐?br />//杈撳叆鍙傛暟錛?br />//聽_mOffset 聽聽婊氬姩鏂囨湰妗嗗璞?br />//聽_OffsetObject聽鐒︾偣浣嶇疆淇℃伅瀵硅薄
//榪斿洖鍊?
//聽瀹氫綅婊氬姩鏂囨湰妗嗙劍鐐?br />//鏇存柊璁板綍:
//聽2007-03-16聽 榛勫緩寰仿?瀹炵幇璁劇疆婊氬姩鏂囨湰妗嗙劍鐐圭殑鍩烘湰鍔熻兘
//聽
//==================================================
function setOffsetPointer(_mOffset, _OffsetObject){
聽var _allText = _mOffset.value;聽聽聽聽聽聽聽//杈撳叆妗嗙殑鎵鏈夊?br />聽_mOffset.focus();聽聽聽聽聽聽聽聽聽聽//杈撳叆妗嗚幏寰楃劍鐐?br />聽var _tOffset = _mOffset.createTextRange();聽聽聽聽//鍒涘緩杈撳叆妗嗘枃鏈璞?br />聽_tOffset.collapse(true);聽聽聽聽聽聽聽聽//灝嗗厜鏍囩Щ鍒板ご
聽_tOffset.moveStart('character', _OffsetObject.length);聽//縐誨姩鍏夋爣鍒版寚瀹氶暱搴?br />聽_tOffset.scrollTop = _OffsetObject.scrollTop;聽聽聽//榪斿洖婊氬姩鏉$殑鍘熸潵浣嶇疆
聽_tOffset.select();聽聽聽聽聽聽聽聽聽聽//鏄劇ず鍏夋爣
}

]]> - 鑾峰彇婊氬姩鏂囨湰妗員extArea鐒︾偣鎵鍦ㄤ綅緗俊鎭?/title>http://m.tkk7.com/jiandeh/archive/2007/03/16/jiandeh.htmlLORD BLOGLORD BLOGFri, 16 Mar 2007 07:33:00 GMThttp://m.tkk7.com/jiandeh/archive/2007/03/16/jiandeh.htmlhttp://m.tkk7.com/jiandeh/comments/104273.htmlhttp://m.tkk7.com/jiandeh/archive/2007/03/16/jiandeh.html#Feedback0http://m.tkk7.com/jiandeh/comments/commentRss/104273.htmlhttp://m.tkk7.com/jiandeh/services/trackbacks/104273.html
//==================================================
//鍔熻兘: 鑾峰彇婊氬姩鏂囨湰妗嗙劍鐐規(guī)墍鍦ㄤ綅緗俊鎭?br />//杈撳叆鍙傛暟錛?br />//聽_mOffset 聽婊氬姩鏂囨湰妗嗗璞?br />//榪斿洖鍊?
//聽OffsetObject 聽浣嶇疆淇℃伅瀵硅薄
//聽聽length 聽聽鐒︾偣浣嶇疆闀垮害
//聽聽leftValue 聽婊氬姩鏂囨湰妗嗕粠寮濮嬪埌鐒︾偣鎵鍦ㄤ綅緗殑鏂囨湰鍊?br />//聽聽rightValue聽 婊氬姩鏂囨湰妗嗕粠鐒︾偣浣嶇疆鍒扮粨鏉熺殑鏂囨湰鍊?br />//聽聽scrollTop聽聽 婊氬姩妗嗕綅緗?br />//鏇存柊璁板綍:
//聽2007-03-16聽聽jiandeh聽 瀹炵幇鑾峰彇鐒︾偣浣嶇疆淇℃伅鍩烘湰鍔熻兘
//聽
//===================================================
function getOffsetPointer(_mOffset){
聽var OffsetObject = new Object();
聽
聽var _allText = _mOffset.value;聽聽聽聽聽聽聽//杈撳叆妗嗙殑鎵鏈夊?br />聽_mOffset.focus();聽聽聽聽聽聽聽聽聽聽//杈撳叆妗嗚幏寰楃劍鐐?br />聽var s = _mOffset.scrollTop;聽聽聽聽聽聽聽聽//鑾峰緱婊氬姩鏉$殑浣嶇疆
聽var _rOffset = document.selection.createRange();聽聽//鍒涘緩鏂囨。閫夋嫨瀵硅薄
聽var _tOffset = _mOffset.createTextRange();聽聽聽聽//鍒涘緩杈撳叆妗嗘枃鏈璞?br />聽_tOffset.collapse(true);聽聽聽聽聽聽聽聽//灝嗗厜鏍囩Щ鍒板ご
聽聽_tOffset.select();聽聽聽聽聽聽聽聽聽聽//鏄劇ず鍏夋爣
聽聽var _nOffset = document.selection.createRange();聽聽//涓烘柊鐨勫厜鏍囦綅緗垱寤烘枃妗i夋嫨瀵硅薄
聽_rOffset.setEndPoint("StartToStart", _nOffset);聽聽聽//鍦ㄤ互鍓嶇殑鏂囨。閫夋嫨瀵硅薄鍜屾柊鐨勫璞′箣闂村垱寤哄璞?br />聽var _leftText = _rOffset.text;聽聽聽聽聽聽聽//鑾峰緱鏂囨。閫夋嫨瀵硅薄鐨勬枃鏈?浠庨紶鏍囩劍鐐瑰埌鏂囨。寮澶寸殑鏂囨湰)
聽var leftPos = _leftText.length;聽聽聽聽聽聽聽//鏂囨。寮澶村埌榧犳爣鐒︾偣鐨勬枃鏈暱搴?br />聽var _rightText = _allText.substring(leftPos);聽聽聽//鑾峰彇榧犳爣鐒︾偣鍒版枃妗g粨鏉熺殑鏂囨湰
聽
聽OffsetObject.length = leftPos;
聽OffsetObject.scrollTop = s;
聽OffsetObject.leftValue = _leftText;
聽OffsetObject.rightValue = _rightText;
聽
聽return OffsetObject;
}

]]>
主站蜘蛛池模板:
蜜桃精品免费久久久久影院|
亚洲av无码专区国产乱码在线观看|
大陆一级毛片免费视频观看|
亚洲精品美女在线观看播放|
免费无码VA一区二区三区|
亚洲另类激情综合偷自拍图|
亚洲精品视频观看|
四虎国产成人永久精品免费
|
久久国产乱子伦精品免费强|
99在线精品视频观看免费|
亚洲综合色一区二区三区小说|
最近中文字幕免费完整|
亚洲国产成人精品久久|
亚洲黄片手机免费观看|
国产精品亚洲综合专区片高清久久久|
亚洲Av无码一区二区二三区|
无码区日韩特区永久免费系列|
亚洲男人天堂2018av|
在线观看国产情趣免费视频|
免费一级做a爰片久久毛片潮|
不卡一卡二卡三亚洲|
久久午夜免费鲁丝片|
亚洲熟女乱综合一区二区|
国产精品免费看久久久香蕉
|
亚洲一区二区影院|
国产免费伦精品一区二区三区|
国产精品成人免费视频网站京东|
亚洲一卡2卡三卡4卡无卡下载|
欧洲精品99毛片免费高清观看|
亚洲国产精品综合一区在线|
久久成人18免费网站|
亚洲国产精品无码中文字|
一级毛片**免费看试看20分钟|
好看的电影网站亚洲一区|
69式国产真人免费视频
|
国产一级a毛一级a看免费人娇|
妞干网免费视频在线观看|
永久免费精品影视网站|
亚洲综合视频在线|
日本19禁啪啪无遮挡免费动图|
a国产成人免费视频|