s

플래시버튼.

안녕하세요~
플래시버튼에 관련하여서 질문합니다.
일단아래의 소스는 레이어가 열리고 닫히는 소스입니다.

<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개

아마 getURL(자스());

이렇게 하면 HTML 의 자스를 부를꺼에요
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
07-07-16 조회 3,122
07-07-06 조회 3,008
07-07-06 조회 3,438
07-06-23 조회 3,268
07-06-16 조회 2,775
07-05-20 조회 4,282
07-05-09 조회 3,458
07-05-09 조회 6,098
07-05-04 조회 2,691
07-04-30 조회 9,830
07-04-27 조회 4,332
07-04-26 조회 3,445
07-04-25 조회 5,289
07-04-18 조회 7,787
07-04-13 조회 3,124
07-04-12 조회 6,633
07-04-12 조회 5,038
07-04-12 조회 3,350
07-04-11 조회 5,715
07-04-05 조회 6,357
07-03-24 조회 4,417
07-03-20 조회 3,739
07-03-18 조회 3,990
07-03-18 조회 4,737
07-03-17 조회 4,236
07-03-16 조회 4,129
07-03-15 조회 5,294
07-03-13 조회 5,400
07-03-13 조회 3,585
07-03-08 조회 4,495
07-03-08 조회 3,981
07-03-08 조회 3,292
07-03-08 조회 4,184
07-03-05 조회 4,433
07-03-04 조회 2,908
07-03-01 조회 5,943
07-02-28 조회 3,231
07-02-27 조회 4,405
07-02-26 조회 3,327
07-02-26 조회 3,032
07-02-23 조회 3,667
07-02-23 조회 3,634
07-02-22 조회 4,016
07-02-22 조회 3,826
07-02-19 조회 3,850
07-02-17 조회 4,866
07-02-14 조회 8,168
07-02-12 조회 3,940
07-02-10 조회 3,559
07-02-02 조회 3,810
07-01-31 조회 3,483
07-01-29 조회 3,339
07-01-25 조회 5,119
07-01-21 조회 3,264
07-01-19 조회 3,048
06-12-15 조회 4,058
06-12-15 조회 4,467
06-12-15 조회 2,952
06-12-15 조회 4,502
06-12-15 조회 3,390
06-12-15 조회 4,097
06-12-15 조회 3,041
06-12-15 조회 2,769
06-12-15 조회 4,633
06-12-15 조회 3,175
06-12-15 조회 3,281
06-12-07 조회 4,727
06-12-07 조회 4,016
06-12-04 조회 4,661
06-11-27 조회 3,708
06-11-21 조회 4,018
06-11-15 조회 3,446
06-11-04 조회 3,338
06-10-29 조회 3,996
06-10-13 조회 3,853
06-10-13 조회 4,222
06-10-13 조회 4,176
06-10-12 조회 5,369
06-10-12 조회 4,281
06-10-04 조회 3,783
06-10-02 조회 4,562
06-09-29 조회 3,050
06-09-26 조회 3,393
06-09-26 조회 3,652
06-09-26 조회 3,298
06-09-26 조회 3,445
06-09-26 조회 4,352
06-09-25 조회 4,655
06-09-22 조회 4,996
06-09-22 조회 3,561
06-09-21 조회 4,335
06-09-21 조회 4,340
06-09-21 조회 3,548
06-09-21 조회 5,195
06-09-21 조회 3,726
06-09-21 조회 3,457
06-09-20 조회 3,029
06-09-15 조회 3,156
06-09-13 조회 3,472
06-09-11 조회 3,284