테스트 사이트 - 개발 중인 베타 버전입니다

퍼블리싱 고수님들 도와좀 주세요 ㅠㅠ 채택완료

초보입니다1 8년 전 조회 1,741

안녕하세요 질문좀 드리겠습니다



https://sir.kr/g5_skin/7520">https://sir.kr/g5_skin/7520


위링스 소스를 사용할려구하는데요 

옆에 버튼이 왼쪽에 가있는데 오른쪽으로 가게 하고픈데 어떻게 해야하나요 

알려주시면 정말 감사하겠습니다 ㅠㅠ;


</p><p><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"</p><p>"<a href="<a href="http://www.w3.org/TR/html4/loose.dtd" target="_blank" rel="noopener noreferrer">http://www.w3.org/TR/html4/loose.dtd</a>"><a href="http://www.w3.org/TR/html4/loose.dtd" target="_blank" rel="noopener noreferrer">http://www.w3.org/TR/html4/loose.dtd</a></a>"></p><p><html></p><p><head></p><p><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></p><p><title>무제 문서</title></p><p><style></p><p>.image_list {overflow: hidden;position: relative;height: 330px;width: 800px; border:1px solid #e1e1e1; cursor:pointer;}</p><p>.image_list .images {position:absolute; display:none; }</p><p>ul, li {list-style:none; margin:0; padding:0;}</p><p>.ul_label {width:800px;cursor:pointer;}</p><p>.ul_label li {width:270px;height:50px;text-align:center;}</p><p>.ul_label li.fir {width:270px;margin:0 auto;}</p><p>
</p><p>.no_label {width:800px;cursor:pointer;}</p><p>.no_label li {width:270px;height:50px;float:center;}</p><p>
</p><p>
</p><p>.ul_label li.labelOverClass {width:270px;height:50px; text-align:center;font-weight:bold;background-image: url('images/temp/top_banner1_on.gif');}</p><p>.ul_label li.labelOverClass1 {width:270px;height:50px; text-align:center;font-weight:bold;background-image: url('images/temp/top_banner2_on.gif');}</p><p>.ul_label li.labelOverClass2 {width:270px;height:50px; text-align:center;font-weight:bold;background-image: url('images/temp/top_banner3_on.gif');}</p><p>.ul_label li.labelOverClass3 {width:270px;height:50px; text-align:center;font-weight:bold;background-image: url('images/temp/top_banner4_on.gif');}</p><p>.ul_label li.labelOverClass4 {width:270px;height:50px; text-align:center;font-weight:bold;background-image: url('images/temp/top_banner5_on.gif');}</p><p>.ul_label li.labelOverClass5 {width:270px;height:50px; text-align:center;font-weight:bold;background-image: url('images/temp/top_banner6_on.gif');}</p><p>
</p><p></style></p><p><script type="text/javascript"></p><p><!--</p><p> </p><p>
</p><p>function RollImage(json){</p><p><span style="white-space:pre">	</span>//À̹ÌÁö ·Ñ¸µ ¼³Á¤°ª</p><p><span style="white-space:pre">	</span>var config = {</p><p><span style="white-space:pre">		</span>currentImg : 0,</p><p><span style="white-space:pre">		</span>nextImg : 1,</p><p><span style="white-space:pre">		</span>listArea : e(json.list_area),</p><p><span style="white-space:pre">		</span>imageList : e(json.list_area).getElementsByTagName("DIV"),</p><p><span style="white-space:pre">		</span>imgCnt : e(json.list_area).getElementsByTagName("DIV").length-1, //0ºÎÅÍ ½ÃÀÛ</p><p><span style="white-space:pre">		</span>rollTime : json.roll_time,</p><p><span style="white-space:pre">		</span>moveTime : json.move_time,</p><p><span style="white-space:pre">		</span>coordX1 : 0,</p><p><span style="white-space:pre">		</span>coordX2 : e(json.list_area).offsetWidth,</p><p><span style="white-space:pre">		</span>coordY : e(json.list_area).offsetHeight,</p><p><span style="white-space:pre">		</span>moveAt : json.moveAt,</p><p><span style="white-space:pre">		</span>direction : json.direction,</p><p><span style="white-space:pre">		</span>label : e(json.label),</p><p><span style="white-space:pre">		</span>labelType : json.labelType</p><p><span style="white-space:pre">	</span>};</p><p><span style="white-space:pre">	</span></p><p><span style="white-space:pre">	</span>labelBind(config); //¶óº§(¹öư) ¹ÙÀεå</p><p><span style="white-space:pre">	</span>setRoll(config); //·Ñ¸µ ½ÃÀÛ</p><p><span style="white-space:pre">	</span>rollPause(config); //¸¶¿ì½º ¿À¹ö½Ã ·Ñ¸µ ¸ØÃã</p><p><span style="white-space:pre">	</span></p><p><span style="white-space:pre">	</span>//À̹ÌÁö ·Ñ¸µ ±âº» ¼¼ÆÃÇϱâ</p><p><span style="white-space:pre">	</span>function setRoll(c){</p><p><span style="white-space:pre">		</span>c.coordX1 = 0;</p><p><span style="white-space:pre">		</span>c.coordX2 = c.listArea.offsetWidth;</p><p><span style="white-space:pre">		</span>c.coordY = c.listArea.offsetHeight;</p><p>
</p><p><span style="white-space:pre">		</span>if(c.direction=="right" || c.direction=="down"){</p><p><span style="white-space:pre">			</span>c.coordX2 = c.coordX2 * -1;</p><p><span style="white-space:pre">			</span>c.coordY = c.coordY * -1;</p><p><span style="white-space:pre">		</span>}</p><p><span style="white-space:pre">		</span></p><p><span style="white-space:pre">		</span>c.imageList[c.nextImg].style.display = "block";</p><p><span style="white-space:pre">		</span>setPosition(c);</p><p><span style="white-space:pre">		</span>rollOver(c)</p><p><span style="white-space:pre">		</span>//c.imageList[c.nextImg].style.left = c.coordX2+"px";</p><p><span style="white-space:pre">		</span></p><p><span style="white-space:pre">		</span>c.rollTimer = setTimeout(function(){imgMove(c)},c.rollTime);</p><p><span style="white-space:pre">	</span>};</p><p>
</p><p><span style="white-space:pre">	</span>//À̹ÌÁö¸¦ ¿òÁ÷ÀÌ°Ô ÇÑ´Ù.</p><p><span style="white-space:pre">	</span>function imgMove(c){</p><p><span style="white-space:pre">		</span>if(c.direction == "left" || c.direction == "right"){</p><p><span style="white-space:pre">			</span>c.imageList[c.currentImg].style.left = c.coordX1 + "px";</p><p><span style="white-space:pre">			</span>c.imageList[c.nextImg].style.left = c.coordX2 + "px";</p><p><span style="white-space:pre">		</span>}else if(c.direction == "up" || c.direction == "down"){</p><p><span style="white-space:pre">			</span>c.imageList[c.currentImg].style.top = c.coordX1 + "px";</p><p><span style="white-space:pre">			</span>c.imageList[c.nextImg].style.top = c.coordY + "px";</p><p><span style="white-space:pre">		</span>}</p><p><span style="white-space:pre">		</span>//alert(c.imageList[c.nextImg].style.left);</p><p><span style="white-space:pre">		</span>var moveAt = parseInt(c.moveAt);</p><p><span style="white-space:pre">		</span>if (c.direction == "left"){</p><p><span style="white-space:pre">			</span>c.coordX1 -= moveAt;</p><p><span style="white-space:pre">			</span>c.coordX2 -= moveAt;</p><p><span style="white-space:pre">		</span>}else if(c.direction == "right"){</p><p><span style="white-space:pre">			</span>c.coordX1 += moveAt;</p><p><span style="white-space:pre">			</span>c.coordX2 += moveAt;</p><p><span style="white-space:pre">		</span>}else if(c.direction=="up"){</p><p><span style="white-space:pre">			</span>c.coordX1 -= moveAt;</p><p><span style="white-space:pre">			</span>c.coordY -= moveAt;</p><p><span style="white-space:pre">		</span>}else if(c.direction=="down"){</p><p><span style="white-space:pre">			</span>c.coordX1 += moveAt;</p><p><span style="white-space:pre">			</span>c.coordY += moveAt;</p><p><span style="white-space:pre">		</span>}</p><p><span style="white-space:pre">		</span></p><p><span style="white-space:pre">		</span>//if(c.coordX1 < (-1*c.listArea.offsetWidth) ) {</p><p><span style="white-space:pre">		</span>if( isNextImgRoll(c) ) {</p><p><span style="white-space:pre">			</span>c.currentImg = c.nextImg;</p><p><span style="white-space:pre">			</span>c.nextImg += 1;</p><p><span style="white-space:pre">			</span>if(c.currentImg == c.imgCnt) c.nextImg = 0;</p><p><span style="white-space:pre">			</span>clearTimeout(c.moveTimer);</p><p><span style="white-space:pre">			</span>clearTimeout(c.rollTimer);</p><p><span style="white-space:pre">			</span>setRoll(c);</p><p><span style="white-space:pre">			</span>return;</p><p><span style="white-space:pre">		</span>}</p><p><span style="white-space:pre">		</span>c.moveTimer = setTimeout(function(){imgMove(c)},c.moveTime);</p><p><span style="white-space:pre">	</span>};</p><p><span style="white-space:pre">	</span></p><p><span style="white-space:pre">	</span>//´ÙÀ½ À̹ÌÁö ·Ñ¸µ ÇØ¾ßÇÏ´ÂÁö È®ÀÎ</p><p><span style="white-space:pre">	</span>function isNextImgRoll(c){</p><p><span style="white-space:pre">		</span>var d = c.direction;</p><p><span style="white-space:pre">		</span>if(d=="left" && c.coordX2 < 0 ) return true;</p><p><span style="white-space:pre">		</span>else if(d=="right" && c.coordX2 > 0) return true;</p><p><span style="white-space:pre">		</span>else if(d=="up" && c.coordY < 0 ) return true;</p><p><span style="white-space:pre">		</span>else if(d=="down" && c.coordY > 0) return true;</p><p>
</p><p><span style="white-space:pre">		</span>return false</p><p><span style="white-space:pre">	</span>};</p><p>
</p><p><span style="white-space:pre">	</span>//·Ñ¸µ ¹æÇâ¿¡ µû¸¥ µÎ¹øÂ° À̹ÌÁö À§Ä¡ ÁÂÇ¥ ¼³Á¤</p><p><span style="white-space:pre">	</span>function setPosition(c){</p><p><span style="white-space:pre">		</span>var d = c.direction;</p><p><span style="white-space:pre">		</span>if(d=="left") c.imageList[c.nextImg].style.left = c.listArea.offsetWidth+"px";</p><p><span style="white-space:pre">		</span>else if(d=="right") c.imageList[c.nextImg].style.left = (-1 * c.listArea.offsetWidth) + "px";</p><p><span style="white-space:pre">		</span>else if(d=="up") c.imageList[c.nextImg].style.top = c.listArea.offsetHeight + "px";</p><p><span style="white-space:pre">		</span>else if(d=="down") c.imageList[c.nextImg].style.top = (-1 * c.listArea.offsetHeight) + "px";</p><p>
</p><p><span style="white-space:pre">		</span>//alert(c.imageList[c.nextImg].style.left);</p><p><span style="white-space:pre">	</span>};</p><p><span style="white-space:pre">	</span></p><p><span style="white-space:pre">	</span>//onmouseover ½Ã ¿òÁ÷ÀÓ ¸ØÃã</p><p><span style="white-space:pre">	</span>function rollPause(c){</p><p><span style="white-space:pre">	</span>//alert(c.listArea.onmouseover);</p><p><span style="white-space:pre">		</span>c.listArea.onmouseover = function(){</p><p><span style="white-space:pre">			</span>clearTimeout(c.rollTimer);</p><p><span style="white-space:pre">		</span>}</p><p>
</p><p><span style="white-space:pre">		</span>c.listArea.onmouseout = function(){</p><p><span style="white-space:pre">			</span>//alert("c.listArea.onmouseout");</p><p><span style="white-space:pre">			</span>setRoll(c);</p><p><span style="white-space:pre">		</span>}</p><p><span style="white-space:pre">	</span>};</p><p>
</p><p><span style="white-space:pre">	</span>//¶óº§°ú ¹ÙÀεå</p><p><span style="white-space:pre">	</span>function labelBind(c){</p><p><span style="white-space:pre">		</span>if(c.label == null) return;</p><p><span style="white-space:pre">		</span>var labels = c.label.getElementsByTagName(c.labelType);</p><p>
</p><p><span style="white-space:pre">		</span>c.label.onmouseover = function(){</p><p><span style="white-space:pre">			</span>for(n in labels){</p><p><span style="white-space:pre">				</span>if(labels[n] == event.srcElement){</p><p><span style="white-space:pre">					</span>//c.imageList[c.currentImg].style.display = "none";</p><p><span style="white-space:pre">					</span>c.currentImg = parseInt(n);</p><p><span style="white-space:pre">					</span>c.nextImg = parseInt(n)+1;</p><p><span style="white-space:pre">					</span>if(c.currentImg == c.imgCnt) c.nextImg = 0;</p><p><span style="white-space:pre">					</span>clearTimeout(c.rollTimer);</p><p><span style="white-space:pre">					</span>viewImg(c);</p><p><span style="white-space:pre">					</span>rollOver(c);</p><p><span style="white-space:pre">					</span>break;</p><p><span style="white-space:pre">				</span>}</p><p><span style="white-space:pre">			</span>}</p><p><span style="white-space:pre">			</span>//alert(event.srcElement)</p><p><span style="white-space:pre">		</span>}</p><p><span style="white-space:pre">		</span></p><p><span style="white-space:pre">		</span>c.label.onmouseout = function(){</p><p><span style="white-space:pre">			</span>for(n in labels){</p><p><span style="white-space:pre">				</span>if(labels[n]==event.srcElement){</p><p><span style="white-space:pre">					</span>setRoll(c);</p><p><span style="white-space:pre">					</span>break;</p><p><span style="white-space:pre">				</span>}</p><p><span style="white-space:pre">			</span>}</p><p><span style="white-space:pre">		</span>}</p><p><span style="white-space:pre">	</span>};</p><p>
</p><p><span style="white-space:pre">	</span>//¶óº§ onmouseover ½Ã Ŭ·¡½º Àû¿ë</p><p><span style="white-space:pre">	</span>function rollOver(c){</p><p><span style="white-space:pre">		</span>if(c.label == null) return;</p><p><span style="white-space:pre">		</span>var els = c.label.getElementsByTagName(c.labelType);</p><p><span style="white-space:pre">		</span></p><p><span style="white-space:pre">		</span>if(c.labelType == "img"){</p><p><span style="white-space:pre">			</span></p><p><span style="white-space:pre">			</span>for(n in els){</p><p><span style="white-space:pre">				</span>if(typeof els[n] == "object"){</p><p><span style="white-space:pre">					</span>if(n == c.currentImg){</p><p><span style="white-space:pre">						</span>els[n].src = els[n].getAttribute("oversrc");</p><p><span style="white-space:pre">					</span>}else{</p><p><span style="white-space:pre">						</span>els[n].src = els[n].getAttribute("outsrc");</p><p><span style="white-space:pre">					</span>}</p><p><span style="white-space:pre">				</span>}</p><p><span style="white-space:pre">			</span>}</p><p><span style="white-space:pre">		</span>}else{</p><p><span style="white-space:pre">			</span>for(n in els){</p><p><span style="white-space:pre">				</span>if(typeof els[n] == "object"){</p><p><span style="white-space:pre">					</span>if(n == c.currentImg){</p><p><span style="white-space:pre">						</span>var ocss = els[n].className;</p><p><span style="white-space:pre">						</span>els[n].className = ocss+" "+els[n].getAttribute("overcss");</p><p><span style="white-space:pre">					</span>}else{</p><p><span style="white-space:pre">						</span>els[n].className = els[n].getAttribute("outcss");</p><p><span style="white-space:pre">					</span>}</p><p><span style="white-space:pre">				</span>}</p><p><span style="white-space:pre">			</span>}</p><p><span style="white-space:pre">		</span>}</p><p><span style="white-space:pre">	</span>}</p><p>
</p><p><span style="white-space:pre">	</span>//¶óº§¿¡¼­ ¼±ÅÃµÈ À̹ÌÁö º¸À̱â</p><p><span style="white-space:pre">	</span>function viewImg(c){</p><p><span style="white-space:pre">		</span>//alert(c.currentImg);</p><p><span style="white-space:pre">		</span>for(n=0; n<c.imgCnt+1; n++)<span style="white-space:pre">	</span>{</p><p><span style="white-space:pre">			</span>c.imageList[n].style.display = "none";</p><p><span style="white-space:pre">		</span>}</p><p><span style="white-space:pre">		</span></p><p><span style="white-space:pre">		</span>c.imageList[c.currentImg].style.left = "0px";</p><p><span style="white-space:pre">		</span>c.imageList[c.currentImg].style.top = "0px";</p><p><span style="white-space:pre">		</span>c.imageList[c.currentImg].style.display = "block";</p><p><span style="white-space:pre">	</span>};</p><p>}</p><p>
</p><p>function debug(t){</p><p>e("dis").innerHTML = t + "
";</p><p>}</p><p>
</p><p>//id°ªÀ¸·Î °´Ã¼ ¹Ýȯ</p><p>function e(id){</p><p><span style="white-space:pre">	</span>var o = document.getElementById(id);</p><p><span style="white-space:pre">	</span>if(typeof o == undefined || o == null) { alert(id+" À̸§À» °¡Áø °´Ã¼°¡ ¾ø½À´Ï´Ù."); return null;}</p><p>
</p><p><span style="white-space:pre">	</span>return o;</p><p>}</p><p>
</p><p>function MM_swapImgRestore() { //v3.0</p><p>  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;</p><p>}</p><p>
</p><p>function MM_preloadImages() { //v3.0</p><p>  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();</p><p>    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)</p><p>    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}</p><p>}</p><p>
</p><p>function MM_findObj(n, d) { //v4.01</p><p>  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {</p><p>    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}</p><p>  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];</p><p>  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);</p><p>  if(!x && d.getElementById) x=d.getElementById(n); return x;</p><p>}</p><p>
</p><p>function MM_swapImage() { //v3.0</p><p>  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)</p><p>   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}</p><p>}</p><p>//--></p><p></script></p><p></head></p><p>
</p><p><body></p><p><ul class="ul_label" id="label_2"></p><p><span style="white-space:pre">	</span><table width="1080"></p><p>  <tr></p><p>    <td style="border:1px solid #e1e1e1" width="322" background="images/temp/top_banner1.gif"></p><p>   <span style="white-space:pre">	</span>  <li class="fir" overcss="labelOverClass" outcss="fir"></li></td></p><p><span style="white-space:pre">	</span>  <td width="756" rowspan="6"><div class="image_list" id="image_list_2"></p><p><span style="white-space:pre">	</span><div class="images" style="display:block"><img src="images/temp/google.jpg" /></div></p><p><span style="white-space:pre">		</span><div class="images"><img src="images/temp/naver.jpg" /></div></p><p><span style="white-space:pre">	</span><div class="images"><img src="images/temp/yahoo.jpg" /></div></p><p><span style="white-space:pre">	</span><div class="images"><img src="images/temp/daum.jpg" /></div></p><p><span style="white-space:pre">	</span><div class="images"><img src="images/temp/nate.jpg" /></div></p><p><span style="white-space:pre">	</span><div class="images"><img src="images/temp/banner.jpg" /></div></p><p></div></td></p><p>  </tr></p><p>  <tr></p><p>    <td style="border:1px solid #e1e1e1" width="272" background="images/temp/top_banner2.gif"><li overcss="labelOverClass1" outcss=""></li></td></p><p>  </tr></p><p>  <tr></p><p>    <td style="border:1px solid #e1e1e1" width="272" background="images/temp/top_banner3.gif"><li overcss="labelOverClass2" outcss=""></li></td></p><p>  </tr></p><p>  <tr></p><p>    <td style="border:1px solid #e1e1e1" width="272" background="images/temp/top_banner4.gif"><li overcss="labelOverClass3" outcss=""></li></td></p><p>  </tr></p><p>  <tr></p><p>    <td style="border:1px solid #e1e1e1" width="272" background="images/temp/top_banner5.gif"><li overcss="labelOverClass4" outcss=""></li></td></p><p>  </tr></p><p>  <tr></p><p>    <td style="border:1px solid #e1e1e1" width="272" background="images/temp/top_banner6.gif"><li overcss="labelOverClass5" outcss=""></li></td></p><p>  </tr></p><p></table></p><p></ul></p><p><script type="text/javascript"></p><p><!--</p><p>var j2 = {</p><p><span style="white-space:pre">	</span>"list_area":"image_list_2",</p><p><span style="white-space:pre">	</span>"moveAt":"332",</p><p><span style="white-space:pre">	</span>"roll_time":"3000",</p><p><span style="white-space:pre">	</span>"move_time":"100",</p><p><span style="white-space:pre">	</span>"direction":"up",</p><p><span style="white-space:pre">	</span>"label":"label_2",</p><p><span style="white-space:pre">	</span>labelType : "li"</p><p>};</p><p>new RollImage(j2);</p><p>//oj1.setRoll();</p><p>//--></p><p></script></p><p>
</p><p></body></p><p></html></p><div>
</div><div>
댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트
플래토
8년 전

테이블 태그 에서

맨 앞부분의 


 순서만 변경하시면 되요

</p><p><table width="1080"></p><p><span style="white-space:pre">	</span><tr></p><p><span style="white-space:pre">		</span><td width="756" rowspan="6"><div class="image_list" id="image_list_2"></p><p><span style="white-space:pre">			</span><div class="images" style="display:block"><img src="images/temp/google.jpg" /></div></p><p><span style="white-space:pre">			</span><div class="images"><img src="images/temp/naver.jpg" /></div></p><p><span style="white-space:pre">			</span><div class="images"><img src="images/temp/yahoo.jpg" /></div></p><p><span style="white-space:pre">			</span><div class="images"><img src="images/temp/daum.jpg" /></div></p><p><span style="white-space:pre">			</span><div class="images"><img src="images/temp/nate.jpg" /></div></p><p><span style="white-space:pre">			</span><div class="images"><img src="images/temp/banner.jpg" /></div></p><p><span style="white-space:pre">		</span></div>  <!-- 왼쪽의 div 이건 없어야 될거 같은데요 --></p><p><span style="white-space:pre">		</span></td></p><p><span style="white-space:pre">		</span><td style="border:1px solid #e1e1e1" width="322" background="images/temp/top_banner1.gif"></p><p><span style="white-space:pre">		</span><li class="fir" overcss="labelOverClass" outcss="fir"></li></td></p><p><span style="white-space:pre">	</span></tr></p><p>...</p><p>

그런데.. 중간에 </div> 하나는 삭제하시는게 맞는거 같네요

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인