3D 회전식 메뉴입니다. 드레그해서 붙혀서 사용해보세요
<html>
<head>
<title>http://www.blueb.co.kr</title>
</head>
<body>
<script language="JavaScript" src="http://www.blueb.co.kr/SRC/javascript/js/LyrObj.js"></script>
<script language="JavaScript" src="http://www.blueb.co.kr/SRC/javascript/js/3dhtml.js"></script>
<script language="JavaScript" src="http://www.blueb.co.kr/SRC/javascript/js/MouseModulator.js"></script>
<script language="javascript">
<!--
var cubeModel;
//메뉴구성
cubeModel = new Model("cube", new Material('<a href="http://www.blueb.co.kr" target="_blank" onfocus="blur()" style=color:red><B>BLUEB</B></a>') );
cubeModel.materials[1] = new Material('<a href="http://www.empas.com" target="_blank" onfocus="blur()" style=color:red><B>EMPAS</B></a>');
cubeModel.materials[2] = new Material('<a href="http://www.yahoo.co.kr" target="_blank" onfocus="blur()" style=color:red><B>Yahoo</B></a>');
cubeModel.materials[3] = new Material('<a href="http://www.chol.com" target="_blank" onfocus="blur()" style=color:red><B>CHOL</B></a>');
cubeModel.materials[4] = new Material('<span style="font-size:20px;"><a href="http://www.google.co.kr" target="_blank" onfocus="blur()" style=color:red><B>Google</B></a></span>');
cubeModel.materials[5] = new Material('<a href="http://www.altavista.co.kr" target="_blank" onfocus="blur()" style=color:red><B>Altavista</B></a>');
cubeModel.materials[6] = new Material('<a href="http://www.naver.com" target="_blank" onfocus="blur()" style=color:red><B>Naver</B></a>');
cubeModel.materials[7] = new Material('<a href="http://www.Jungle.com" target="_blank" onfocus="blur()" style=color:red><B>Jungle</B></a>');
cubeModel.setPoints(createCubeModelPoints());
var myMouseModulator = new MouseModulator("myMouseModulator", 0);
function initOnLoad() {
fixNetscape();
cubeModel.assignLayers();
// creates and inits matrix to initialize the model
var initMatrix = new Matrix();
initMatrix.scale(50, 50, 50);
// >> begin to work with the model etc.
// initializes model
cubeModel.transform(initMatrix);
// >> first draw of the model (recommended)
cubeModel.draw();
// starts animation
animate();
}
/*
* The main animate method. Calls itself repeatedly.
*/
function animate() {
var delay = 10;
// animates cube model ----------------------------------------
// animates the modulator to spin the cube
myMouseModulator.animate();
// transforms the cube depending on mouse movements.
cubeModel.transform(myMouseModulator.getMatrix());
// updates display
cubeModel.draw();
// calls itself with an delay to decouple client computer speed from the animation speed.
// result: the animation is as fast as possible.
setTimeout("animate()", delay);
}
// event handling
document.onmousemove = mouseMoveHandler;
document.onmousedown = mouseDownHandler;
document.onmouseup = mouseUpHandler;
if (ns || ns6) document.captureEvents(Event.MOUSEMOVE | Event.MOUSEDOWN | Event.MOUSEUP);
/*
* The mouse handlers in this document must call the modulator's handlers.
* To be able to use a mouse modulator and to do your own stuff.
*/
function mouseMoveHandler(e) {
// calls move handler of the mouse modulator
myMouseModulator.move(e);
return !ie;
}
function mouseDownHandler(e) {
// calls down handler of the mouse modulator
myMouseModulator.down(e);
}
function mouseUpHandler(e) {
// calls up handler of the mouse modulator
myMouseModulator.up(e);
}
// ---------------------------------------------------------------------------
function createCubeModelPoints() {
// the cube model
return new Array(
new Point3D( 0, 5, 0, 0),
new Point3D( 3.5, 3.5, 0, 1),
new Point3D( 5, 0, 0, 2),
new Point3D( 3.5, -3.5, 0, 3),
new Point3D( 0, -5, 0, 4),
new Point3D(-3.5, -3.5, 0, 5),
new Point3D( -5, 0, 0, 6),
new Point3D(-3.5, 3.5, 0, 7)
);
}
// -->
</script>
</head>
<body onload="initOnLoad()">
배경 아무곳이나 드래그 해보세요..
<div id="fixnetscape" style="position:absolute;visibility:hidden;z-index:1000"></div>
<script language="JavaScript" type="text/javascript">
<!--
cubeModel.createPointCode();
// -->
</script>
</body>
</html><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
<head>
<title>http://www.blueb.co.kr</title>
</head>
<body>
<script language="JavaScript" src="http://www.blueb.co.kr/SRC/javascript/js/LyrObj.js"></script>
<script language="JavaScript" src="http://www.blueb.co.kr/SRC/javascript/js/3dhtml.js"></script>
<script language="JavaScript" src="http://www.blueb.co.kr/SRC/javascript/js/MouseModulator.js"></script>
<script language="javascript">
<!--
var cubeModel;
//메뉴구성
cubeModel = new Model("cube", new Material('<a href="http://www.blueb.co.kr" target="_blank" onfocus="blur()" style=color:red><B>BLUEB</B></a>') );
cubeModel.materials[1] = new Material('<a href="http://www.empas.com" target="_blank" onfocus="blur()" style=color:red><B>EMPAS</B></a>');
cubeModel.materials[2] = new Material('<a href="http://www.yahoo.co.kr" target="_blank" onfocus="blur()" style=color:red><B>Yahoo</B></a>');
cubeModel.materials[3] = new Material('<a href="http://www.chol.com" target="_blank" onfocus="blur()" style=color:red><B>CHOL</B></a>');
cubeModel.materials[4] = new Material('<span style="font-size:20px;"><a href="http://www.google.co.kr" target="_blank" onfocus="blur()" style=color:red><B>Google</B></a></span>');
cubeModel.materials[5] = new Material('<a href="http://www.altavista.co.kr" target="_blank" onfocus="blur()" style=color:red><B>Altavista</B></a>');
cubeModel.materials[6] = new Material('<a href="http://www.naver.com" target="_blank" onfocus="blur()" style=color:red><B>Naver</B></a>');
cubeModel.materials[7] = new Material('<a href="http://www.Jungle.com" target="_blank" onfocus="blur()" style=color:red><B>Jungle</B></a>');
cubeModel.setPoints(createCubeModelPoints());
var myMouseModulator = new MouseModulator("myMouseModulator", 0);
function initOnLoad() {
fixNetscape();
cubeModel.assignLayers();
// creates and inits matrix to initialize the model
var initMatrix = new Matrix();
initMatrix.scale(50, 50, 50);
// >> begin to work with the model etc.
// initializes model
cubeModel.transform(initMatrix);
// >> first draw of the model (recommended)
cubeModel.draw();
// starts animation
animate();
}
/*
* The main animate method. Calls itself repeatedly.
*/
function animate() {
var delay = 10;
// animates cube model ----------------------------------------
// animates the modulator to spin the cube
myMouseModulator.animate();
// transforms the cube depending on mouse movements.
cubeModel.transform(myMouseModulator.getMatrix());
// updates display
cubeModel.draw();
// calls itself with an delay to decouple client computer speed from the animation speed.
// result: the animation is as fast as possible.
setTimeout("animate()", delay);
}
// event handling
document.onmousemove = mouseMoveHandler;
document.onmousedown = mouseDownHandler;
document.onmouseup = mouseUpHandler;
if (ns || ns6) document.captureEvents(Event.MOUSEMOVE | Event.MOUSEDOWN | Event.MOUSEUP);
/*
* The mouse handlers in this document must call the modulator's handlers.
* To be able to use a mouse modulator and to do your own stuff.
*/
function mouseMoveHandler(e) {
// calls move handler of the mouse modulator
myMouseModulator.move(e);
return !ie;
}
function mouseDownHandler(e) {
// calls down handler of the mouse modulator
myMouseModulator.down(e);
}
function mouseUpHandler(e) {
// calls up handler of the mouse modulator
myMouseModulator.up(e);
}
// ---------------------------------------------------------------------------
function createCubeModelPoints() {
// the cube model
return new Array(
new Point3D( 0, 5, 0, 0),
new Point3D( 3.5, 3.5, 0, 1),
new Point3D( 5, 0, 0, 2),
new Point3D( 3.5, -3.5, 0, 3),
new Point3D( 0, -5, 0, 4),
new Point3D(-3.5, -3.5, 0, 5),
new Point3D( -5, 0, 0, 6),
new Point3D(-3.5, 3.5, 0, 7)
);
}
// -->
</script>
</head>
<body onload="initOnLoad()">
배경 아무곳이나 드래그 해보세요..
<div id="fixnetscape" style="position:absolute;visibility:hidden;z-index:1000"></div>
<script language="JavaScript" type="text/javascript">
<!--
cubeModel.createPointCode();
// -->
</script>
</body>
</html><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
댓글 1개
18년 전
-. 미리보기
http://www.blueb.co.kr/bbs.php?table=JS_03&where=ALL&keyword=3D%20회전&search_step=1&search_sql=(BB_NAME%20LIKE%20'%3D%'%20OR%20BB_SUBJECT%20LIKE%20'%3D%'%20OR%20BB_CONTENT%20LIKE%20'%3D%')%20OR%20(BB_NAME%20LIKE%20'%회전%'%20OR%20BB_SUBJECT%20LIKE%20'%회전%'%20OR%20BB_CONTENT%20LIKE%20'%회전%')&search_sql=(BB_NAME%20LIKE%20'=%'%20OR%20BB_SUBJECT%20LIKE%20'=%'%20OR%20BB_CONTENT%20LIKE%20'=%')%20OR%20(BB_NAME%20LIKE%20'%회전%'%20OR%20BB_SUBJECT%20LIKE%20'%회전%'%20OR%20BB_CONTENT%20LIKE%20'%회전%')&query=view&uid=132&p=1
http://www.blueb.co.kr/bbs.php?table=JS_03&where=ALL&keyword=3D%20회전&search_step=1&search_sql=(BB_NAME%20LIKE%20'%3D%'%20OR%20BB_SUBJECT%20LIKE%20'%3D%'%20OR%20BB_CONTENT%20LIKE%20'%3D%')%20OR%20(BB_NAME%20LIKE%20'%회전%'%20OR%20BB_SUBJECT%20LIKE%20'%회전%'%20OR%20BB_CONTENT%20LIKE%20'%회전%')&search_sql=(BB_NAME%20LIKE%20'=%'%20OR%20BB_SUBJECT%20LIKE%20'=%'%20OR%20BB_CONTENT%20LIKE%20'=%')%20OR%20(BB_NAME%20LIKE%20'%회전%'%20OR%20BB_SUBJECT%20LIKE%20'%회전%'%20OR%20BB_CONTENT%20LIKE%20'%회전%')&query=view&uid=132&p=1
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 1430 | 18년 전 | 2990 | ||
| 1429 | 18년 전 | 2937 | ||
| 1428 | 18년 전 | 2831 | ||
| 1427 | 18년 전 | 2135 | ||
| 1426 |
|
18년 전 | 2317 | |
| 1425 |
|
18년 전 | 2871 | |
| 1424 |
|
18년 전 | 2967 | |
| 1423 |
frotone
|
18년 전 | 4141 | |
| 1422 | 18년 전 | 6125 | ||
| 1421 | 18년 전 | 2060 | ||
| 1420 | 18년 전 | 2188 | ||
| 1419 | 18년 전 | 1896 | ||
| 1418 | 18년 전 | 1655 | ||
| 1417 | 18년 전 | 2640 | ||
| 1416 | 18년 전 | 1707 | ||
| 1415 | 18년 전 | 1570 | ||
| 1414 | 18년 전 | 4740 | ||
| 1413 | 18년 전 | 1800 | ||
| 1412 | 18년 전 | 1844 | ||
| 1411 | 18년 전 | 1855 | ||
| 1410 | 18년 전 | 1982 | ||
| 1409 | 18년 전 | 3634 | ||
| 1408 | 18년 전 | 1660 | ||
| 1407 | 18년 전 | 1534 | ||
| 1406 | 18년 전 | 1357 | ||
| 1405 | 18년 전 | 1862 | ||
| 1404 | 18년 전 | 1910 | ||
| 1403 |
frotone
|
18년 전 | 3661 | |
| 1402 | 18년 전 | 1979 | ||
| 1401 | 18년 전 | 3116 | ||
| 1400 | 18년 전 | 4743 | ||
| 1399 | 18년 전 | 2868 | ||
| 1398 | 18년 전 | 8070 | ||
| 1397 | 18년 전 | 4069 | ||
| 1396 |
|
18년 전 | 2752 | |
| 1395 | 18년 전 | 1534 | ||
| 1394 | 18년 전 | 2630 | ||
| 1393 | 18년 전 | 5042 | ||
| 1392 | 18년 전 | 5228 | ||
| 1391 |
cncafe
|
18년 전 | 2103 | |
| 1390 |
mixdesign
|
18년 전 | 4357 | |
| 1389 | 18년 전 | 4105 | ||
| 1388 |
mixdesign
|
18년 전 | 4162 | |
| 1387 | 18년 전 | 2283 | ||
| 1386 | 18년 전 | 4192 | ||
| 1385 |
mixdesign
|
18년 전 | 2188 | |
| 1384 | 18년 전 | 3294 | ||
| 1383 | 18년 전 | 4930 | ||
| 1382 | 18년 전 | 1954 | ||
| 1381 |
오디세우스
|
18년 전 | 3417 | |
| 1380 |
mixdesign
|
18년 전 | 1655 | |
| 1379 | 18년 전 | 2753 | ||
| 1378 |
mixdesign
|
18년 전 | 1684 | |
| 1377 | 18년 전 | 2736 | ||
| 1376 |
|
18년 전 | 2559 | |
| 1375 |
|
18년 전 | 1570 | |
| 1374 |
|
18년 전 | 1507 | |
| 1373 |
|
18년 전 | 1755 | |
| 1372 | 18년 전 | 2243 | ||
| 1371 | 18년 전 | 2022 | ||
| 1370 | 18년 전 | 2391 | ||
| 1369 | 18년 전 | 4949 | ||
| 1368 |
mixdesign
|
18년 전 | 1825 | |
| 1367 | 18년 전 | 1270 | ||
| 1366 | 18년 전 | 1382 | ||
| 1365 | 18년 전 | 1343 | ||
| 1364 | 18년 전 | 1098 | ||
| 1363 | 18년 전 | 1088 | ||
| 1362 | 18년 전 | 1418 | ||
| 1361 | 18년 전 | 1380 | ||
| 1360 | 18년 전 | 2356 | ||
| 1359 | 18년 전 | 1234 | ||
| 1358 | 18년 전 | 1618 | ||
| 1357 | 18년 전 | 2109 | ||
| 1356 | 18년 전 | 1291 | ||
| 1355 | 18년 전 | 2842 | ||
| 1354 | 18년 전 | 1281 | ||
| 1353 | 18년 전 | 1661 | ||
| 1352 | 18년 전 | 1507 | ||
| 1351 | 18년 전 | 1463 | ||
| 1350 | 18년 전 | 1257 | ||
| 1349 | 18년 전 | 1088 | ||
| 1348 | 18년 전 | 1677 | ||
| 1347 | 18년 전 | 1124 | ||
| 1346 | 18년 전 | 3629 | ||
| 1345 | 18년 전 | 1719 | ||
| 1344 |
mixdesign
|
18년 전 | 1796 | |
| 1343 | 18년 전 | 1129 | ||
| 1342 | 18년 전 | 1853 | ||
| 1341 | 18년 전 | 1099 | ||
| 1340 | 18년 전 | 1167 | ||
| 1339 | 18년 전 | 1017 | ||
| 1338 | 18년 전 | 1013 | ||
| 1337 | 18년 전 | 1114 | ||
| 1336 |
|
18년 전 | 2589 | |
| 1335 | 18년 전 | 1545 | ||
| 1334 | 18년 전 | 1639 | ||
| 1333 | 18년 전 | 1204 | ||
| 1332 | 18년 전 | 1875 | ||
| 1331 | 18년 전 | 1523 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기