웹마스터 팁

검색해보니 어떤분이 올리신게 있던데 그거와는 전혀 다른거라 살며시 올려봅니다.
스킨설정이 쉽고 타깃 설정이가능하구요....
잘만 꾸미면 원도 메뉴와 비스므리 해진다는.....


예제보기 : http://diablo.new21.net/html/2.html

// 소스----

<html>
<head>
<title>mouse_menu</title>
<style>
<!--

.skin0{
position:absolute;
width:120px;
border:2px solid black;
background-color:silver;
font-family:Verdana;
line-height:20px;
cursor:default;
visibility:hidden;
}

.skin1{
cursor: hand;
font: menutext;
position: absolute;
width: 105px;
background-color: gray;
border: 1 solid buttonface;
visibility:hidden;
border: 2 outset buttonhighlight;
}

.menuitems{
padding-left:15px;
padding-right:10px;
font-size: 9pt;
}
-->
</style>

<script language="JavaScript1.2">
//set the skin of the menu (0 or 1, with 1 rendering a default Windows menu like skin)
var menuskin=1

//set this variable to 1 if you wish the URLs of the highlighted menu to be displayed in the status bar
var display_url=0


function showmenuie5(){
//Find out how close the mouse is to the corner of the window
var rightedge=document.body.clientWidth-event.clientX
var bottomedge=document.body.clientHeight-event.clientY

//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<ie5menu.offsetWidth)
//move the horizontal position of the menu to the left by it's width
ie5menu.style.left=document.body.scrollLeft+event.clientX-ie5menu.offsetWidth
else
//position the horizontal position of the menu where the mouse was clicked
ie5menu.style.left=document.body.scrollLeft+event.clientX

//same concept with the vertical position
if (bottomedge<ie5menu.offsetHeight)
ie5menu.style.top=document.body.scrollTop+event.clientY-ie5menu.offsetHeight
else
ie5menu.style.top=document.body.scrollTop+event.clientY

ie5menu.style.visibility="visible"
return false
}

function hidemenuie5(){
ie5menu.style.visibility="hidden"
}

function highlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor="highlight"
event.srcElement.style.color="white"
if (display_url==1)
window.status=event.srcElement.url
}
}

function lowlightie5(){
if (event.srcElement.className=="menuitems"){
event.srcElement.style.backgroundColor=""
event.srcElement.style.color="black"
window.status=''
}
}

function jumptoie5(){
if (event.srcElement.className=="menuitems"){
if (event.srcElement.getAttribute("target")!=null)
window.open(event.srcElement.url,event.srcElement.getAttribute("target"))
else
window.location=event.srcElement.url
}
}
</script>
</head>
<body bgcolor=snow>
<P><BR>
유후~~~ 아무곳에서나 마우스 오른쪽 버튼을 클릭해 보세용~~


<!--[if IE]>
<div id="ie5menu" class="skin0" onMouseover="highlightie5()" onMouseout="lowlightie5()" onClick="jumptoie5()">
<div align=center style= "font-family:굴림,돋움; font-size:9pt;font-color:000033;cursor:default">--memu--</div>
<div class="menuitems" url="http://nzeo.com" target="newwin">제로보드</div>
<div class="menuitems" url="http://daum.net">다음넷</div>
<div class="menuitems" url="http://naver.com">네이버</div>
<div class="menuitems" url="http://hanmir.com" target="_blank">한미르</div>
<![endif]-->
<script language="JavaScript1.2">
if (document.all&&window.print){
if (menuskin==0)
ie5menu.className="skin0"
else
ie5menu.className="skin1"
document.oncontextmenu=showmenuie5
document.body.onclick=hidemenuie5
}
</script>
</body>
</html>

// 소스끝

주의 하실건.... body 안에서
<!--[if IE]> 에서 </script>  
위에다가 본문을 넣어야 합니다.
아래 넣으면 오른쪽 메뉴속에 포함됩니다.
제목 글쓴이 날짜
부산오피 부산OP ⦑오피사이트.NET⦒ 부산휴게텔 부산오피 부산오피 koykoyah 2025.02.25
안양마사지【출장안마사이트.COM】안양마사지 안양 마사지 안양마사지 songkangkong767 2025.02.25
부천오피 부천OP ⦑출장마사지안내.COM⦒ 부천휴게텔 부천오피 부천오피 koykoyah 2025.02.25
서초스웨디시【오피쓰주소.COM】서초1인샵 서초마사지 서초안마 songkangkong767 2025.02.25
전주오피 ⦑오피쓰주소.COM⦒ 전주마사지 전주오피 전주오피 전주OP koykoyah 2025.02.25
평택1인샵【오피사이트.NET】평택스웨디시 평택마사지 평택안마 songkangkong767 2025.02.25
의정부오피 ⦑오피사이트.NET⦒ 의정부오피 의정부OP 의정부건마 의정부오피 koykoyah 2025.02.25
서초1인샵【오피사이트.NET】서초1인샵 서초 1인샵 서초1인샵 songkangkong767 2025.02.25
신도림오피 신도림OP ⦑출장안마사이트.COM⦒ 신도림휴게텔 신도림오피 신도림오피 koykoyah 2025.02.25
목포안마【오피쓰.COM】목포안마 목포 안마 목포안마 songkangkong767 2025.02.25
서초오피 ⦑오피.CLUB⦒ 서초오피 서초출장마사지 서초오피 서초OP koykoyah 2025.02.25
세종마사지【출장안마사이트.COM】세종마사지 세종 마사지 세종마사지 songkangkong767 2025.02.25
용인오피 ⦑오피.CLUB⦒ 용인오피 용인출장마사지 용인오피 용인OP koykoyah 2025.02.25
전주마사지【오피.CLUB】전주안마 전주스웨디시 전주1인샵 songkangkong767 2025.02.25
신림오피 신림OP ⦑오피쓰.COM⦒ 신림휴게텔 신림오피 신림오피 koykoyah 2025.02.25
강서스웨디시【출장마사지안내.COM】강서 스웨디시 강서스웨디시 강서스웨디시 songkangkong767 2025.02.25
전주오피 ⦑오피.CLUB⦒ 전주오피 전주출장마사지 전주오피 전주OP koykoyah 2025.02.25
연신내스웨디시【출장안마사이트.COM】연신내스웨디시 연신내 스웨디시 연신내스웨디시 songkangkong767 2025.02.25
의정부오피 ⦑오피쓰주소.COM⦒ 의정부마사지 의정부오피 의정부오피 의정부OP koykoyah 2025.02.25
세종마사지【출장마사지안내.COM】세종스웨디시 세종1인샵 세종안마 songkangkong767 2025.02.25