묻고답하기

자바를 하나 찾았는뎅...-_-;;어케 써야 되는 지 몰라서 말이져...
각 수치마다 어디에 쓰이는 지 점 일러 주세여~^-^

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

// CREDITS:
// Top-Slide-Menu
// Copyright (c) 2000 Peter Gehrig and Urs Dudli. All rights reserved.
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.24fun.com.
// info@24fun.ch
// 2/10/2000

// IMPORTANT:
// If you add this script to a script-library or script-archive
// you have to add a link to http://www.24fun.com on the webpage

// INSTRUCTIONS:
// 1.   Create an imagemap (image with hotspots) for each of your menu categories.
// 2.   Put each imagemap into a DIV-Container. These DIV-containers must be called
//      menu1, menu2, menu3 and so on. Insert those DIV-containers at the end
//      of the body-section.
// 3.   Configure the vertical and horizontal position of each imagemap (just below)
// 4.   The bottom part of each imagemap calls a special function called            
//      getmenuname('menu1'). See inside the body-section how this should look like.
// 5.   The top part of each imagemap is simple imagemapping where you can configure
//      the hotspots for your links. In this sample only one URL for each category
//      has been configured. Yet you can add as many links as you like.
// 6.   Do not forget to copy the style-tag inside the head-section of the document.
// 7.   Configure the script-variables just below.

//  Configure the horizontal position for each menu-category  (pixels)
//  If you want more than 3 menu categories you have to add menu4left, menu5left
//  and so on.
var menu1left=20

//  Configure the vertical position for your menu-categories (pixels).
//  This value should be the same for all menu-categories
var menutop=-180

// This variable configures the length and the speed of the menu-movement.
// Play around with it until you are satisfied.
var pace=18

//  If you want more than 3 menu categories you have to add vorzeimenu4,
//  vorzeimenu5, vorzeimenu6 and so on
var vorzeimenu1=-1

// Don't edit the variables below.
var step
var direction
var pause=25

var thismenu
var vorzeichen=1

var menuismoving="no"

// If you have more than 3 menu-catagories
// you have to change this function too. It sould be not too difficult.
// In fact it's just a matter of proper counting!
function inite() {
        if (document.layers) {
        document.menu1.left=menu1left
        document.menu1.top=menutop
        }        
        if (document.all) {
        document.all.menu1.style.posLeft=menu1left
        document.all.menu1.style.posTop=menutop
        }
}

// This function needs no configuration
function getmenuname(clickedmenu) {
    if (menuismoving=="no") {
            if (document.layers) {
            thismenu=eval("document."+clickedmenu)
            }        
            if (document.all) {
            thismenu=eval("document.all."+clickedmenu+".style")
            }
        step=pace
        checkdirection()
            movemenu()
    }
}

// If you have more than 3 menu-catagories
// you have to change this function too. It's just a matter of proper counting!
function checkdirection() {
        if (document.layers) {    
        if (thismenu==document.menu1){vorzeimenu1=vorzeimenu1*-1;vorzeichen=vorzeimenu1}
        }        
        if (document.all) {
        if (thismenu==document.all.menu1.style){vorzeimenu1=vorzeimenu1*-1;vorzeichen=vorzeimenu1}
        }
    menuismoving="yes"
}

// This function needs no configuration
function movemenu() {
        if (document.layers) {
        if (step>=0) {
            thismenu.top+=step*vorzeichen
            step--
            var movetimer=setTimeout("movemenu()",pause)  
            }
        else {
            menuismoving="no"
            clearTimeout(movetimer)
        }
        }          
        if (document.all) {
        if (step>=0) {
            thismenu.posTop+=step*vorzeichen
            step--
            var movetimer=setTimeout("movemenu()",pause)  
            }
        else {
            menuismoving="no"
            clearTimeout(movetimer)
        }
    }
}
// - End of JavaScript - -->
</SCRIPT>

