블로그 이미지
푸른_바람

Rss feed Tistory
IT/HTML+JS+CSS+ 2011/01/18 17:30

IE "Error: 800a03e8 오류가 발생하여 작업을 완료할 수 없습니다."

  • Error: 800a03e8 오류가 발생하여 작업을 완료할 수 없습니다.
  • domain.com 인터넷 사이트를 열 수 없습니다.
Window IE8 에서 자주 나타나는 문제인데 해당 문구에 대해서 검색을 해보았습니다.

HTML의 DOM이 모두 로드되기 전에 javascript 가 실행되기 때문에 발생한 문제다. 라고 정의 되어 있습니다.

해결 방법으로는 DOM이 모두 로드되고 난 후에 javascript가 실행되도록 script를 수정해야 한다네요.

그외 DOMREADY 라는 도구가 있습니다. 
<html lang="en">
 <head>
	 <script src="domready.js" type="application/javascript"></script>
	 <script type="application/javascript">
		 DomReady.ready(function() {
		     alert('dom is ready');
		 });
	 </script>
 </head>
 <body>

 </body>
 </html> 
위 방법으로 DOM이 모두 로드되고 난 뒤에 스크립트를 실행이 되도록 js를 개발하면 문제가 없다는건데요.

제가 사용중인 jquery.js에서는 
jQuery(document).ready(function(){ });

일반 js에서는 (function() {}); 를 사용하면 될것 같습니다.

현재 서비스에서 (function() {}); 를 적용하니 문제가 없어졌습니다.

하지만 이런 방법을 사용해도 문제가 된다면 디버깅하기가 힘들어 질거 같네요. ㅡ.ㅡ
저작자 표시 비영리 동일 조건 변경 허락
DOM, javascript, JS
IT/Tech 2010/11/04 08:30

tag cloud 태그 구름 for jquery

참고

[code javascript]
<script language="javascript" type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="http://rohitsengar.cueblocks.net/tag-cloud/jquery.easing.js"></script> <script type="text/javascript" src="http://rohitsengar.cueblocks.net/tag-cloud/jquery.tagcloud.min.js"></script> <script type="text/javascript"> $(function{   $('#tag-cloud').tagCloud(); }); </script> [/code]
실제 적용화면

201.11.27

구글  크롬이 "http://rohitsengar.cueblocks.net" 사이트의 악성코드가 실행된다고 경고문구를 내 보내는군요. 그래서 실제 적용화면은 빼버렸습니다.

'IT > Tech' 카테고리의 다른 글

이클립스용 구글 플러그인 설치  (0) 2010/12/15
CI twitter oauth lib haughin ver3.1 bug  (0) 2010/11/12
tag cloud 태그 구름 for jquery  (0) 2010/11/04
eclipse "java heap space"  (0) 2010/11/03
svn: No repository found in svn://xxx.xxx.xxx.xxx/trunk  (0) 2010/11/02
javascript parse url  (0) 2010/11/01
IT/Tech 2010/11/01 08:30

javascript parse url

참고

[code javascript] // parseUri 1.2.2 // (c) Steven Levithan // MIT License // http://blog.stevenlevithan.com/archives/parseuri // Demo : http://stevenlevithan.com/demo/parseuri/js/ function parseUri (str) { var o = parseUri.options, m = o.parser[o.strictMode ? "strict" : "loose"].exec(str), uri = {}, i = 14; while (i--) uri[o.key[i]] = m[i] || ""; uri[o.q.name] = {}; uri[o.key[12]].replace(o.q.parser, function ($0, $1, $2) { if ($1) uri[o.q.name][$1] = $2; }); return uri; }; parseUri.options = { strictMode: false, key: ["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"], q: { name: "queryKey", parser: /(?:^|&)([^&=]*)=?([^&]*)/g }, parser: { strict: /^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/, loose: /^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/ } }; [/code]

'IT > Tech' 카테고리의 다른 글

eclipse "java heap space"  (0) 2010/11/03
svn: No repository found in svn://xxx.xxx.xxx.xxx/trunk  (0) 2010/11/02
javascript parse url  (0) 2010/11/01
js 함수 및 클래스 존재여부 확인  (0) 2010/10/29
ubuntu apm 설치  (0) 2010/10/21
facebook API Quick Guide (CodeIgniter)  (0) 2010/10/15
IT/Tech 2010/10/29 08:30

