안녕하세요~
플래시버튼에 관련하여서 질문합니다.
일단아래의 소스는 레이어가 열리고 닫히는 소스입니다.
<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 의 자스를 부를꺼에요
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8030 | 9년 전 | 413 | ||
| 8029 | 9년 전 | 335 | ||
| 8028 | 9년 전 | 291 | ||
| 8027 | 9년 전 | 305 | ||
| 8026 | 9년 전 | 377 | ||
| 8025 | 9년 전 | 408 | ||
| 8024 | 9년 전 | 395 | ||
| 8023 | 9년 전 | 421 | ||
| 8022 | 9년 전 | 336 | ||
| 8021 | 9년 전 | 358 | ||
| 8020 | 9년 전 | 356 | ||
| 8019 | 9년 전 | 370 | ||
| 8018 | 9년 전 | 475 | ||
| 8017 | 9년 전 | 556 | ||
| 8016 | 9년 전 | 378 | ||
| 8015 | 9년 전 | 413 | ||
| 8014 | 9년 전 | 345 | ||
| 8013 | 9년 전 | 264 | ||
| 8012 | 9년 전 | 269 | ||
| 8011 | 9년 전 | 474 | ||
| 8010 | 9년 전 | 329 | ||
| 8009 | 9년 전 | 346 | ||
| 8008 | 9년 전 | 314 | ||
| 8007 | 9년 전 | 462 | ||
| 8006 | 9년 전 | 498 | ||
| 8005 |
|
9년 전 | 992 | |
| 8004 | 9년 전 | 381 | ||
| 8003 | 9년 전 | 452 | ||
| 8002 | 9년 전 | 346 | ||
| 8001 |
|
9년 전 | 686 | |
| 8000 | 9년 전 | 455 | ||
| 7999 | 9년 전 | 405 | ||
| 7998 | 9년 전 | 463 | ||
| 7997 | 9년 전 | 331 | ||
| 7996 | 9년 전 | 563 | ||
| 7995 | 9년 전 | 507 | ||
| 7994 | 9년 전 | 397 | ||
| 7993 | 9년 전 | 466 | ||
| 7992 | 9년 전 | 540 | ||
| 7991 | 9년 전 | 286 | ||
| 7990 | 9년 전 | 321 | ||
| 7989 | 9년 전 | 328 | ||
| 7988 | 9년 전 | 755 | ||
| 7987 | 9년 전 | 460 | ||
| 7986 | 9년 전 | 461 | ||
| 7985 | 9년 전 | 539 | ||
| 7984 | 9년 전 | 456 | ||
| 7983 | 9년 전 | 695 | ||
| 7982 | 9년 전 | 556 | ||
| 7981 | 9년 전 | 514 | ||
| 7980 | 9년 전 | 535 | ||
| 7979 | 9년 전 | 524 | ||
| 7978 | 9년 전 | 489 | ||
| 7977 | 9년 전 | 430 | ||
| 7976 | 9년 전 | 888 | ||
| 7975 | 9년 전 | 400 | ||
| 7974 | 9년 전 | 446 | ||
| 7973 | 9년 전 | 630 | ||
| 7972 | 9년 전 | 420 | ||
| 7971 | 9년 전 | 492 | ||
| 7970 | 9년 전 | 337 | ||
| 7969 | 9년 전 | 577 | ||
| 7968 | 9년 전 | 424 | ||
| 7967 | 9년 전 | 409 | ||
| 7966 | 9년 전 | 412 | ||
| 7965 |
|
9년 전 | 1044 | |
| 7964 | 9년 전 | 433 | ||
| 7963 | 9년 전 | 441 | ||
| 7962 | 9년 전 | 440 | ||
| 7961 |
전갈자리남자
|
9년 전 | 529 | |
| 7960 | 9년 전 | 1000 | ||
| 7959 | 9년 전 | 582 | ||
| 7958 | 9년 전 | 433 | ||
| 7957 | 9년 전 | 389 | ||
| 7956 | 9년 전 | 389 | ||
| 7955 | 9년 전 | 493 | ||
| 7954 | 9년 전 | 427 | ||
| 7953 | 9년 전 | 469 | ||
| 7952 | 9년 전 | 393 | ||
| 7951 | 9년 전 | 526 | ||
| 7950 | 9년 전 | 422 | ||
| 7949 | 9년 전 | 413 | ||
| 7948 | 9년 전 | 353 | ||
| 7947 | 9년 전 | 967 | ||
| 7946 | 9년 전 | 484 | ||
| 7945 | 9년 전 | 428 | ||
| 7944 | 9년 전 | 486 | ||
| 7943 | 9년 전 | 419 | ||
| 7942 | 9년 전 | 434 | ||
| 7941 | 9년 전 | 424 | ||
| 7940 | 9년 전 | 926 | ||
| 7939 | 9년 전 | 414 | ||
| 7938 | 9년 전 | 432 | ||
| 7937 | 9년 전 | 323 | ||
| 7936 | 9년 전 | 905 | ||
| 7935 | 9년 전 | 499 | ||
| 7934 | 9년 전 | 478 | ||
| 7933 | 9년 전 | 600 | ||
| 7932 | 9년 전 | 544 | ||
| 7931 | 9년 전 | 601 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기