<script language="Javascript">
/****************************************************************************** * ¸¸µç¸ñÀû: JS ·Ñ¸µ; * ¸¸µçÀÌ:Çã¿õ [comefeel]; * Á¦À۽ð£:ÃÑ 7~8½Ã°£; * JS °æ·Â:ÇöÀç 6°³¿ùÂ÷ -..-; ÃÊÇãÁ¢; * last update:2007.01 * igear.co.kr µµ¿ÍÁغР[zeldign] ÇÃ¸Ó 12³âÂ÷; * e-mail : igearmall.co.kr <comefeel@daum.net> <a href=mailto:comefeel@comefeel.com>comefeel@comefeel.com</a> µµ ÀÖÁö¸¸ ÇöÀç ¾ÈµÊ ; * ÀÌ°ÍÀ» »ç¿ëÇÒ·Á°í Çҽÿ¡ ÁÖ¼®À» Áö¿ì¸é »ç¿ëÇÒ¼ö ¾øÀ½; * ÇãÁ¢ÇÑ ¼Ò½º¸¦ º¸°í -_-+ ¸Ó¶ó°í Çϸé ÂϾư¨; * ** */
var roll_Class=function(){this.initialize.apply(this,arguments);} roll_Class.prototype={
initialize:function(){
this.className=arguments[0]?arguments[0]:null; this.foundit(arguments[1],'',false); this.contents=new Array('0'); this.contents_delay=null; this.nowdelay=null; this.foundit( this.roll.childNodes,this.foundvalue , function(rt,that){
if(that.constrain_size !== null) that.foundit(rt.childNodes,'IMG',function(rt,that){rt.style[(this.moving != 'left' ? 'width' : 'height')] = that.constrain_size;}); that.contents_delay=that.contents[that.contents.length]=that.contents_delay+-rt[(that.moving=='left'?'offsetWidth':'offsetHeight')];});
{ this.rollHeight=this.proll.style[(this.moving=='left'?'width':'height')]=Math.abs(this.contents[this.contents.length-1]); this.roll.appendChild(this.roll.cloneNode(true)); };},
foundit:function(tg,n){
var temp=new Array();
for(var v in tg) switch(typeof arguments[2]){ case 'object':if(arguments[2].initialize(tg[v],n,this)==true) return; else break; case 'function':if(tg[v].nodeName==n) arguments[2](tg[v],this); break; case 'boolean':this[v]=tg[v]; break; default:if(tg[v].nodeName==n) return tg[v]; }
return temp;},
inaction:function(time){
this.roll.style[this.moving]=time=time < 0 ?(this.fall==false && time <= -this.rollHeight?0:time):-this.rollHeight,null; this.foundit(this.contents,time,{initialize:function(rt,vrt,that){if(Math.abs(rt - vrt) <(that.fast==false?that.tick:that.ftick)){that.roll.style[that.moving]=rt; that.nowdelay=that.fast==true?that.lengthen:that.delay; that.fast=false; return true;} else that.nowdelay=that.lengthen;}}); {var ticks=this.fast==true?this.ftick:this.tick;} this.control=setTimeout(this.className+".inaction("+(parseInt(this.roll.style[this.moving])+(this.fall==true?ticks:-ticks))+");",this.nowdelay);},
stop:function(){
this.temp=parseInt(this.roll.style[this.moving]); clearTimeout(this.control);} };
</script> <!-- °¡·Î·Ñ¸µ ¼ÀÇà -->
<table> <tr>
<td width="3" height="123" background="./img/move_left.gif" style="padding:0px 0px 0px 12px;cursor:pointer" style="cursor:pointer" onclick="width_class.fall=false;width_class.fast=true;"></td> <td>
<div id="parent_rolltable" name="parent_rolltable" style="border-width:1px; border-color:black; border-style:solid; overflow:hidden;" onmouseover="width_class.stop();" onmouseout="width_class.inaction(width_class.temp);"> <nobr id="rolltable" name="rolltable" style="position:relative;"><span><img src="./img/banner_sample01.jpg"></span><span><img src="./img/banner_sample02.jpg"></span><span><img src="./img/banner_sample03.jpg"></span><span><img src="./img/banner_sample04.jpg"></span><span><img src="./img/banner_sample05.jpg"></span></nobr> </div>
</td><td width="3" height="123" background="./img/move_right.gif" style="padding:0px 0px 0px 12px;cursor:pointer" onclick="width_class.fall=true;width_class.fast=true;"></td> </td> </tr> </table>
<br />
<!-- ¼¼·Î·Ñ¸µ ¼ÀÇà -->
<table border="0" cellpadding="0" cellspacing="0">
<tr> <td align="center"><img src="./img/bt_ps_today.gif" width="80" height="27" alt="" style="cursor:pointer" onclick="height_class.fall=false;height_class.fast=true;"/></td> </tr>
<tr> <td align="center"> <img src="./img/bt_ps_prev.gif" width="25" height="8" alt="" style="cursor:pointer" onclick="height_class.fall=false;height_class.fast=true;" /> </td> </tr>
<tr> <td>
<div id="parent_rolltable1" name="parent_rolltable1" style="border-width:1px; border-color:white; border-style:solid; overflow:hidden;text-overflow:ellipsis;" onmouseover="height_class.stop();" onmouseout="height_class.inaction(height_class.temp);"> <nobr id="rolltable1" name="rolltable1" style="position:relative;">
<div style="text-align:center; padding-bottom:5px;"> <img src="./img/sign.gif" border="0"> </div> <div style="text-align:center; padding-bottom:5px;"> <img src="./img/card.gif" border="0"> </div> <div style="text-align:center; padding-bottom:5px;"> <img src="./img/10persale_scbanner.gif" border="0"> </div> <div style="text-align:center; padding-bottom:5px;"> <img src="./img/afterboard_scbanner.gif" border="0"> </div> <div style="text-align:center; padding-bottom:5px;"> <img src="./img/100perguide_scbanner.gif" border="0"> </div>
</nobr> </div>
</td> </tr>
<tr> <td align="center"> <img src="./img/bt_ps_next.gif" width="25" height="8" alt="" style="cursor:pointer" onclick="height_class.fall=true;height_class.fast=true;" /> </td> </tr> <tr> <td height="20" align="center" valign="middle" bgcolor="#75BD2F" style="cursor:pointer" onclick="height_class.fall=true;height_class.fast=true;">
</td> </tr> <tr> <td align="center"><img src="./img/img_ps_bottom.gif" width="85" height="5" alt="" /></td> </tr> </table>
<!-- µð¹ö±×
<table> <tr> <td> <iframe id="scv" name="scv" width="700" height="1000"></iframe> </td> </tr> </table>-->
<script language="Javascript">
{
// °¡·Î·Ñ¸µ ¼³Á¤Å° var roll_init=new Array(); roll_init.constrain_size=null; // ÀüüÀÇ ³ôÀÌ°ª [±âº» default] roll_init.tick=1; // ¿òÁ÷À̴ ļö roll_init.ftick=10; // ºü¸¥ ¿òÁ÷À̴ ļö roll_init.lengthen=10; // 1ÃÊ´ç ¿òÁ÷ÀÌ´Â ¼Óµµ roll_init.delay=1000; // Àá½Ã¸ØÃã ¼Óµµ roll_init.fall=true; // À̵¿ ¹Ý´ë·Î ¼³Á¤ ~ roll_init.fast=false; // ºü¸¥¼Óµµ:true ´Â on À̸ç,false ´Â off ÀÌ´Ù. roll_init.foundvalue = 'SPAN'; // Nobr ³»ºÎ¿¤¸®¸àÆ® roll_init.moving='left'; // »óÇÏÁÂ¿ì ¿òÁ÷ÀÓ ¼³Á¤ roll_init.roll=document.getElementById('rolltable'); // roll roll_init.proll=document.getElementById('parent_rolltable'); // proll
};
{
// °¡·Ñ·Ñ¸µ ¼±¾ðºÎºÐ
var width_class=new roll_Class('width_class',roll_init); width_class.inaction();
};
{
// ¼¼·Î·Ñ¸µ ¼³Á¤Å° var roll_init1=new Array(); roll_init1.constrain_size=null; // ÀüüÀÇ ³ÐÀÌ°ª [±âº» default] roll_init1.tick=1; // ¿òÁ÷À̴ ļö roll_init1.ftick=10; // ºü¸¥ ¿òÁ÷À̴ ļö roll_init1.lengthen=10; // 1ÃÊ´ç ¿òÁ÷ÀÌ´Â ¼Óµµ roll_init1.delay=1000; // Àá½Ã¸ØÃã ¼Óµµ roll_init1.fall=true; // À̵¿ ¹Ý´ë·Î ¼³Á¤ ~ roll_init1.fast=false; // ºü¸¥¼Óµµ:true ´Â on À̸ç,false ´Â off ÀÌ´Ù. roll_init1.foundvalue = 'DIV'; // Nobr ³»ºÎ¿¤¸®¸àÆ® roll_init1.moving='top'; // »óÇÏÁÂ¿ì ¿òÁ÷ÀÓ ¼³Á¤ roll_init1.roll=document.getElementById('rolltable1'); // roll roll_init1.proll=document.getElementById('parent_rolltable1'); // proll };
{
// ¼¼·Î·Ñ¸µ ¼±¾ðºÎºÐ var height_class=new roll_Class('height_class',roll_init1); height_class.inaction();
};
</script>
</body> </html>
|