-
ÇëÎÊ£¬¹ØÓÚcss½Ø×Ö
Çë½Ì£¬¹ØÓÚcss½Ø×Ö£¡ÓÃ.test{display:inline-block;width:200px;overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis;}·½·¨×ö½Ø×ÖЧ¹û£¬ÔÚµ¥¶ÀÒ³ÃæÖвâÊÔÊÇ¿ÉÒԵġ£µ«ÊÇ·ÅÔÚÏîÄ¿Öк󣬿ØÖƵÄÎı¾È´ÎÞ½Ø×ÖЧ¹û£¬²¢ÇÒʼÖÕ¾Ó×ó¡£ Çë¸ßÊÖÖ¸½Ì£¡ css?...
52
ÈÈ¶È -
ÇëÎÊjsÔõôʵÏÖ½ØÆÁ¹¦ÄÜ
Çë½ÌjsÈçºÎʵÏÖ½ØÆÁ¹¦ÄÜÇëÎÊÈçºÎͨ¹ýJSµ÷ÓÃwindowsµÄ½ØÆÁ¹¦ÄÜ»òÕßÖ±½Óͨ¹ýjsʵÏÖ½ØÆÁ£¿color='#e78608'>------½â¾ö·½°¸-------------------- ̽ÌÖµ±ÉìÊÖµ³µ±¹ßÁË°É¡£Õâµã³£Ê¶¶¼²»¶®¡£
308
ÈÈ¶È -
ASPÔõô½Ø¶Ì×Ö´®
ASPÈçºÎ½Ø¶Ì×Ö´®ASPÈçºÎ½Ø¶Ì×Ö´®¶ÔÖÐÎĵ±Ò»¸ö×Ö·û£¬Ó¢ÎĺͰë½Çµ±°ë¸ö×Ö·û£¬Ð»Ð»ÁË¡£color='#e78608'>------½â¾ö·½°¸--------------------<%FunctionMylen2(txt,length)txt=trim(txt)x=len(txt)y=0ifx>=1thenforii=1toxifasc(mid(txt,ii,1))<0orasc(m...
370
ÈÈ¶È -
android½ØÆÁ¼òÂÔÒýÓÃ
android½ØÆÁ¼òµ¥ÒýÓÃÖ±½Ó¸ø´úÂë°É:packagecom.xy.shot;importandroid.R.color;importandroid.app.Activity;importandroid.graphics.Bitmap;importandroid.graphics.Color;importandroid.graphics.drawable.BitmapDrawable;import...
51
ÈÈ¶È -
É¢·Ö£¬2ÔÂ1ÈÕµ½ÏÖÔÚ¼õÁË10½ï½â¾ö·½°¸
É¢·Ö£¬2ÔÂ1ÈÕµ½ÏÖÔÚ¼õÁË10½ï°ìÁ˸ö½¡Éí¿¨£¬Á·µÃ±È½ÏÇÚ·Ü£¬Ð¡¶Ç×ÓÏûµôÁËһЩ¡£color='#e78608'>------½â¾ö·½°¸--------------------±£³ÖÉí²Ä£¬±£³ÖÁ¼ºÃÐÄ̬color='#e78608'>------½â¾ö·½°¸--------------------»°Ëµ½¡Éí¹óÔÚ¼á³Ö¹§Ï²Â¥Ö÷color='#e78608'>------½â¾ö·½°¸--------------------ÎÒ...
85
ÈÈ¶È -
ÆÁÄ»½ØÆÁ,¸ÃÈçºÎ´¦Àí
ÆÁÄ»½ØÆÁÇëÎʸ÷λwindowmobileϵͳÉÏÔõô½ØÆÁ°¡£¿£¿£¿£¿color='#e78608'>------½â¾ö·½°¸--------------------gdiץȡÆÁÄ»°¡color='#e78608'>------½â¾ö·½°¸--------------------SDKÓиö¹¤¾ß£¬×¨ÃÅÓÃÀ´½ØͼµÄ¡£color='#e78608'>------½â¾ö·½°¸--------------------ÎÒ¼¸ÄêÇ°×öµÄ...
99
ÈÈ¶È -
½Ø´®,¸ÃÈçºÎ½â¾ö
½Ø´®±à³Ì£º±àдһ¸ö½ØÈ¡×Ö·û´®µÄº¯Êý£¬ÊäÈëΪһ¸ö×Ö·û´®ºÍ×Ö½ÚÊý£¬Êä³öΪ°´×Ö½Ú½ØÈ¡µÄ×Ö·û´®¡£µ«ÊÇÒª±£Ö¤ºº×Ö²»±»½Ø°ë¸ö£¬Èç¡°ÎÒABC¡±4£¬Ó¦¸Ã½ØΪ¡°ÎÒAB¡±£¬ÊäÈë¡°ÎÒABCººDEF¡±£¬6£¬Ó¦¸ÃÊä³öΪ¡°ÎÒABC¡±¶ø²»ÊÇ¡°ÎÒABC+ººµÄ°ë¸ö¡±¡£color='#e78608'>------½â¾ö·½°¸-------------------- publicstaticStringsubstr(Stringstr,i...
77
ÈÈ¶È -
ÒÀ¾Ý×Ö½ÚÊý½Ø×Ö
¸ù¾Ý×Ö½ÚÊý½Ø×Ö /** *¸ù¾Ý×Ö½ÚÊý½Ø×Ö * *@paramstr *@paramsubBytes *@return */ publicstaticStringsubStr(Stringstr,intsubBytes){ intbytes=0; for(inti=0;i<str.length();i++){ if(bytes==subBytes){ ...
184
ÈÈ¶È -
½Ø×Ö·û´Ü,¸ÃÈçºÎ´¦Àí
½Ø×Ö·û´Üstringstr={a,b,c,d,e,f};Õ¦Ñù½ØÈ¡c£¬d£¬eÈý¸ö×Ö·ûÄØÇó¶àÖÖ·½·¨£¬Ð»Ð»color='#e78608'>------½â¾ö·½°¸-------------------- str[2]str[3]str[4]
106
ÈÈ¶È -
html ¶ÒÏÖÔÚÏß½ØÆÁ¹¦ÄÜ
htmlʵÏÖÔÚÏß½ØÆÁ¹¦ÄÜÎÒÓÃhtml5×öÒ»¸öwebʱ£¬ÀïÃæÓÐÒ»¸öcanvas£¬ÏÖÔÚÏëµÃµ½Õâ¸öcanvasµÄËõÂÔͼ£¬È»ºó°ÑÕâ¸öËõÂÔͼת³ÉÎļþ±£´æÔÚ·þÎñÆ÷ÖУ¬Õâ¸öÐèÒªÔõôʵÏÖ£¿»òÕßʵÏÖ¶ÔÕâ¸öcanvasÇøÓòʵÏÖ½ØÆÁ£¿¼±Çó¸ßÊÖÖ¸µã£¡£¡£¡color='#e78608'>------½â¾ö·½°¸--------------------×ÔÉíÎÞ·¨ÊµÏÖ£¬Ö»ÄÜʹÓÃÆäËû²å¼þ£¬ÍøÉÏÓÐflash°æµÄ£¬ÇëºÃººÍ¦Ò»·¬ color...
209
ÈÈ¶È -
Ϊɶ Android ½ØÆÁÐèÒª root ȨÏÞ
ΪʲôAndroid½ØÆÁÐèÒªrootȨÏÞAndroid½ØÆÁÎÊÌâ¿´µ½ºÜ¶àÅóÓѶ¼ÓÐÒ»¸öÐèÇó£ºÄǾÍÊǽØÈ¡AndroidµÄÕû¸öÆÁÄ»£¬¶øÇÒ´ó¼Ò¶¼Óöµ½Ò»¸öÏàͬµÄÎÊÌ⣬ûÓÐȨÏÞ¡£ÕâƪÎÄÕÂÖ÷Òª´Ó´úÂëµÄ½Ç¶È·ÖÎö£¬ÎÊʲôÐèҪȨÏÞ£¬ÐèҪʲôÑùµÄȨÏÞ£¿¶Ô½ØÆÁ·½·¨Ò²ÓÐһЩ·ÖÎö£¬»¶Ó´ó¼ÒÌÖÂÛ¡£Android½ØÆÁ--´«Í³·½·¨Ò»°ã×ʼµÄAndroid½ØÆÁ³ÌÐò£¬¶¼ÊÇÀ´Ô´ÓÚLinuxµÄ½ØÆÁ·½·¨£¬androidʹÓõÄLinuxÄںˣ¬...
685
ÈÈ¶È -
µ÷ÓÃWebService½ØÆÁ½â¾ö·½°¸
µ÷ÓÃWebService½ØÆÁÎÒÏëÔÚ±¾»úµ÷ÓÃÁíһ̨µçÄÔµÄwebservice½ØÈ¡ËûµçÄÔµÄÆÁÄ»£¬Õâ¸öwebserviceÔõôд£¿C#code //»ñµÃ×ÀÃæ´°¿ÚµÄÉÏÏÂÎÄ IntPtrdesktopWindow=GetDesktopWindow(); IntPtrdesktopDC=GetDC(desktopWindow); //µÃµ½imageµÄGDI¾ä±ú IntPtrdesktopBitmap=Get...
416
ÈÈ¶È -
µ÷ÓÃWebService½ØÆÁ½â¾ö·½°¸
µ÷ÓÃWebService½ØÆÁÎÒÏëÔÚ±¾»úµ÷ÓÃÁíһ̨µçÄÔµÄwebservice½ØÈ¡ËûµçÄÔµÄÆÁÄ»£¬Õâ¸öwebserviceÔõôд£¿C#code//»ñµÃ×ÀÃæ´°¿ÚµÄÉÏÏÂÎÄIntPtrdesktopWindow=GetDesktopWindow();IntPtrdesktopDC=GetDC(desktopWindow);//µÃµ½imageµÄGDI¾ä±úIntPtrdesktopBitmap=GetCurren...
222
ÈÈ¶È -
aspnetÔõôʵÏÖ½ØÆÁ±£´æͼƬ
aspnetÈçºÎʵÏÖ½ØÆÁ±£´æͼƬ£¿ÎÒÏëÔÚwebÉÏ·ÅÒ»¸ö°´Å¥È»ºóµã»÷°´Å¥½ØÈ¡Õû¸öwebÒ³Ãæ´æ³ÉͼƬ½«Í¼Æ¬±£´æµ½Ö¸¶¨Â·¾¶Ö®ÏÂÕÒÁ˺ö෽·¨ÓÃActiveX¿Ø¼þʵÏÖÁ˵«ÊDz»ÖªµÀFirFoxä¯ÀÀÆ÷°ÃÄÕ²»ÖªµôÔõôʵÏÖÖ¸µãÖ¸µã±»¾Þ3Qcolor='#e78608'>------½â¾ö·½°¸--------------------------------------------------------flashcol...
5844
ÈÈ¶È -
java ½ØÆÁ³ÌÐò,¸ÃÔõô´¦Àí
java½ØÆÁ³ÌÐòBufferedImageimage=robot.createScreenCapture(newRectangle(0,Integer.valueOf(positionx),screenSize.width-100, screenSize.height-Integer.valueOf(positiony)));//½ØÈ¡Õû¸öÆÁÄ»µÄͼÏñ ImageIO.write(imag...
128
ÈÈ¶È -
android´úÂëʵÏÖ½ØÆÁЧÄÜ
android´úÂëʵÏÖ½ØÆÁ¹¦ÄÜandroid¿ª·¢ÖÐͨ¹ýViewµÄgetDrawingCache·½·¨¿ÉÒÔ´ïµ½½ØÆÁµÄÄ¿µÄ£¬Ö»ÊÇȱÉÙ״̬À¸£¡Ôʼ½çÃæ½ØÆÁµÃµ½µÄͼƬ´úÂëʵÏÖ1.Ìí¼ÓȨÏÞ£¨AndroidManifest.xmlÎļþÀ<uses-permissionandroid:name="android.permission.WRITE_EXTERNAL_STORAGE"/&g...
54
ÈÈ¶È -
HTML ÎåÖеĽØÆÁ
HTML5ÖеĽØÆÁ Ò»¶ÎÓÃHTML5+JavascriptµÄ½ØÆÁ´úÂë À´×Ô£ºhttp://www.xpertdeveloper.com/2012/10/webpage-screenshot-with-html5-js/ ? (function(exports){functionurlsToAbsolute(nodeList){if(!nodeList.length){return[];}vara...
334
ÈÈ¶È -
android ½ØÆÁgetDrawingCache()==null½â¾ö˼·
android½ØÆÁgetDrawingCache()==nullBitmapr=mRelayout.getDrawingCache();ÕâÐдúÂë³öÀ´µÄÖµÊÇnull±¾È˲éÁ˺ܶà×ÊÁÏ£¬·¢ÏÖÊÇͼƬ̫´óÒýÆðµÄ¡£µ«ÊÇûÓкõĽâ¾ö·½·¨¡£Çó¸ßÊÖÖ¸µã¡£¡£color='#FF8000'>------½â¾ö·½°¸--------------------²»ÏñÊÇͼƬ̫´ó£¬ÄãbuildDrawingCacheÁËô£¿color=...
54
ÈÈ¶È -
android -ÊÖ»ú½ØÆÁ
android--ÊÖ»ú½ØÆÁ·½Ê½Ò»¡¢µ÷ÓÃGetandSaveCurrentImage()·½·¨¼´¿É/** *»ñÈ¡ºÍ±£´æµ±Ç°ÆÁÄ»µÄ½Øͼ */ privatevoidGetandSaveCurrentImage(){ //¹¹½¨Bitmap WindowManagerwindowManager=getWindowManager(); Displaydisplay=windowManager.getDe...
30
ÈÈ¶È -
android ʹÓà mediarecorder ²ÉժʵʱÊÓƵͨ¹ýrmtp´«Êäµ½Á÷ýÌå·þÎñÆ÷
androidʹÓÃmediarecorder²É¼¯ÊµÊ±ÊÓƵͨ¹ýrmtp´«Êäµ½Á÷ýÌå·þÎñÆ÷ÐèҪʵÏֵŦÄÜ£ºÊµÊ±²É¼¯ÊÓƵºÍÉùÒô£¬Ê¹ÓÃrtmpÐÒé´«Êäµ½Á÷ýÌå·þÎñÆ÷£¬Á÷ýÌåʹÓõÄÊÇ¿ªÔ´µÄred5.»ù±¾ÊµÏÖ˼·£º1¡¢Ê¹ÓÃmediarecorder¼Ïñ£¬Â·¾¶ÉèÖÃΪlocalsocket£¬ÕâÑù¿ÉÒÔÔÚsocketÖлñȡʵʱÊÓƵÁ÷¡£ÊÓƵ¸ñʽÉèÖõÄÊÇH264£¬Ó²¼þÊǶ¨ÖƵģ¬¿ÉÒÔÖ§³ÖH264µÄÓ²±àÂ룬ËùÒÔ»ñÈ¡µ½µÄÊÓƵÁ÷...
146
ÈȶÈ