js 함수 및 클래스 존재여부 확인

javascript 에서 함수 존재 여부 확인
참고
[code javascript]
if(! window.parseUri instanceof Function) $.getScript('/js/parseUri.js');
[/code]

[code javascript]
Object.prototype.hasFunction = function(funcName) {
return this && this.funcName && this.funcName instanceof Function;
}
[/code]

[code javascript]var myObject = new myObject()
if (myObject.hasFunction("getArea")) {
// to do..
}[/code]

jQuery.isFunction
[code javascript]
jQuery.isFunction(fn);
[/code]

'IT > Tech' 카테고리의 다른 글

svn: No repository found in svn://xxx.xxx.xxx.xxx/trunk  (0) 2010/11/02
javascript parse url  (0) 2010/11/01
js 함수 및 클래스 존재여부 확인  (0) 2010/10/29
ubuntu apm 설치  (0) 2010/10/21
facebook API Quick Guide (CodeIgniter)  (0) 2010/10/15
PHP cURL Multiple Processing  (0) 2010/10/14
IT/Tech 2010/07/31 14:45

javascript 이미지에 그레이스케일(grayscale) 적용

현재 프론트개발은 jquery로 개발중인 관계로 "jquery 이미지 gray 적용"으로 구글링 했습니다.

검색 : jquery 이미지 gray 적용
그레이스케일 소개 페이지 : “GRAYSCALING” IN NON-IE BROWSERS
데모 페이지 : http://james.padolsey.com/demos/grayscale/
소스 : http://james.padolsey.com/demos/grayscale/grayscrle.js/view

사용법
[code javascript]
var el = document.getElementById( 'myEl' );
grayscale( el );

# jQuery 에서 $(this) 가 이미지일 경우 적용
grayscale( $(this) );
[/code]

jQuery Plugin 에서 grayscale 검색 결과 : BlackNWhite 가 검색되긴 하지만 IE 전용입니다. 것도 필터로 gray를 적용하는군요
IT/Tech 2010/03/10 04:30

javascript object 값 출력

