部落格文章訂閱


貧窮不能等,因為時間久了,你就會貧窮習慣了;
夢想不能等,因為努力晚了,人老就無能為力了;
學習不能等,因為懂得少了,就沒本事夢想成真了;
健康不能等,因為身體垮了,人生的一切就都沒了。


自訂搜尋

找不到想要的文章嗎? 請直接再下面的搜尋框裡輸入要查詢文章內容關鍵字 ,就能夠更快速的取得想要閱讀的問題喔~~謝謝大家的支持與愛護~若有任何建議事項, 歡迎透過留言板留言給我喔!!


  • 你不能決定生命的長度,但可以控制它的寬度;
  • 你不能左右天氣,但可以改變心情;
  • 你不能改變容顏,但可以展現笑容;
  • 你不能控制他人,但可以掌握自己;
  • 你不能預知明天,但可以利用今天;
  • 你不能樣樣勝利,但可以事事盡力。

free counters

目前日期文章:201203 (6)

瀏覽方式: 標題列表 簡短摘要

The following JavaScript is used to detect the Internet Explorer version 8, 7 or 6. It’s returned -1 if the browser is not Internet Explorer.

function getInternetExplorerVersion()
// Returns the version of Windows Internet Explorer or a -1
// (indicating the use of another browser).
{
   var rv = -1; // Return value assumes failure.
   if (navigator.appName == 'Microsoft Internet Explorer')
   {
      var ua = navigator.userAgent;
      var re  = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
      if (re.exec(ua) != null)
         rv = parseFloat( RegExp.$1 );
   }
   return rv;
}
function checkIEVersion()
{
   var msg = "You're not using Windows Internet Explorer.";
   var ver = getInternetExplorerVersion();
   if ( ver> -1 )
   {
      if ( ver>= 8.0 )
         msg = "You're using Windows Internet Explorer 8.";
      else if ( ver == 7.0 )
          msg = "You're using Windows Internet Explorer 7.";
      else if ( ver == 6.0 )
          msg = "You're using Windows Internet Explorer 6.";
      else
          msg = "You should upgrade your copy of Windows Internet Explorer";
    }
   alert( msg );

Reference

http://msdn.microsoft.com/en-us/library/cc817582.aspx

http://www.mkyong.com/javascript/how-to-detect-ie-version-using-javascript/


文章標籤

Frank 發表在 痞客邦 PIXNET 留言(0) 人氣()

Q:

How do I make Vi-Vim never use tabs (converting spaces to tabs, bad!), makes the tab key == 4 spaces, and automatically indent code after curly brace blocks like emacs does?

Also, how do I save these settings so I never have to input them again.

I've seen other questions related to this but it always seems to be a little off from what I want.

文章標籤

Frank 發表在 痞客邦 PIXNET 留言(0) 人氣()

每天都自我激勵一次吧!這世界是非常的美好的

// 小女生版

文章標籤

Frank 發表在 痞客邦 PIXNET 留言(0) 人氣()

Question:

I have one small problem i.e. one textbox is their when click on the text box the popup is shows below the text box.The popup contains celltable

i write keypresslisner for textbox when i press Down And UP arrow the focus is set to be cellTable And also we still press down and up arrows its highlites the rows in celltable

Ans:

文章標籤

Frank 發表在 痞客邦 PIXNET 留言(0) 人氣()

I bought a Transcend memory stick and tried to use it in my mac. The stick is described as compatible to OS X but I was not able to use the stick out of the box.

This is caused by the stupid software which is installed on my stick. First of all the stick is write protected and Transcend installed a Trend Micro Virus Scanner which is mounted as CD drive.

The removal of this combination took hours of my time.
After searching around i found the solution on seasonsecurity.com where it is described in this thread>>

Frank 發表在 痞客邦 PIXNET 留言(0) 人氣()

Q: How to get Minimum or Maximum value in Java array?

A: 

public static int getMaxValue(int[] numbers){

int maxValue = numbers[0];

文章標籤

Frank 發表在 痞客邦 PIXNET 留言(0) 人氣()

找更多相關文章與討論