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-07-30 조회 5,135
07-07-30 조회 5,600
07-07-30 조회 5,521
07-07-29 조회 3,931
07-07-29 조회 3,665
07-07-29 조회 4,609
07-07-29 조회 4,470
07-07-28 조회 4,676
07-07-26 조회 4,589
07-07-25 조회 6,239
07-07-24 조회 6,496
07-07-21 조회 4,609
07-07-21 조회 3,964
07-07-21 조회 4,175
07-07-21 조회 3,483
07-07-21 조회 3,320
07-07-21 조회 3,266
07-07-20 조회 4,370
07-07-20 조회 3,514
07-07-20 조회 3,588
07-07-20 조회 3,259
07-07-20 조회 3,718
07-07-20 조회 4,451
07-07-18 조회 5,434
07-07-18 조회 4,634
07-07-16 조회 3,233
07-07-16 조회 3,155
07-07-13 조회 4,132
07-07-12 조회 2,848
07-07-09 조회 3,242
07-07-07 조회 3,481
07-07-07 조회 3,385
07-07-07 조회 3,504
07-07-06 조회 5,320
07-07-06 조회 3,052
07-07-06 조회 5,738
07-07-06 조회 4,300
07-07-06 조회 3,484
07-07-06 조회 4,527
07-07-06 조회 4,145
07-07-05 조회 4,131
07-07-05 조회 6,884
07-07-04 조회 3,501
07-07-02 조회 4,657
07-06-30 조회 4,538
07-06-29 조회 4,941
07-06-29 조회 4,470
07-06-28 조회 3,656
07-06-23 조회 3,312
07-06-21 조회 3,774
07-06-20 조회 7,444
07-06-20 조회 4,053
07-06-20 조회 5,791
07-06-19 조회 3,245
07-06-19 조회 1.1만
07-06-17 조회 3,714
07-06-16 조회 2,815
07-06-15 조회 4,219
07-06-12 조회 4,178
07-06-11 조회 4,054
07-06-11 조회 3,346
07-06-05 조회 3,685
07-06-05 조회 4,243
07-06-05 조회 4,247
07-06-05 조회 5,357
07-06-04 조회 7,421
07-05-31 조회 3,325
07-05-30 조회 3,398
07-05-29 조회 3,095
07-05-29 조회 2,823
07-05-29 조회 3,834
07-05-29 조회 2,918
07-05-29 조회 2,731
07-05-29 조회 5,968
07-05-29 조회 2,983
07-05-29 조회 3,011
07-05-29 조회 3,025
07-05-29 조회 3,131
07-05-29 조회 4,822
07-05-29 조회 2,820
07-05-29 조회 2,683
07-05-29 조회 2,500
07-05-29 조회 3,054
07-05-29 조회 3,086
07-05-28 조회 5,016
07-05-26 조회 3,306
07-05-20 조회 4,333
07-05-18 조회 6,090
07-05-18 조회 4,130
07-05-17 조회 9,251
07-05-17 조회 5,288
07-05-17 조회 3,960
07-05-16 조회 2,702
07-05-16 조회 3,845
07-05-15 조회 6,273
07-05-14 조회 6,452
07-05-13 조회 3,289
07-05-11 조회 5,602
07-05-10 조회 5,344
07-05-10 조회 5,413