[Script] 메뉴 슬라이딩(가로)
2009.01.20 00:45
7280
0
https://eond.com/163974
object(HotopayModel)#900 (23) { ["error"]=> int(0) ["message"]=> string(7) "success" ["variables"]=> array(0) { } ["httpStatusCode"]=> int(200) ["module"]=> string(7) "hotopay" ["module_info"]=> NULL ["origin_module_info"]=> NULL ["module_config"]=> NULL ["module_path"]=> string(52) "/home/eond/web/eond.com/public_html/modules/hotopay/" ["xml_info"]=> NULL ["module_srl"]=> NULL ["mid"]=> NULL ["act"]=> NULL ["template_path"]=> NULL ["template_file"]=> NULL ["layout_path"]=> NULL ["layout_file"]=> NULL ["edited_layout_file"]=> NULL ["stop_proc"]=> bool(false) ["user"]=> object(Rhymix\Framework\Helpers\SessionHelper)#899 (20) { ["member_srl"]=> int(0) ["user_id"]=> NULL ["user_name"]=> NULL ["nick_name"]=> NULL ["email_address"]=> NULL ["phone_number"]=> NULL ["homepage"]=> NULL ["blog"]=> NULL ["birthday"]=> NULL ["denied"]=> NULL ["status"]=> NULL ["is_admin"]=> string(1) "N" ["is_site_admin"]=> NULL ["profile_image"]=> NULL ["image_name"]=> NULL ["image_mark"]=> NULL ["signature"]=> NULL ["description"]=> NULL ["group_list"]=> array(0) { } ["menu_list"]=> array(0) { } } ["request"]=> object(Rhymix\Framework\Request)#10 (13) { ["method"]=> string(3) "GET" ["compat_method"]=> string(3) "GET" ["url"]=> string(28) "coding/163974/comment/465133" ["hostname"]=> string(8) "eond.com" ["domain"]=> NULL ["protocol"]=> string(5) "https" ["callback_function"]=> string(0) "" ["_route_status":protected]=> int(200) ["_route_options":protected]=> object(stdClass)#11 (5) { ["cache_control"]=> bool(true) ["check_csrf"]=> bool(true) ["is_forwarded"]=> bool(false) ["is_indexable"]=> bool(true) ["enable_session"]=> bool(true) } ["module"]=> string(5) "board" ["mid"]=> string(6) "coding" ["act"]=> string(16) "dispBoardContent" ["args"]=> array(5) { ["page"]=> int(8) ["document_srl"]=> string(6) "163974" ["comment_srl"]=> string(6) "465133" ["mid"]=> string(6) "coding" ["act"]=> string(16) "dispBoardContent" } } ["ajaxRequestMethod"]=> array(2) { [0]=> string(6) "XMLRPC" [1]=> string(4) "JSON" } ["gzhandler_enable"]=> bool(true) }

menu_sliding.png

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>레이어 이동 - 1 </title>

<SCRIPT LANGUAGE="JavaScript">
<!--


/**************************************
제작 : 미친개
수정과 사용, 재배포에서 자유롭습니다.
학습용으로 쓰시길 권합니다.
**************************************/



sliding = false;
function slide(posi) {
    key = posi;
    if(parseInt(document.all.maddog1.style.left) >(-1)*key) slideleft();
    else slideright();
    }

function slideleft()  {
  sliding = true;
  i = parseInt(document.all.maddog1.style.left);
        if (i > key*(-1)){
                i -= 10;
                document.all.maddog1.style.left = i;
                setTimeout("slideleft()",1);
        }
else sliding = false;
}

function slideright()  {
  sliding = true;
  i = parseInt(document.all.maddog1.style.left);
        if (i < key*(-1)){
                i += 10;
                document.all.maddog1.style.left = i;
                setTimeout("slideright()",1);
        }
else sliding = false;
}


//-->
</SCRIPT>
</head>

<BODY bgcolor=#9c9c9c scroll=no>



<div id='mylayer' style='position:absolute; left:110px; top:100px; width:614; hgight=410; clip:rect(0,616,420,0);layer-background-color:#000000';>
<DIV ID="maddog1" STYLE="position:absolute; left:0px; top:0px; width:3060px; height:420px;background-color:#000000;">


<DIV ID="home" STYLE="position:absolute; left:5px; top:5px; width:600px; height:400px;">
<table border=0>
<tr>
<td align=center bgcolor=#0000ff width=610 height=405>
nzeo.com
</td>
</tr></table>
</div>


<DIV ID="pds" STYLE="position:absolute; left:615px; top:5px; width:600px; height:400px;">
<table>
<tr>
<td bgcolor=#ff00ff width=600 height=400>
eond.com
</td>
</tr></table>
</div>



<DIV ID="mds" STYLE="position:absolute; left:1225px; top:5px; width:600px; height:400px;">
<table border=0>
<tr>
<td bgcolor=#00ffff width=600 height=400>
tagmania.net
</td>
</tr></table>
</div>



<DIV ID="js" STYLE="position:absolute; left:1835px; top:5px; width:600px; height:400px;">
<table border=0>
<tr>
<td>
naver.com
</td>
</tr></table>
</div>


<DIV ID="board" STYLE="position:absolute; left:2445px; top:5px; width:600px; height:400px;">
<table border=0>
<tr>
<td>
yahoo.com
</td></tr>
</table>
</DIV>

</div>
</div>


<div style='position:absolute;left:780;top:100;width:70;height:420;visibility:visible;'>
<table border=2 width=100% height=100% bordercolor=000000>
<tr><td>
<A HREF="javascript:if(!sliding) slide(0)">엔지오</A>
</td></tr>
<tr><td>
<A HREF="javascript:if(!sliding) slide(610)">이온디</A>
</td></tr>
<tr><td>
<A HREF="javascript:if(!sliding) slide(1220)">태그매니아</A>
</td></tr>
<tr><td>
<A HREF="javascript:if(!sliding) slide(1830)">네이버</A>
</td></tr>
<tr><td>
<A HREF="javascript:if(!sliding) slide(2440)">야후코리아</A>
</td></tr>
</table>
</div>




</body>
</html>


HTML5/CSS3
-
+
닫기

마이페이지

로그인을 해주세요

네이버로 로그인