[jquery] 구글 jquery 호스팅 정보
jQuery [jquery] 구글 jquery 호스팅본문
한 2년 됬나 ? ;
그래도 모르시는 분들을 위한 팁
구글에서 유명한 라이브러리들을 모아서 호스팅 서비스를 해주고있는데요.
보통 내버서에 jquery 와 jquery ui 들을 설치해서 사용해도 되지만 javascript의 트래픽이 문제가 된다거나
그냥 간단히 테스트 해본다거나 할때 사용 하면 좋더라구요.
사용법 1 구글 api => 사용 라이브러리 로드
<script src="http://www.google.com/jsapi"></script> <script type="text/javascript">
// Load jQuery
google.load("jquery", "1.2.6");
google.setOnLoadCallback(function()
{
//로드 후 사용자 스크립트를 넣으시면 되요
});
</script>
사용법 2 직접 로드
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript">/script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript">/script>
더 자세한 정보를 얻고싶으시면
추천
2
2
댓글 3개

좋은 정보 감사합니다.
감사합니다 ^^
CDN HOSTED JQUERY
(GOOGLE) http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
(MICROSOFT) http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1.min.js
(MEDIA TEMPLE) http://code.jquery.com/jquery-1.7.1.min.js
(GOOGLE) http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
(MICROSOFT) http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1.min.js
(MEDIA TEMPLE) http://code.jquery.com/jquery-1.7.1.min.js