팁 공유 관련 궁금하신 사항이 있으면 이곳에 질문 해주세요.
검색을 해보시면 원하는 답을 찾을수도 있답니다.
팁관련 답변은 누구나 하실 수 있습니다.
글 수 905
2
조회 수 : 1796 신고 : 0
<헤드에 들어가는 스크립트>
//eyesys dhtml (c)eyecon 2002 [ eyecon@webteam.ro ]
//visit www.webteam.ro for great scripts and tutorials
var ie5=window.createPopup
if (ie5)
document.oncontextmenu=init;
var eyesys="";
var preitem="";
function init(){
mx=event.clientX;
my=event.clientY;
menx=window.screenLeft+mx;
meny=window.screenTop+my;
sysmen=window.createPopup();
sysmen.document.write(eyesys);
sysmen.show(menx,meny,eyesys_width,document.getElementById('men').offsetHeight);
return false
};
function eyesys_init(){
if (ie5){
eyesys+=("<style type='text/css'>.textul{position:absolute;top:0px;color:"+eyesys_titletext+";writing-mode: tb-rl;padding-top:10px;filter: flipH() flipV() dropShadow( Color=000000,offX=-2,offY=-2,positive=true);z-Index:10;width:100%;height:100%;font: bold 12px sans-serif}.gradientul{position:relative;top:0px;left:0px;width:100%;background-color:"+eyesys_titlecol2+";height:100%;z-Index:9;FILTER: alpha( style=1,opacity=0,finishOpacity=100,startX=100,finishX=100,startY=0,finishY=100)}.contra{background-color:"+eyesys_titlecol1+";border:1px inset "+eyesys_bg+";height:98%;width:18px;z-Index:8;top:0px;left:0px;margin:2px;position:absolute;}.men{position:absolute;top:0px;left:0px;padding-left:18px;background-color:"+eyesys_bg+";border:2px outset "+eyesys_bg+";z-Index:1;}.men a{margin:1px;cursor:default;padding-bottom:4px;padding-left:1px;padding-right:1px;padding-top:3px;text-decoration:none;height:100%;width:100%;color:"+eyesys_cl+";font:normal 12px sans-serif;}.men a:hover{background:"+eyesys_bgov+";color:"+eyesys_clov+";} BODY{overflow:hidden;border:0px;padding:0px;margin:0px;}.ico{border:none;float:left;}</style><div class='men'>")
}
};
function eyesys_item(txt,ico,lnk){
if (ie5){
if(!ico)ico='s.gif';
preitem+=("<a href='#' onmousedown='parent.window.location.href=""+lnk+""'><img src='"+ico+"' width='1' height='1' class='ico'> "+txt+"</a>")
}
};
function eyesys_close(){
if (ie5){
eyesys+=preitem;
eyesys+=("</div><div class='contra'><div class='gradientul'></div><div class='textul' id='titlu'>"+eyesys_title+"</div></div>");
document.write("<div id='men' style='width:"+eyesys_width+"'></div>");
document.getElementById('men').innerHTML=preitem
}
}
<헤드 끝>
<바디에들가는 스크립트>
//MENU TITLE
eyesys_title="Run TO You Conan"
//TITLE BACKGROUND COLORS
eyesys_titlecol1="black"
eyesys_titlecol2="black"
//TITLE COLOR
eyesys_titletext="white"
//MENU & ITEM BACKGROUND COLOR
eyesys_bg="#eeeeee"
//ITEM BACKGROUND COLOR ON MOUSE OVER
eyesys_bgov="red"
//MENU COLOR
eyesys_cl="#000000"
//MENU COLOR ON MOUSE OVER
eyesys_clov="white"
//MENU WIDTH
eyesys_width=120
//menu starts here
eyesys_init()
//menu item sintax: eyesys_item(text,icon,link)
//for no icon use 'null'
eyesys_item('야후코리아','null','http://kr.yahoo.com')
eyesys_item('엠파스',null,'http://www.empas.com')
eyesys_item('네이버',null,'http://www.naver.com')
eyesys_item('한미르',null,'http://www.hanmir.com')
eyesys_item('하나포스',null,'http://www.hanafos.com')
eyesys_item('네이트',null,'http://www.nate.com')
eyesys_item('다음넷',null,'http://www.daum.net')
//mene closes here
eyesys_close()
<바디끝>
<헤드에들가는 스타일시트>
<!--
#men {
BORDER-RIGHT: 0px outset; BORDER-TOP: 0px outset; Z-INDEX: 1; LEFT: 0px; VISIBILITY: hidden; BORDER-LEFT: 0px outset; BORDER-BOTTOM: 0px outset; POSITION: absolute; TOP: 0px
}
#men A {
PADDING-RIGHT: 1px; PADDING-LEFT: 1px; PADDING-BOTTOM: 4px; MARGIN: 1px 1px 1px 16px; FONT: 12px sans-serif; WIDTH: 100%; PADDING-TOP: 3px; HEIGHT: 100%; TEXT-DECORATION: none
}
.ico {
BORDER-RIGHT: medium none; BORDER-TOP: medium none; FLOAT: left; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none
}
//-->
<헤드끝>
질문:: 오른쪽 마우스 누르면 나타나는 메뉴소스입니다 그런데 링크를 누르면
현재창에서 변화되거든요 전 새로운창으로 띄우고 싶은데 스크립트 소스중에
새창 띄우는 소스를 넣어도 안되고 어쩔땐 오류나오고 혹시 아시나 해서요
위의 메뉴가 실행이 안되시면 제 홈피에 오셔서 확인하세요 !!!!!
//eyesys dhtml (c)eyecon 2002 [ eyecon@webteam.ro ]
//visit www.webteam.ro for great scripts and tutorials
var ie5=window.createPopup
if (ie5)
document.oncontextmenu=init;
var eyesys="";
var preitem="";
function init(){
mx=event.clientX;
my=event.clientY;
menx=window.screenLeft+mx;
meny=window.screenTop+my;
sysmen=window.createPopup();
sysmen.document.write(eyesys);
sysmen.show(menx,meny,eyesys_width,document.getElementById('men').offsetHeight);
return false
};
function eyesys_init(){
if (ie5){
eyesys+=("<style type='text/css'>.textul{position:absolute;top:0px;color:"+eyesys_titletext+";writing-mode: tb-rl;padding-top:10px;filter: flipH() flipV() dropShadow( Color=000000,offX=-2,offY=-2,positive=true);z-Index:10;width:100%;height:100%;font: bold 12px sans-serif}.gradientul{position:relative;top:0px;left:0px;width:100%;background-color:"+eyesys_titlecol2+";height:100%;z-Index:9;FILTER: alpha( style=1,opacity=0,finishOpacity=100,startX=100,finishX=100,startY=0,finishY=100)}.contra{background-color:"+eyesys_titlecol1+";border:1px inset "+eyesys_bg+";height:98%;width:18px;z-Index:8;top:0px;left:0px;margin:2px;position:absolute;}.men{position:absolute;top:0px;left:0px;padding-left:18px;background-color:"+eyesys_bg+";border:2px outset "+eyesys_bg+";z-Index:1;}.men a{margin:1px;cursor:default;padding-bottom:4px;padding-left:1px;padding-right:1px;padding-top:3px;text-decoration:none;height:100%;width:100%;color:"+eyesys_cl+";font:normal 12px sans-serif;}.men a:hover{background:"+eyesys_bgov+";color:"+eyesys_clov+";} BODY{overflow:hidden;border:0px;padding:0px;margin:0px;}.ico{border:none;float:left;}</style><div class='men'>")
}
};
function eyesys_item(txt,ico,lnk){
if (ie5){
if(!ico)ico='s.gif';
preitem+=("<a href='#' onmousedown='parent.window.location.href=""+lnk+""'><img src='"+ico+"' width='1' height='1' class='ico'> "+txt+"</a>")
}
};
function eyesys_close(){
if (ie5){
eyesys+=preitem;
eyesys+=("</div><div class='contra'><div class='gradientul'></div><div class='textul' id='titlu'>"+eyesys_title+"</div></div>");
document.write("<div id='men' style='width:"+eyesys_width+"'></div>");
document.getElementById('men').innerHTML=preitem
}
}
<헤드 끝>
<바디에들가는 스크립트>
//MENU TITLE
eyesys_title="Run TO You Conan"
//TITLE BACKGROUND COLORS
eyesys_titlecol1="black"
eyesys_titlecol2="black"
//TITLE COLOR
eyesys_titletext="white"
//MENU & ITEM BACKGROUND COLOR
eyesys_bg="#eeeeee"
//ITEM BACKGROUND COLOR ON MOUSE OVER
eyesys_bgov="red"
//MENU COLOR
eyesys_cl="#000000"
//MENU COLOR ON MOUSE OVER
eyesys_clov="white"
//MENU WIDTH
eyesys_width=120
//menu starts here
eyesys_init()
//menu item sintax: eyesys_item(text,icon,link)
//for no icon use 'null'
eyesys_item('야후코리아','null','http://kr.yahoo.com')
eyesys_item('엠파스',null,'http://www.empas.com')
eyesys_item('네이버',null,'http://www.naver.com')
eyesys_item('한미르',null,'http://www.hanmir.com')
eyesys_item('하나포스',null,'http://www.hanafos.com')
eyesys_item('네이트',null,'http://www.nate.com')
eyesys_item('다음넷',null,'http://www.daum.net')
//mene closes here
eyesys_close()
<바디끝>
<헤드에들가는 스타일시트>
<!--
#men {
BORDER-RIGHT: 0px outset; BORDER-TOP: 0px outset; Z-INDEX: 1; LEFT: 0px; VISIBILITY: hidden; BORDER-LEFT: 0px outset; BORDER-BOTTOM: 0px outset; POSITION: absolute; TOP: 0px
}
#men A {
PADDING-RIGHT: 1px; PADDING-LEFT: 1px; PADDING-BOTTOM: 4px; MARGIN: 1px 1px 1px 16px; FONT: 12px sans-serif; WIDTH: 100%; PADDING-TOP: 3px; HEIGHT: 100%; TEXT-DECORATION: none
}
.ico {
BORDER-RIGHT: medium none; BORDER-TOP: medium none; FLOAT: left; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none
}
//-->
<헤드끝>
질문:: 오른쪽 마우스 누르면 나타나는 메뉴소스입니다 그런데 링크를 누르면
현재창에서 변화되거든요 전 새로운창으로 띄우고 싶은데 스크립트 소스중에
새창 띄우는 소스를 넣어도 안되고 어쩔땐 오류나오고 혹시 아시나 해서요
위의 메뉴가 실행이 안되시면 제 홈피에 오셔서 확인하세요 !!!!!
소중한 댓글 부탁드립니다.
추천수 10단위당 메달이 1개씩 노출되고, 추천수에 따라 배경색이 변하며, 일정수의 추천수를 받을시 아이콘이 붙게됩니다.
추천수 10단위당 메달이 1개씩 노출되고, 추천수에 따라 배경색이 변하며, 일정수의 추천수를 받을시 아이콘이 붙게됩니다.
추천수에 따른 배경색 보기
본문으로 바로가기
- 추천수 50개이상
- 추천수 30개이상
- 추천수 20개이상
- 추천수 10개이상
- 추천수 3개이상