if(!document.__define_CObjectLoader__) { document.__define_CObjectLoader__ = true /* ÀÛ¼º : ¹é½Â°Ç ³¯Â¥ : 2006.03.22 cmt : ¿ÜºÎ°³Ã¼ ·Îµù Ŭ·¡½º. */ CObjectLoader(); function CObjectLoader() { CObjectLoader.load = function(loadStr) { document.write(loadStr); } } } //__define_CObjectLoader__ /** * ·¹À̾î À̵¿ ½ºÅ©¸³Æ® * Á¦ÀÛÀÚ : iezn(iezn@iezn.com, MSN: iezn@iezn.com) * ȨÆäÀÌÁö : http://iezn.com * * »ç¿ë¹æ¹ý : ȨÆäÀÌÁö ÇÏ´Ü¿¡ new IEZN_quick_menu_simple(object À̵¿ÇÒ·¹À̾î,integer À̵¿½Ã ºê¶ó¿ìÁ®»ó´Ü°üÀÇ offset °ª); * * ÁÖÀÇ»çÇ× * - ¹Ýµå½Ã ·¹À̾îÀÇ position °ªÀº absolute °ªÀ̾î¾ß ÇÕ´Ï´Ù * - ·¹À̾îÀÇ ÃʱâÀ§Ä¡´Â left,top ½ºÅ¸ÀÏ·Î Á¤ÀǵǾî ÀÖ¾î¾ß ÇÕ´Ï´Ù. (º¸ÀÌ´Â À§Ä¡¿¡¼­ ½½¶óÀ̵ù µË´Ï´Ù) * - DOM BASE ·Î Á¦À۵Ǿú±â ¶§¹®¿¡ ¿Ã¹Ù¸£Áö ¾ÊÀº html ÆäÀÌÁö¿¡¼­ ¿¡·¯°¡ ³¯ ¼ö ÀÖ½À´Ï´Ù (¿¹: ÀÌ·±°æ¿ì´Â µå¹°Áö¸¸ body űװ¡ Á¸ÀçÇÏÁö ¾Ê°Å³ª ÇѰ³ÀÌ»ó Á¸ÀçÇÒ°æ¿ì µî..) * - ½½¶óÀ̵ù ·¹À̾ background:url ·Î ¹è°æÀ» À̹ÌÁö·Î »ç¿ëÇÏÁö ¸¶½Ã±â ¹Ù¶ø´Ï´Ù. ½½¶óÀ̵ù½Ã IE ºê¶ó¿ìÁ®¿¡¼­ Áö¼ÓÀûÀ¸·Î ÆÄÀÏÀ» ¿¢¼¼½º ÇÕ´Ï´Ù */ function IEZN_quick_menu_simple(input_obj,move_top){ this.timeId = new Array(); this.div_obj = new Array(); try{ this.input_obj = input_obj; this.input_obj.style.display = 'none'; }catch(e){} var IEZN_quick_menu_counter; IEZN_quick_menu_counter = (typeof(IEZN_quick_menu_counter)=='undefined')? 0:IEZN_quick_menu_counter++; this.counter = IEZN_quick_menu_counter; this.div_obj_top = parseInt(this.input_obj.style.top); this.div_obj_left = parseInt(this.input_obj.style.left); this.div_obj_max_move_top = (move_top)? move_top:this.div_obj_top;//browser top offset this.move(); } IEZN_quick_menu_simple.prototype = { move : function(){ this.div_obj = document.createElement("div"); this.div_obj.id='izqm1'+this.counter; this.div_obj.style.position = 'absolute'; this.div_obj.style.top=this.div_obj_top+'px'; this.div_obj.style.padding='0px'; this.div_obj.style.left=this.div_obj_left+'px'; this.div_obj.style.backgroundColor=(this.input_obj.style.backgroundColor)? this.input_obj.style.backgroundColor:'transparent'; this.div_obj.style.overflow='hidden'; this.div_obj.style.textOverflow='ellipsis'; this.div_obj.style.width=this.input_obj.style.width; this.div_obj.style.border=this.input_obj.style.border; this.div_obj.style.padding=this.input_obj.style.padding; try{ document.body.appendChild(this.div_obj); this.div_obj.innerHTML = this.input_obj.innerHTML; this.move_menu(); }catch(e){alert(e)} }, move_menu : function (){ var obj = this; this.div_obj_start = parseInt(this.div_obj.style.top,10); this.div_obj_end = parseInt(this.scrollTop()) + parseInt(this.div_obj_max_move_top,10); if (this.div_obj_end < parseInt(this.div_obj_top,10)) this.div_obj_end = parseInt(this.div_obj_top,10); if (this.div_obj_start != this.div_obj_end ) { this.div_obj_offset = Math.ceil(Math.abs( this.div_obj_end - this.div_obj_start ) / 15 ); t = parseInt(this.div_obj.style.top, 10) + ((this.div_obj_end