안녕하세요~
플래시버튼에 관련하여서 질문합니다.
일단아래의 소스는 레이어가 열리고 닫히는 소스입니다.
<html>
<head>
<title>http://www.blueb.co.kr</title>
<script type="text/javascript">
<!--
function move_box(an, box) {
//링크된 위치에서 부터의 설정값 지정
var cleft = 20; //왼쪽마진
var ctop = -10; //상단마진
var obj = an;
while (obj.offsetParent) {
cleft += obj.offsetLeft;
ctop += obj.offsetTop;
obj = obj.offsetParent;
}
box.style.left = cleft + 'px';
ctop += an.offsetHeight + 8;
if (document.body.currentStyle &&
document.body.currentStyle['marginTop']) {
ctop += parseInt(
document.body.currentStyle['marginTop']);
}
box.style.top = ctop + 'px';
}
function show_hide_box(an, width, height, borderStyle) {
var href = an.href;
var boxdiv = document.getElementById(href);
if (boxdiv != null) {
if (boxdiv.style.display=='none') {
move_box(an, boxdiv);
boxdiv.style.display='block';
} else
boxdiv.style.display='none';
return false;
}
boxdiv = document.createElement('div');
boxdiv.setAttribute('id', href);
boxdiv.style.display = 'block';
boxdiv.style.position = 'absolute';
boxdiv.style.width = width + 'px';
boxdiv.style.height = height + 'px';
boxdiv.style.border = borderStyle;
boxdiv.style.backgroundColor = '#fff';
var contents = document.createElement('iframe');
contents.scrolling = 'no';
contents.frameBorder = '0';
contents.style.width = width + 'px';
contents.style.height = height + 'px';
contents.src = href;
boxdiv.appendChild(contents);
document.body.appendChild(boxdiv);
move_box(an, boxdiv);
return false;
}
</script>
</head>
<body>
레이어 팝업창 안에 HTML파일 및 외부사이트를 보여줄 수 있습니다.<p>
<a href="http://www.blueb.co.kr" onClick="return show_hide_box(this,440,300,'1px solid')">여기를 클릭하세요..</a>
여기서 플래시버튼으로 바꾸고 싶은데
getURL에 무엇을써야하죠??
추가로 닫기버튼도 만들고 싶은데.. 잘몰라서요..
아시는분 계시면 알려주세요./ㅠㅠ
플래시버튼에 관련하여서 질문합니다.
일단아래의 소스는 레이어가 열리고 닫히는 소스입니다.
<html>
<head>
<title>http://www.blueb.co.kr</title>
<script type="text/javascript">
<!--
function move_box(an, box) {
//링크된 위치에서 부터의 설정값 지정
var cleft = 20; //왼쪽마진
var ctop = -10; //상단마진
var obj = an;
while (obj.offsetParent) {
cleft += obj.offsetLeft;
ctop += obj.offsetTop;
obj = obj.offsetParent;
}
box.style.left = cleft + 'px';
ctop += an.offsetHeight + 8;
if (document.body.currentStyle &&
document.body.currentStyle['marginTop']) {
ctop += parseInt(
document.body.currentStyle['marginTop']);
}
box.style.top = ctop + 'px';
}
function show_hide_box(an, width, height, borderStyle) {
var href = an.href;
var boxdiv = document.getElementById(href);
if (boxdiv != null) {
if (boxdiv.style.display=='none') {
move_box(an, boxdiv);
boxdiv.style.display='block';
} else
boxdiv.style.display='none';
return false;
}
boxdiv = document.createElement('div');
boxdiv.setAttribute('id', href);
boxdiv.style.display = 'block';
boxdiv.style.position = 'absolute';
boxdiv.style.width = width + 'px';
boxdiv.style.height = height + 'px';
boxdiv.style.border = borderStyle;
boxdiv.style.backgroundColor = '#fff';
var contents = document.createElement('iframe');
contents.scrolling = 'no';
contents.frameBorder = '0';
contents.style.width = width + 'px';
contents.style.height = height + 'px';
contents.src = href;
boxdiv.appendChild(contents);
document.body.appendChild(boxdiv);
move_box(an, boxdiv);
return false;
}
</script>
</head>
<body>
레이어 팝업창 안에 HTML파일 및 외부사이트를 보여줄 수 있습니다.<p>
<a href="http://www.blueb.co.kr" onClick="return show_hide_box(this,440,300,'1px solid')">여기를 클릭하세요..</a>
여기서 플래시버튼으로 바꾸고 싶은데
getURL에 무엇을써야하죠??
추가로 닫기버튼도 만들고 싶은데.. 잘몰라서요..
아시는분 계시면 알려주세요./ㅠㅠ
댓글 1개
17년 전
아마 getURL(자스());
이렇게 하면 HTML 의 자스를 부를꺼에요
이렇게 하면 HTML 의 자스를 부를꺼에요
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 2030 | 17년 전 | 2790 | ||
| 2029 | 17년 전 | 1598 | ||
| 2028 | 17년 전 | 1346 | ||
| 2027 | 17년 전 | 1607 | ||
| 2026 |
진정한승리
|
17년 전 | 2518 | |
| 2025 | 17년 전 | 1737 | ||
| 2024 | 17년 전 | 2016 | ||
| 2023 | 17년 전 | 1306 | ||
| 2022 |
SE7EN
|
17년 전 | 1041 | |
| 2021 | 17년 전 | 1124 | ||
| 2020 | 17년 전 | 2924 | ||
| 2019 | 17년 전 | 2467 | ||
| 2018 | 17년 전 | 2048 | ||
| 2017 | 17년 전 | 2049 | ||
| 2016 | 17년 전 | 1795 | ||
| 2015 | 17년 전 | 2248 | ||
| 2014 | 17년 전 | 2016 | ||
| 2013 | 17년 전 | 1984 | ||
| 2012 | 17년 전 | 1868 | ||
| 2011 | 17년 전 | 1205 | ||
| 2010 | 17년 전 | 1821 | ||
| 2009 | 17년 전 | 2225 | ||
| 2008 | 17년 전 | 2296 | ||
| 2007 | 17년 전 | 1640 | ||
| 2006 |
Arone
|
17년 전 | 1511 | |
| 2005 |
|
17년 전 | 1355 | |
| 2004 | 17년 전 | 2575 | ||
| 2003 |
suerte
|
17년 전 | 2673 | |
| 2002 |
suerte
|
17년 전 | 2077 | |
| 2001 |
suerte
|
17년 전 | 2417 | |
| 2000 |
|
17년 전 | 2723 | |
| 1999 |
|
17년 전 | 1326 | |
| 1998 |
|
17년 전 | 1189 | |
| 1997 | 17년 전 | 6326 | ||
| 1996 | 17년 전 | 1181 | ||
| 1995 | 17년 전 | 1629 | ||
| 1994 | 17년 전 | 1777 | ||
| 1993 | 17년 전 | 1103 | ||
| 1992 | 17년 전 | 1190 | ||
| 1991 | 17년 전 | 1888 | ||
| 1990 |
sdjsu
|
17년 전 | 1517 | |
| 1989 | 17년 전 | 3614 | ||
| 1988 |
smilesol
|
17년 전 | 1205 | |
| 1987 |
|
17년 전 | 1905 | |
| 1986 | 17년 전 | 1175 | ||
| 1985 | 17년 전 | 1388 | ||
| 1984 | 17년 전 | 2360 | ||
| 1983 | 17년 전 | 2016 | ||
| 1982 | 17년 전 | 1038 | ||
| 1981 | 17년 전 | 1038 | ||
| 1980 | 17년 전 | 1087 | ||
| 1979 |
오렌지76
|
17년 전 | 6041 | |
| 1978 |
오렌지76
|
17년 전 | 5845 | |
| 1977 | 17년 전 | 2033 | ||
| 1976 |
없어씨바라
|
17년 전 | 1026 | |
| 1975 | 17년 전 | 1118 | ||
| 1974 | 17년 전 | 2082 | ||
| 1973 | 17년 전 | 1514 | ||
| 1972 | 17년 전 | 1154 | ||
| 1971 |
smilesol
|
17년 전 | 1189 | |
| 1970 | 17년 전 | 1143 | ||
| 1969 |
smilesol
|
17년 전 | 1063 | |
| 1968 |
소행성블루
|
17년 전 | 3971 | |
| 1967 |
소행성블루
|
17년 전 | 2178 | |
| 1966 | 17년 전 | 1643 | ||
| 1965 |
소행성블루
|
17년 전 | 2775 | |
| 1964 |
고양Ol아빠
|
17년 전 | 1476 | |
| 1963 | 17년 전 | 1165 | ||
| 1962 | 17년 전 | 1181 | ||
| 1961 |
choijinhee
|
17년 전 | 1245 | |
| 1960 | 17년 전 | 1127 | ||
| 1959 | 17년 전 | 1247 | ||
| 1958 |
하이웹솔루션
|
17년 전 | 2404 | |
| 1957 | 17년 전 | 4192 | ||
| 1956 | 17년 전 | 1193 | ||
| 1955 | 17년 전 | 3949 | ||
| 1954 | 17년 전 | 4103 | ||
| 1953 | 17년 전 | 1223 | ||
| 1952 | 17년 전 | 2174 | ||
| 1951 | 17년 전 | 1619 | ||
| 1950 | 17년 전 | 3213 | ||
| 1949 | 17년 전 | 1360 | ||
| 1948 | 17년 전 | 3608 | ||
| 1947 | 17년 전 | 3404 | ||
| 1946 | 17년 전 | 2573 | ||
| 1945 | 17년 전 | 2938 | ||
| 1944 | 17년 전 | 2627 | ||
| 1943 | 17년 전 | 1944 | ||
| 1942 | 17년 전 | 3312 | ||
| 1941 | 17년 전 | 2624 | ||
| 1940 | 17년 전 | 3521 | ||
| 1939 |
|
17년 전 | 1152 | |
| 1938 | 17년 전 | 2246 | ||
| 1937 | 17년 전 | 1320 | ||
| 1936 |
smilesol
|
17년 전 | 1185 | |
| 1935 |
AHEEZII
|
17년 전 | 1057 | |
| 1934 |
smilesol
|
17년 전 | 1042 | |
| 1933 | 17년 전 | 1417 | ||
| 1932 | 17년 전 | 2858 | ||
| 1931 | 17년 전 | 3251 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기