ÀÚ¹Ù½ºÅ©¸³Æ®¿¡ ÇØÇǼַç¼ÇÀÇ ÅÛÇø´(¸Å¹°Ãßõ-»çÁøÃßÃâµÇ´Â°Í)À» ÀÌ¿ëÇÒ·Á°íÇØ¿ä
ÇÏ´Ù°¡ ½Ã°£¾öûÀâ¾Æ¸Ô°í ¾ÈµÇ¼ Áú¹®µå¸³´Ï´Ù.¹æ¹ýÁ» °¥ÄÑÁÖ¼¼¿ä ÀÚ²Ù ÀÌ»óÇÏ°Ô ³ª¿À³×¿ä
ÀÌ·±Çüųª¿À´Â ½ºÅ©¸³Æ®°¡ ÇÑ°³´õ ÀÖ´øµ¥ ¾Æ·¡¿Í´Â Ʋ¸®°Ô ·¹À̾ ¾ø´Â°Åµçµ¥ ±×°Å¸¦ ÀÌ¿ëÇØ¾ß µÇ´ÂÁö ÀÏ´Ü µÑ´Ù ¿Ã·Áº¸²²¿ä ¹æ¹ýÁ» °¥ÄÑÁÖ¼¼¿ä ºÎŹµå¸³´Ï´Ù.
<script language="JavaScript1.2">
<!--
//Specify the slider's width (in pixels)
var sliderwidth=300
//Specify the slider's height (in pixels, pertains only to NS)
var sliderheight=200
//Specify the slider's scroll speed (larger is faster)
var slidespeed=3
//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<a href=" http://À̵¿ÇÒÁÖ¼Ò"><img src="À̹ÌÁö1 °æ·Î³ª ÁÖ¼Ò" border=0></a>'
leftrightslide[1]='<a href=" http://À̵¿ÇÒÁÖ¼Ò"><img src="%¸Å¹°-ÆäÀÌÁö´ç2°³-°¡·Î2°³-Á¦¸ñ±æÀÌ2ÀÚ-Àüü-Àüü-Àüü-Àüü-ÇÁ¸®¹Ì¾ö¸Å¹°-memool_rows_onlyphoto.html-¸Å¹°%" border=0></a>'
leftrightslide[2]='<a href=" http://À̵¿ÇÒÁÖ¼Ò"><img src="À̹ÌÁö1 °æ·Î³ª ÁÖ¼Ò" border=0></a>'
leftrightslide[3]='<a href=" http://À̵¿ÇÒÁÖ¼Ò"><img src="À̹ÌÁö1 °æ·Î³ª ÁÖ¼Ò" border=0></a>'
leftrightslide[4]='<a href=" http://À̵¿ÇÒÁÖ¼Ò"><img src="À̹ÌÁö1 °æ·Î³ª ÁÖ¼Ò" border=0></a>'
///////do NOT edit pass this line////////////////////////////////////
var copyspeed=slidespeed
//copy contents of leftrightslide into one variable
for (i=0;i<leftrightslide.length;i++)
finalslide=finalslide+leftrightslide[i]+" "
if (document.all){
//dynamically write out the marquee tag
document.write('<marquee id="ieslider" scrollAmount=0 style="width:'+sliderwidth+'">'+finalslide+'</marquee>')
//stop marquee when mouse is over it
ieslider.onmouseover=new Function("ieslider.scrollAmount=0")
//re-enable marquee when mouse is out
ieslider.onmouseout=new Function("if (document.readyState=='complete') ieslider.scrollAmount=slidespeed")
}
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
document.ns_slider01.visibility="show"
setTimeout("window.onresize=regenerate",300)
intializeleftrightslide()
}
if (document.all)
ieslider.scrollAmount=slidespeed
}
//NS specific function for initializing slider upon page load
function intializeleftrightslide(){
document.ns_slider01.document.ns_slider02.document.write('<nobr>'+finalslide+'</nobr>')
document. ns_slider01.document.ns_slider02.document.close()
thelength=document.ns_slider01.document.ns_slider02.document.width
scrollslide()
}
//NS specific function for sliding slideshow
function scrollslide(){
if (document.ns_slider01.document.ns_slider02.left>=thelength*(-1)){
document.ns_slider01.document.ns_slider02.left-=slidespeed
setTimeout("scrollslide()",100)
}
else{
document.ns_slider01.document.ns_slider02.left=sliderwidth
scrollslide()
}
}
window.onload=regenerate2
//-->
</script>
<ilayer width=&{sliderwidth}; height=&{sliderheight}; name="ns_slider01" visibility=hide><layer name="ns_slider02" onMouseover="slidespeed=0;" onMouseout="slidespeed=copyspeed" id="layer1" left="50" top="50" width="300" height="300" z-index="1"></layer></ilayer>
<script language="JavaScript1.2">
/* =========================================== */
/* This code has been tested in */
/* Internet Explorer 6, FireFox 1, */
/* Netscape 7, Opera 7, and eBay */
/* =========================================== */
; var AuctionThum=new Array()
; var AuctionLink=new Array()
; var AuctionDesc=new Array()
; var ImgWidRatio=new Array()
; ImgWidRatio[0]="1.333"
;
; AuctionThum[1]="img src="%¸Å¹°-ÆäÀÌÁö´ç2°³-°¡·Î2°³-Á¦¸ñ±æÀÌ2ÀÚ-Àüü-Àüü-Àüü-Àüü-ÇÁ¸®¹Ì¾ö¸Å¹°-memool_rows_onlyphoto.html-¸Å¹°%"
; AuctionLink[1]="http://www.happycgi.com"
; AuctionDesc[1]=""
; AuctionThum[2]="http://demo.happycgi.com/jini/pick2.jpg"
; AuctionLink[2]="http://www.happycgi.com"
; AuctionDesc[2]=""
; AuctionThum[3]="http://demo.happycgi.com/jini/pick3.jpg"
; AuctionLink[3]="http://www.happycgi.com"
; AuctionDesc[3]=""
; AuctionThum[4]="http://demo.happycgi.com/jini/pick4.jpg"
; AuctionLink[4]="http://www.happycgi.com"
; AuctionDesc[4]=""
; AuctionThum[5]="http://demo.happycgi.com/jini/pick5.jpg"
; AuctionLink[5]="http://www.happycgi.com"
; AuctionDesc[5]=""
; AuctionThum[6]="http://demo.happycgi.com/jini/pick6.jpg"
; AuctionLink[6]="http://www.happycgi.com"
; AuctionDesc[6]=""
; AuctionThum[7]="http://demo.happycgi.com/jini/pick7.jpg"
; AuctionLink[7]="http://www.happycgi.com"
; AuctionDesc[7]=""
; AuctionThum[8]="http://demo.happycgi.com/jini/pick8.jpg"
; AuctionLink[8]="http://www.happycgi.com"
; AuctionDesc[8]=""
; AuctionThum[9]="http://demo.happycgi.com/jini/pick9.jpg"
; AuctionLink[9]="http://www.happycgi.com"
; AuctionDesc[9]=""
; AuctionThum[10]="http://demo.happycgi.com/jini/pick10.jpg"
; AuctionLink[10]="http://www.happycgi.com"
; AuctionDesc[10]=""
; AuctionThum[11]="http://demo.happycgi.com/jini/pick11.jpg"
; AuctionLink[11]="http://www.happycgi.com"
; AuctionDesc[11]=""
;
; var scrollspeed ="40" //½ºÅ©·Ñ ¼Óµµ
; var borderd ="1px" //º¸´õµÎ²²
; var slideborder ="#555555" //º¸´õ»ö»ó
; var slidebgcolor="#ffffff" //¹è°æ»ö»ó
; var textcolor ="#222222" //ÅؽºÆ® »ö»ó
; var gallerywidth="500" //½½¶óÀÌ´õ °¡·ÎÅ©±â
;
var slider1, slider2, maxWid=0; var sliderwidth=0;
var quot="'"; var scrollamount=-1; var thCnt=0;
var CrossSellimages=new Array();
for (var i=1; i<=AuctionThum.length; i++){if (AuctionThum[i]){thCnt++;
if (!ImgWidRatio[i]) {ImgWidRatio[i]=ImgWidRatio[0]};
CrossSellimages[thCnt]='<a href="'+AuctionLink[i]+'" target=_blank>'+
'<img src="'+AuctionThum[i]+'" width="'+Math.round(64*ImgWidRatio[i])+'" height="64" hspace="2" vspace="4" border="0" '+
' onmouseover="thumbwow(this.alt,this.offsetLeft,this.offsetWidth,'+quot+AuctionDesc[i]+quot+')" '+
' title="" alt="'+i+'" ></a>';
sliderwidth=sliderwidth+Math.round((64*ImgWidRatio[i])+4);
if (ImgWidRatio[i]>maxWid){maxWid=ImgWidRatio[i]}
}};
var sliderheight="88";
var CrossSellStrip='<nobr>'+CrossSellimages.join("")+'</nobr>';
if (sliderwidth-maxWid*64<parseInt(gallerywidth)){gallerywidth=Math.abs(sliderwidth-maxWid*64)}
function setupGallery(){
document.write('<table border="0" cellspacing="0" cellpadding="0" style="position:relative; border:'+borderd+' '+slideborder+' solid; background-color:'+slidebgcolor+'; width:'+(parseInt(gallerywidth)+2)+'px; height:90px;"><tr><td valign="top" align="center">');
document.write('<div style="position:relative;width:'+gallerywidth+'px;height:89px;overflow:hidden;">');
document.write('<div style="position:absolute;left:0px;bottom:0px;width:'+gallerywidth+'px;height:89px;" onMouseover="scrollamount=0" onMouseout="scrollamount=-1">');
document.write('<div id="slidegroup1" style="position:absolute;left:0px;bottom:5px;"></div>');
document.write('<div id="slidegroup2" style="position:absolute;left:-1000px;bottom:5px;"></div>');
document.write('<div id="blowup" style="position:absolute;left:0px;bottom:0px;visibility:hidden;border:1px '+slideborder+' solid;" onmouseout="unwow()"></div>');
document.write('</div></div>');
document.write('</td></tr><tr><td align="center" id="slidelabel" style="padding:2px; font-family:sans-serif; font-size:14px; font-weight:normal; color:'+textcolor+'">');
document.write(' ');
document.write('</td></tr></table>');
};
function loadimages(){
slider1=document.getElementById("slidegroup1");
slider2=document.getElementById("slidegroup2");
slider1.innerHTML=CrossSellStrip;
slider2.innerHTML=CrossSellStrip;
slider2.style.left=""+sliderwidth+"px";
startaction=setInterval("slideleft()",parseInt(scrollspeed));
};
function slideleft(){
if (parseInt(slider1.style.left)>(sliderwidth*(-1)))
{slider1.style.left=(parseInt(slider1.style.left)+scrollamount)+"px"}
else
{slider1.style.left=(parseInt(slider2.style.left)+sliderwidth+scrollamount)+"px"}
if (parseInt(slider2.style.left)>(sliderwidth*(-1)))
{slider2.style.left=(parseInt(slider2.style.left)+scrollamount)+"px"}
else
{slider2.style.left=(parseInt(slider1.style.left)+sliderwidth)+"px"}
};
function thumbwow(num,thumOffset,thumSize,label){
if (parseInt(slider1.style.left)<=0){
if (thumOffset+parseInt(slider1.style.left)>0-thumSize){leftstart=thumOffset+parseInt(slider1.style.left)}else{leftstart=thumOffset+parseInt(slider2.style.left)}
}
else {
if (thumOffset+parseInt(slider2.style.left)>0-thumSize){leftstart=thumOffset+parseInt(slider2.style.left)}else{leftstart=thumOffset+parseInt(slider1.style.left)}
};
document.getElementById("blowup").style.left=leftstart+0+(Math.round((thumSize-thumSize/0.8-2)/2))+"px";
document.getElementById("blowup").innerHTML='<a href="'+AuctionLink[num]+'" title="'+label+'" target=_blank>'+
'<img src="'+AuctionThum[num]+'" height="80" border="0" ></a>';
document.getElementById("blowup").style.visibility="visible";
document.getElementById("slidelabel").innerHTML=label;
};
function unwow(){document.getElementById("blowup").style.visibility="hidden";
document.getElementById("slidelabel").innerHTML=document.getElementById("slidelabel").title
};
setupGallery();
loadimages();
</script>