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,187건
+
제목 글쓴이 날짜 조회
07-10-19 조회 3,478
07-10-19 조회 3,239
07-10-19 조회 3,189
07-10-19 조회 2,891
07-10-19 조회 4,464
07-10-19 조회 5,830
07-10-19 조회 6,110
07-10-19 조회 3,503
07-10-19 조회 4,963
07-10-17 조회 4,615
07-10-17 조회 6,002
07-10-16 조회 4,625
07-10-15 조회 5,583
07-10-13 조회 5,264
07-10-09 조회 4,962
07-10-09 조회 4,299
07-10-09 조회 4,229
07-10-09 조회 4,787
07-10-09 조회 3,551
07-10-09 조회 3,331
07-10-09 조회 6,807
07-10-09 조회 3,957
07-10-09 조회 3,694
07-10-09 조회 4,015
07-10-09 조회 3,381
07-10-09 조회 4,429
07-10-08 조회 1.1만
07-10-05 조회 3,165
07-10-05 조회 4,090
07-10-03 조회 4,206
07-10-03 조회 3,412
07-10-03 조회 4,258
07-10-03 조회 5,271
07-10-03 조회 4,260
07-10-03 조회 3,660
07-10-03 조회 7,347
07-10-03 조회 4,930
07-10-03 조회 7,596
07-10-03 조회 3,693
07-10-03 조회 3,643
07-10-03 조회 3,640
07-10-03 조회 4,678
07-10-03 조회 4,631
07-10-03 조회 3,331
07-10-03 조회 5,188
07-10-03 조회 2,995
07-10-03 조회 2,662
07-10-03 조회 2,712
07-10-03 조회 2,923
07-10-03 조회 2,927
07-10-03 조회 4,746
07-10-02 조회 3,634
07-10-02 조회 3,166
07-10-02 조회 3,501
07-10-02 조회 5,807
07-10-02 조회 3,543
07-10-02 조회 4,165
07-10-02 조회 3,183
07-10-02 조회 4,848
07-10-02 조회 3,094
07-10-02 조회 8,929
07-10-02 조회 4,583
07-10-01 조회 2,544
07-10-01 조회 3,746
07-09-28 조회 4,770
07-09-28 조회 3,645
07-09-27 조회 3,542
07-09-27 조회 4,051
07-09-27 조회 5,096
07-09-27 조회 4,699
07-09-27 조회 3,837
07-09-27 조회 3,247
07-09-27 조회 3,294
07-09-27 조회 3,935
07-09-27 조회 3,261
07-09-15 조회 4,204
07-09-15 조회 2,922
07-09-13 조회 3,441
07-09-13 조회 2,960
07-09-13 조회 3,404
07-09-11 조회 3,632
07-09-09 조회 3,571
07-08-28 조회 3,509
07-08-28 조회 3,380
07-08-23 조회 4,688
07-08-22 조회 2,881
07-08-21 조회 4,665
07-08-21 조회 3,251
07-08-16 조회 6,518
07-08-07 조회 3,431
07-08-04 조회 3,555
07-08-04 조회 2,927
07-08-04 조회 3,337
07-08-04 조회 4,894
07-08-04 조회 2,741
07-08-04 조회 2,946
07-08-01 조회 5,579
07-08-01 조회 4,998
07-07-31 조회 4,464
07-07-31 조회 4,708