안녕하세요~
플래시버튼에 관련하여서 질문합니다.
일단아래의 소스는 레이어가 열리고 닫히는 소스입니다.
<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 의 자스를 부를꺼에요
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7930 | 9년 전 | 460 | ||
| 7929 | 9년 전 | 394 | ||
| 7928 | 9년 전 | 472 | ||
| 7927 | 9년 전 | 379 | ||
| 7926 | 9년 전 | 689 | ||
| 7925 | 9년 전 | 406 | ||
| 7924 | 9년 전 | 387 | ||
| 7923 | 9년 전 | 380 | ||
| 7922 | 9년 전 | 414 | ||
| 7921 | 9년 전 | 433 | ||
| 7920 | 9년 전 | 343 | ||
| 7919 | 9년 전 | 352 | ||
| 7918 | 9년 전 | 507 | ||
| 7917 | 9년 전 | 359 | ||
| 7916 | 9년 전 | 446 | ||
| 7915 | 9년 전 | 454 | ||
| 7914 | 9년 전 | 468 | ||
| 7913 | 9년 전 | 639 | ||
| 7912 | 9년 전 | 468 | ||
| 7911 | 9년 전 | 398 | ||
| 7910 | 9년 전 | 446 | ||
| 7909 | 9년 전 | 555 | ||
| 7908 | 9년 전 | 494 | ||
| 7907 | 9년 전 | 429 | ||
| 7906 | 9년 전 | 449 | ||
| 7905 | 9년 전 | 417 | ||
| 7904 | 9년 전 | 405 | ||
| 7903 | 9년 전 | 405 | ||
| 7902 | 9년 전 | 593 | ||
| 7901 |
|
9년 전 | 767 | |
| 7900 | 9년 전 | 650 | ||
| 7899 | 9년 전 | 431 | ||
| 7898 | 9년 전 | 430 | ||
| 7897 | 9년 전 | 390 | ||
| 7896 | 9년 전 | 407 | ||
| 7895 | 9년 전 | 523 | ||
| 7894 | 9년 전 | 435 | ||
| 7893 | 9년 전 | 407 | ||
| 7892 | 9년 전 | 446 | ||
| 7891 | 9년 전 | 808 | ||
| 7890 | 9년 전 | 1231 | ||
| 7889 | 9년 전 | 766 | ||
| 7888 |
limsy1987
|
9년 전 | 578 | |
| 7887 | 9년 전 | 615 | ||
| 7886 | 9년 전 | 503 | ||
| 7885 | 9년 전 | 473 | ||
| 7884 | 9년 전 | 463 | ||
| 7883 | 9년 전 | 473 | ||
| 7882 | 9년 전 | 526 | ||
| 7881 | 9년 전 | 501 | ||
| 7880 | 9년 전 | 621 | ||
| 7879 | 9년 전 | 509 | ||
| 7878 | 9년 전 | 1279 | ||
| 7877 | 9년 전 | 810 | ||
| 7876 | 9년 전 | 550 | ||
| 7875 | 9년 전 | 615 | ||
| 7874 |
|
9년 전 | 830 | |
| 7873 | 9년 전 | 552 | ||
| 7872 | 9년 전 | 717 | ||
| 7871 | 9년 전 | 530 | ||
| 7870 | 9년 전 | 649 | ||
| 7869 | 9년 전 | 470 | ||
| 7868 | 9년 전 | 505 | ||
| 7867 | 9년 전 | 503 | ||
| 7866 | 9년 전 | 567 | ||
| 7865 | 9년 전 | 506 | ||
| 7864 | 9년 전 | 570 | ||
| 7863 | 9년 전 | 559 | ||
| 7862 | 9년 전 | 522 | ||
| 7861 | 9년 전 | 694 | ||
| 7860 | 9년 전 | 670 | ||
| 7859 | 9년 전 | 445 | ||
| 7858 | 9년 전 | 752 | ||
| 7857 | 9년 전 | 1140 | ||
| 7856 | 9년 전 | 571 | ||
| 7855 | 9년 전 | 804 | ||
| 7854 | 9년 전 | 754 | ||
| 7853 | 9년 전 | 650 | ||
| 7852 | 9년 전 | 567 | ||
| 7851 | 9년 전 | 563 | ||
| 7850 | 9년 전 | 637 | ||
| 7849 | 9년 전 | 403 | ||
| 7848 | 9년 전 | 470 | ||
| 7847 | 9년 전 | 716 | ||
| 7846 | 9년 전 | 501 | ||
| 7845 | 9년 전 | 470 | ||
| 7844 | 9년 전 | 439 | ||
| 7843 | 9년 전 | 479 | ||
| 7842 | 9년 전 | 463 | ||
| 7841 | 10년 전 | 430 | ||
| 7840 | 10년 전 | 445 | ||
| 7839 | 10년 전 | 493 | ||
| 7838 | 10년 전 | 555 | ||
| 7837 | 10년 전 | 385 | ||
| 7836 | 10년 전 | 444 | ||
| 7835 | 10년 전 | 521 | ||
| 7834 |
|
10년 전 | 1228 | |
| 7833 | 10년 전 | 489 | ||
| 7832 | 10년 전 | 463 | ||
| 7831 | 10년 전 | 624 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기