안녕하세요~
플래시버튼에 관련하여서 질문합니다.
일단아래의 소스는 레이어가 열리고 닫히는 소스입니다.
<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 의 자스를 부를꺼에요
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 2230 | 16년 전 | 1289 | ||
| 2229 | 16년 전 | 2161 | ||
| 2228 | 16년 전 | 3223 | ||
| 2227 | 16년 전 | 2166 | ||
| 2226 | 16년 전 | 1752 | ||
| 2225 | 16년 전 | 1512 | ||
| 2224 |
|
16년 전 | 2045 | |
| 2223 | 16년 전 | 4730 | ||
| 2222 | 16년 전 | 1409 | ||
| 2221 |
|
16년 전 | 2144 | |
| 2220 |
|
16년 전 | 2133 | |
| 2219 |
|
16년 전 | 2403 | |
| 2218 |
|
16년 전 | 2145 | |
| 2217 |
|
16년 전 | 4440 | |
| 2216 |
|
16년 전 | 2925 | |
| 2215 | 16년 전 | 2865 | ||
| 2214 | 16년 전 | 1602 | ||
| 2213 | 16년 전 | 1247 | ||
| 2212 |
|
16년 전 | 3947 | |
| 2211 |
|
16년 전 | 1618 | |
| 2210 |
|
16년 전 | 1613 | |
| 2209 | 16년 전 | 2113 | ||
| 2208 | 16년 전 | 1886 | ||
| 2207 |
letsgolee
|
16년 전 | 1491 | |
| 2206 |
|
16년 전 | 3918 | |
| 2205 | 16년 전 | 1758 | ||
| 2204 | 16년 전 | 3136 | ||
| 2203 | 16년 전 | 3022 | ||
| 2202 | 16년 전 | 1045 | ||
| 2201 | 16년 전 | 1844 | ||
| 2200 | 16년 전 | 1592 | ||
| 2199 |
|
16년 전 | 1853 | |
| 2198 |
태양의서쪽
|
16년 전 | 2643 | |
| 2197 |
태양의서쪽
|
16년 전 | 3023 | |
| 2196 |
태양의서쪽
|
16년 전 | 3225 | |
| 2195 | 16년 전 | 3328 | ||
| 2194 | 16년 전 | 1464 | ||
| 2193 |
letsgolee
|
16년 전 | 1421 | |
| 2192 | 16년 전 | 2258 | ||
| 2191 | 16년 전 | 1976 | ||
| 2190 |
|
16년 전 | 2289 | |
| 2189 | 16년 전 | 2810 | ||
| 2188 |
Sizkein
|
17년 전 | 3260 | |
| 2187 |
letsgolee
|
17년 전 | 2357 | |
| 2186 |
Sizkein
|
17년 전 | 1634 | |
| 2185 |
Sizkein
|
17년 전 | 3208 | |
| 2184 |
Sizkein
|
17년 전 | 3062 | |
| 2183 | 17년 전 | 3040 | ||
| 2182 | 17년 전 | 3914 | ||
| 2181 | 17년 전 | 2583 | ||
| 2180 |
|
17년 전 | 2403 | |
| 2179 | 17년 전 | 2653 | ||
| 2178 | 17년 전 | 2897 | ||
| 2177 | 17년 전 | 2615 | ||
| 2176 | 17년 전 | 1453 | ||
| 2175 | 17년 전 | 1897 | ||
| 2174 | 17년 전 | 1495 | ||
| 2173 |
|
17년 전 | 1922 | |
| 2172 | 17년 전 | 2520 | ||
| 2171 | 17년 전 | 8706 | ||
| 2170 | 17년 전 | 3157 | ||
| 2169 | 17년 전 | 4243 | ||
| 2168 |
|
17년 전 | 1986 | |
| 2167 | 17년 전 | 3658 | ||
| 2166 |
|
17년 전 | 1552 | |
| 2165 | 17년 전 | 1385 | ||
| 2164 | 17년 전 | 2324 | ||
| 2163 | 17년 전 | 1316 | ||
| 2162 | 17년 전 | 1639 | ||
| 2161 | 17년 전 | 1458 | ||
| 2160 | 17년 전 | 2530 | ||
| 2159 |
inxps
|
17년 전 | 1499 | |
| 2158 |
inxps
|
17년 전 | 1093 | |
| 2157 | 17년 전 | 1225 | ||
| 2156 | 17년 전 | 3102 | ||
| 2155 | 17년 전 | 2172 | ||
| 2154 | 17년 전 | 1975 | ||
| 2153 |
|
17년 전 | 1222 | |
| 2152 |
letsgolee
|
17년 전 | 2454 | |
| 2151 | 17년 전 | 1170 | ||
| 2150 |
아름다운세상
|
17년 전 | 1129 | |
| 2149 |
아름다운세상
|
17년 전 | 1373 | |
| 2148 |
아름다운세상
|
17년 전 | 2735 | |
| 2147 |
|
17년 전 | 2399 | |
| 2146 | 17년 전 | 2483 | ||
| 2145 | 17년 전 | 1186 | ||
| 2144 | 17년 전 | 1301 | ||
| 2143 | 17년 전 | 3247 | ||
| 2142 | 17년 전 | 2835 | ||
| 2141 | 17년 전 | 4109 | ||
| 2140 | 17년 전 | 2260 | ||
| 2139 | 17년 전 | 2349 | ||
| 2138 | 17년 전 | 1399 | ||
| 2137 | 17년 전 | 2515 | ||
| 2136 | 17년 전 | 2200 | ||
| 2135 | 17년 전 | 2959 | ||
| 2134 |
아름다운세상
|
17년 전 | 2468 | |
| 2133 |
Juinjang
|
17년 전 | 1629 | |
| 2132 | 17년 전 | 2430 | ||
| 2131 | 17년 전 | 1589 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기