<style type="text/css">
.menu {position:absolute;left:-1000px;}
</STYLE>
</head>
<body bgcolor=#707070 text=#bbbbbb link="blue" vlink="purple" alink="red" oncontextmenu="return false"
ondragstart="return false" onselectstart="return false" scroll="no" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="inite();">
<p>
<DIV ID="menu1" class="menu">
<img src="img/ff-menu.gif" width="100" height="200" BORDER=0 usemap="#men1"> </p>
<MAP NAME="men1">

    <area shape="rect" coords="9, 181, 89, 196" href="javascript:getmenuname('menu1')" onfocus="this.blur()">
    <area shape="rect" coords="9, 24, 89, 37" href="ff1.html" target="ff-main" onfocus="this.blur()">
    <area shape="rect" coords="9, 39, 89, 50" href="ff2.html" target="ff-main" onfocus="this.blur()">
    <area shape="rect" coords="10, 53, 89, 64" href="ff3.html" target="ff-main" onfocus="this.blur()">
    <area shape="rect" coords="10, 67, 90, 77" href="ff4.html" target="ff-main" onfocus="this.blur()">
    <area shape="rect" coords="9, 82, 88, 92" href="ff5.html" target="ff-main" onfocus="this.blur()">
    <area shape="rect" coords="10, 95, 90, 106" href="ff6.html" target="ff-main" onfocus="this.blur()">
    <area shape="rect" coords="9, 110, 92, 119" href="ff7.html" target="ff-main" onfocus="this.blur()">
    <area shape="rect" coords="10, 124, 94, 134" href="ff8.html" target="ff-main" onfocus="this.blur()">
    <area shape="rect" coords="10, 138, 92, 147" href="ff9.html" target="ff-main" onfocus="this.blur()">
</MAP></DIV>
</body>

</html>
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
nannn 레이아웃 적용이 되질않습니다  
탱탱 xe코어 설치 중 해당 화면에서 다음으로 누르면 초기화면 으로 넘어가서 설치할 수가 없습니다 확인좀 해주세요 file  
yeo**** 로그인하고 admin 클릭하면 이런 오류가.... [1] 2016.04.08 by sejin7940
디노디노개발자 게시판 파일업로드(특정엑셀만 업로드가 안되는 기이한현상)..도와주세요  
TabsTips 이미지를 구매할 수 있는 사이트 없을까요? [3] 2016.04.08 by imyouridea
mgl**** xe말고 또 다른 오픈 소스 [4] 2016.04.08 by imyouridea
차마고도릿 관리자 아이디,비번 분실문의 [1] 2016.04.08 by WebdesignerS
yuuki Xe 다운그레이드 [1] 2016.04.08 by WebdesignerS
Chosun.us 스마트레이아웃을 쓰는데 레이아웃 좌측과 우측의 게시판의 간격을 띄우는 법 file  
thdwjdtjr 첨부물이 첨부 되질않습니다.... [2] file 2016.04.08 by 초보자
thdwjdtjr 아이디 이메일을 변경코자 합니다. [1] 2016.04.08 by 초보자
허허길드짱 비회원이 작성한 글의 글쓴이 불러올때 필드네임이 뭔가요? [2] 2016.04.08 by 허허길드짱
롤롤롤롤 관리자 페이지에서 업데이트 정보 안나오게 못하나요? [2] 2016.04.08 by 불금
wormhole7 구글 캘린더 질문이요~ [1] 2016.04.08 by YJSoft
고고싱229af php7에서 xe알림센터 원래 작동안하나요? [2] 2016.04.08 by YJSoft
zartin 'wifi에서 사용하길 권장합니다'라는 메시지가 뜨네요? [1] 2016.04.08 by YJSoft
나두선생 [긴급]XE 사용 중 카테고리 삭제로 인한 문제.  
마야937 csss 내용 중에 삭제 하고 싶은데 어디 있는지 모르겠어요. [2] 2016.04.07 by BRANDYK
유자일로 추천을 IP기준이 아니라 유저ID 기준으로 하고 싶습니다 [2] 2016.04.07 by BRANDYK
헤밀리온 썸네일 동그랗게.. [3] 2016.04.07 by DoorWeb
헤밀리온 json 사용법  
OSK4U 게시판 날짜를 등록날짜가 아닌 오늘날짜로 계속 표현하고 싶습니다. [2] 2016.04.07 by OSK4U
도로테비 인덱스 페이지가 따로 있을때 www를 붙이는 방법.. [1] 2016.04.07 by 불금
KimTAJO XE3가 제대로 구동되지 않네요..  
땅콩이 브라우져별 이동페이지레이아웃  
NativeHyun 관리자페이지가 iOS에선 정상적으로 출력되지만, Windows에서는 깨집니다. file  
AJY url의 www 유무 차이 (회원로그인이 정상적이지 않습니다) [1] file 2016.04.06 by sejin7940
명품관 게시글 등록 버튼을 누를시 긴글의 경우 등록이되지 않는 문제 문의 드립니다. 많은 도움 부탁드립니다. [7] file 2016.04.06 by 플래토
멍충돋네 알림센터를 적용하면 글등록을 해도 페이지가 넘어가지 않습니다. [5] file 2016.04.06 by 플래토
처음부터끝까지 자료실 에xe1.8버전이 xe3인가용 [1] 2016.04.06 by 로이조52