[code javascript] dump: function(arr,level) { var dumped_text = ""; if(!level) level = 0; //The padding given at the beginning of the line. var level_padding = ""; for(var j=0; j < level+1; j++) level_padding += " "; if(typeof(arr) == 'object') { //Array/Hashes/Objects for(var item in arr) { var value = arr[item]; if(typeof(value) == 'object') { //If it is an array, dumped_text += level_padding + "'" + item + "' ...\n"; dumped_text += this.dump(value,level+1); } else { dumped_text += level_padding + "'" + item + "' => \"" + value + "\"\n"; } } } else { //Stings/Chars/Numbers etc. dumped_text = "===>"+arr+"<===("+typeof(arr)+")"; } return dumped_text; } [/code]

핵심은 for(var item in arr)

어디서 퍼 왔는지 당췌 기억이.. ^^;;;

'IT > Tech' 카테고리의 다른 글

google 데스크탑 garget에서 myPickup RSS 구독하기  (4) 2010/04/05
naver.com 나눔글꼴 설치  (0) 2010/04/02
javascript object 값 출력  (2) 2010/03/10
me2day api PHP  (7) 2010/02/19
PHP 성능튜닝 IF & Switch 문법  (0) 2010/01/28
프로그램에서 메일수신확인 방법  (0) 2010/01/04
IT/Tech 2008/09/11 14:36

css, javascript 최적화 Tool

1. JavaScript 최적화 도구
2. CSS 최적화 도구
3. 웹 사이트 성능 개선

출처 : http://www.mimul.com/pebble/default/2008/01/29/1201616760000.html

'IT > Tech' 카테고리의 다른 글

ASP Dictionary Object  (0) 2008/10/19
ASP 함수목록  (0) 2008/10/19
css, javascript 최적화 Tool  (0) 2008/09/11
Prototype.js를 제대로 사용하는 방법  (0) 2008/08/31
자바스크립트 라이브러리 목록  (0) 2008/08/31
JAVA-Struts 강좌 링크  (0) 2008/08/13
IT/Tech 2008/03/04 09:33

javascript, css 참고 사이트 모음

아래의 내용은 스크랩한 것입니다. (출처 : http://blog.naver.com/hyde7942)

Tool
aptana:http://www.aptana.com/(강추-이클립스기반)
jsecilpse:http://www.interaktonline.com/Products/Eclipse/JSEclipse/Try-Download/
             (이클립스플러그인-위에꺼가 더좋은것 같음)
GTW : http://code.google.com/webtoolkit/

Javascript Library
Jquery : http://jquery.com/demo/thickbox/
moo.fx : http://www.moofx.mad4milk.net/
dojo toolkit : http://www.dojotoolkit.org/
mochikit : http://www.mochikit.com/about.html
JSPON(JavaScript Persistent Object Notation) : http://www.jspon.org/
qooxdoo : http://qooxdoo.org/
JavascriptLint : http://www.javascriptlint.com/
Yahoo! JavaScript Developer Center : http://developer.yahoo.com/javascript/
Prototype : http://prototype.conio.net/
script.aculo.us : http://script.aculo.us/
javascript manual :http://koxo.com/lang/js/
ajaxpattern : http://ajaxpatterns.org/
dom manual: http://developer.mozilla.org/en/docs/Gecko_DOM_Reference
                  http://developer.mozilla.org/ko/docs/Gecko_DOM_Reference

Javascript Articles
Script.aculo.us Behaviour Driven Development Testing :
http://ajaxian.com/archives/scriptaculous-behaviour-driven-development-testing

New in JavaScript 1.7 :
http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7
The Decorator Pattern for JavaScript :
http://beppu.lbox.org/articles/2006/08/22/the-decorator-pattern-for-javascript
SmoothMovingLayer:
http://hyeonseok.com/pmwiki/index.php/Javascript/SmoothMovingLayer
Transparent Messages in JavaScript:
http://ajaxian.com/archives/transparent-messages-in-javascript
http://firejune.com/index.php?pl=971
A flexible slideshow:
http://www.madb.net/slideshow/
http://smoothslideshow.jondesign.net/index.html
Lessons in JavaScript Performance Optimization:
http://ajaxian.com/archives/lessons-in-javascript-performance-optimization
bytefx: simple effects:
http://ajaxian.com/archives/bytefx-simple-effects
Upgraded jQuery Spy:
http://leftlogic.com/info/articles/jquery_spy2
Dynamic Graphics in the Browser:
http://ajaxian.com/archives/dynamic-graphics-in-the-browser
Yahoo! Browser-Based Authentication:
http://ajaxian.com/archives/yahoo-browser-based-authentication
Fresh Logic Studios Scripts: OO JS
http://ajaxian.com/archives/fresh-logic-studios-scripts-oo-js
Ajax MVC:
http://ajaxian.com/archives/ajax-mvc-so-to-speak
http://www.alexatnet.com/Blog/Index/2006-08-04/javascript-model-view-controller-with-dojo-toolkit
Adventures in JavaScript testing:
http://ajaxian.com/archives/adventures-in-javascript-testing-slides
Ajax & REST :
http://www-128.ibm.com/developerworks/java/library/wa-ajaxarch/
Eliminating async Javascript callbacks by preprocessing :
http://ajaxian.com/archives/eliminating-async-javascript-callbacks-by-preprocessing
IE + JavaScript Performance Recommendations :
http://blogs.msdn.com/ie/archive/2006/08/28/728654.aspx
Dramatically improved IE7 JavaScript performance :
http://ajaxian.com/archives/dramatically-improved-ie7-javascript-performance
http://ajaxian.com/archives/improved-javascript-performance-in-ie7
Scope in JavaScript :
http://www.digital-web.com/articles/scope_in_javascript/
Ajax services :
http://www.agmweb.ca/blog/index.php?p=50
Live Filter :
http://unspace.ca/discover/livefilter/
JavaScript control of throbber :
http://sandbox.sourcelabs.com/wikiality/throbber
Objectifying JavaScript :
http://www.digital-web.com/articles/objectifying_javascript/
Prototype Carousel Widget :
http://ajaxian.com/archives/prototype-carousel-widget
Tracking Ajax Requests in Analytics
http://www.ajax-blog.com/tracking-ajax-requests-in-analytics.html
jQuery Image Gallery: Transitions, thumbnails, reflections
http://ajaxian.com/archives/jquery-image-gallery-transitions-thumbnails-reflections
정규식
http://bluebreeze.co.kr/tag/정규식
Hacking Web 2.0 Applications with Firefox
http://www.securityfocus.com/infocus/1879
Usability for Rich Internet Applications(필히읽어보세요)
http://www.digital-web.com/articles/usability_for_rich_internet_applications/
AJAX Feedback Mechanism
http://www.ibegin.com/blog/p_ajax_feedback_mechanism.html
Making Javascript DOM a Piece of Cake with the graft() Function
http://schf.uc.org/articles/2006/10/15/making-javascript-dom-a-piece-of-cake-with-the-graft-function
Ajax Loding image
http://www.ajaxload.info/
Fixing the Back Button and Enabling Bookmarking for AJAX Apps
http://www.contentwithstyle.co.uk/Articles/38/fixing-the-back-button-and-enabling-bookmarking-for-ajax-apps
Tuning AJAX
http://www.xml.com/lpt/a/2005/11/30/tuning-ajax-performance.html
Ajax indicators
http://www.napyfab.com/ajax-indicators/

CSS Library
각종CSS : http://www.dynamicdrive.com/style/  
W3C 규격 번역문 :http://trio.co.kr/
Yahoo! Design Pattern Library : http://developer.yahoo.com/ypatterns/
Yahoo! UI Library (YUI) : http://developer.yahoo.com/yui/

CSS Articles
Architecting CSS:
http://www.digital-web.com/articles/architecting_css/
transcorners:
http://inviz.ru/moo/meet-transcorners
12 Lessons for Those Afraid of CSS and Standards:
http://ajaxian.com/archives/12-lessons-for-those-afraid-of-css-and-standards
A CSS Crossfader :
http://mikeomatic.net/?p=78
Push my button :
http://www.digital-web.com/articles/push_my_button/
Details on our CSS changes for IE7
http://blogs.msdn.com/ie/archive/2006/08/22/712830.aspx
폼 css
http://www.badboy.ro/articles/2005-07-23/index.php
테이블 css
http://icant.co.uk/csstablegallery/index.php?css=2

출처 : http://legendfinger.com/111

'IT > Tech' 카테고리의 다른 글

JAVA-Struts 강좌 링크  (0) 2008/08/13
기획-싸이월드 이야기  (0) 2008/04/11
javascript, css 참고 사이트 모음  (0) 2008/03/04
nicEditor 사용  (0) 2008/02/25
PHP코딩 최적화  (0) 2007/12/12
IE용 웹 개발 도구 DebugBar  (0) 2007/11/19
IT/Tech 2008/02/25 05:29

nicEditor 사용

<script src="http://js.nicedit.com/nicEdit.js" type="text/javascript"></script>
<script type="text/javascript">
bkLib.onDomLoaded(nicEditors.allTextAreas);
</script>

'IT > Tech' 카테고리의 다른 글

기획-싸이월드 이야기  (0) 2008/04/11
javascript, css 참고 사이트 모음  (0) 2008/03/04
nicEditor 사용  (0) 2008/02/25
PHP코딩 최적화  (0) 2007/12/12
IE용 웹 개발 도구 DebugBar  (0) 2007/11/19
AutoHotKey  (0) 2007/09/11
IT/HTML+JS+CSS+ 2007/05/23 16:38

JavaScript 없이 AJAX 구현하기

좋으면 쓰겠습니다.

견습마법사님의 멘트중...
간단하게 말하자면 ZK는 XUL과 XHTML을 이용해서 AJAX 페이지를 구성해주는 일종의 번역 프레임워크(?-_-)로 보면 될 것 같더군요


more..

'IT > HTML+JS+CSS+' 카테고리의 다른 글

flv 플레이어  (0) 2007/07/19
SVG - CANVAS 태그  (0) 2007/05/24
JavaScript 없이 AJAX 구현하기  (0) 2007/05/23
불여우 XUL Hello World  (0) 2007/05/23
웹개발 표준정의서 - 참조자료  (0) 2007/05/21
플래쉬(Flash) 위에 레이어(DIV) 출력  (0) 2007/03/01
javascript, XML, zk
TOTAL 245,655 TODAY 22