안녕하세요~
플래시버튼에 관련하여서 질문합니다.
일단아래의 소스는 레이어가 열리고 닫히는 소스입니다.
<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 의 자스를 부를꺼에요
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8230 | 9년 전 | 190 | ||
| 8229 | 9년 전 | 174 | ||
| 8228 |
커네드커네드
|
9년 전 | 213 | |
| 8227 | 9년 전 | 253 | ||
| 8226 | 9년 전 | 271 | ||
| 8225 | 9년 전 | 254 | ||
| 8224 | 9년 전 | 257 | ||
| 8223 | 9년 전 | 236 | ||
| 8222 |
|
9년 전 | 298 | |
| 8221 | 9년 전 | 197 | ||
| 8220 | 9년 전 | 237 | ||
| 8219 | 9년 전 | 209 | ||
| 8218 | 9년 전 | 255 | ||
| 8217 |
star3840
|
9년 전 | 216 | |
| 8216 | 9년 전 | 291 | ||
| 8215 | 9년 전 | 236 | ||
| 8214 | 9년 전 | 339 | ||
| 8213 | 9년 전 | 299 | ||
| 8212 | 9년 전 | 216 | ||
| 8211 | 9년 전 | 384 | ||
| 8210 | 9년 전 | 380 | ||
| 8209 | 9년 전 | 456 | ||
| 8208 | 9년 전 | 343 | ||
| 8207 | 9년 전 | 355 | ||
| 8206 |
|
9년 전 | 302 | |
| 8205 | 9년 전 | 272 | ||
| 8204 | 9년 전 | 266 | ||
| 8203 | 9년 전 | 344 | ||
| 8202 | 9년 전 | 252 | ||
| 8201 | 9년 전 | 295 | ||
| 8200 | 9년 전 | 298 | ||
| 8199 | 9년 전 | 320 | ||
| 8198 | 9년 전 | 285 | ||
| 8197 | 9년 전 | 272 | ||
| 8196 | 9년 전 | 695 | ||
| 8195 | 9년 전 | 281 | ||
| 8194 | 9년 전 | 393 | ||
| 8193 | 9년 전 | 307 | ||
| 8192 | 9년 전 | 310 | ||
| 8191 | 9년 전 | 271 | ||
| 8190 | 9년 전 | 254 | ||
| 8189 | 9년 전 | 313 | ||
| 8188 | 9년 전 | 246 | ||
| 8187 | 9년 전 | 269 | ||
| 8186 | 9년 전 | 260 | ||
| 8185 | 9년 전 | 430 | ||
| 8184 | 9년 전 | 218 | ||
| 8183 | 9년 전 | 423 | ||
| 8182 | 9년 전 | 295 | ||
| 8181 | 9년 전 | 249 | ||
| 8180 | 9년 전 | 825 | ||
| 8179 | 9년 전 | 602 | ||
| 8178 | 9년 전 | 457 | ||
| 8177 |
kiplayer
|
9년 전 | 454 | |
| 8176 | 9년 전 | 485 | ||
| 8175 | 9년 전 | 369 | ||
| 8174 | 9년 전 | 366 | ||
| 8173 | 9년 전 | 455 | ||
| 8172 | 9년 전 | 335 | ||
| 8171 | 9년 전 | 297 | ||
| 8170 | 9년 전 | 414 | ||
| 8169 |
커네드커네드
|
9년 전 | 365 | |
| 8168 | 9년 전 | 454 | ||
| 8167 | 9년 전 | 443 | ||
| 8166 | 9년 전 | 343 | ||
| 8165 | 9년 전 | 281 | ||
| 8164 | 9년 전 | 415 | ||
| 8163 | 9년 전 | 419 | ||
| 8162 | 9년 전 | 400 | ||
| 8161 | 9년 전 | 419 | ||
| 8160 |
|
9년 전 | 639 | |
| 8159 | 9년 전 | 582 | ||
| 8158 | 9년 전 | 376 | ||
| 8157 | 9년 전 | 499 | ||
| 8156 | 9년 전 | 371 | ||
| 8155 | 9년 전 | 383 | ||
| 8154 |
00년생용띠
|
9년 전 | 705 | |
| 8153 | 9년 전 | 346 | ||
| 8152 |
|
9년 전 | 524 | |
| 8151 | 9년 전 | 515 | ||
| 8150 | 9년 전 | 634 | ||
| 8149 |
Jangfolk
|
9년 전 | 493 | |
| 8148 | 9년 전 | 307 | ||
| 8147 | 9년 전 | 490 | ||
| 8146 | 9년 전 | 574 | ||
| 8145 | 9년 전 | 527 | ||
| 8144 | 9년 전 | 499 | ||
| 8143 | 9년 전 | 322 | ||
| 8142 | 9년 전 | 542 | ||
| 8141 | 9년 전 | 486 | ||
| 8140 | 9년 전 | 1060 | ||
| 8139 | 9년 전 | 392 | ||
| 8138 |
전갈자리남자
|
9년 전 | 498 | |
| 8137 | 9년 전 | 542 | ||
| 8136 | 9년 전 | 866 | ||
| 8135 |
|
9년 전 | 916 | |
| 8134 |
PlayPixel
|
9년 전 | 653 | |
| 8133 |
|
9년 전 | 557 | |
| 8132 | 9년 전 | 591 | ||
| 8131 | 9년 전 | 948 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기