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-04-22 조회 2,612
07-04-22 조회 2,441
07-04-22 조회 2,361
07-04-21 조회 2,429
07-04-21 조회 2,757
07-04-21 조회 2,106
07-04-21 조회 2,527
07-04-21 조회 2,361
07-04-21 조회 2,438
07-04-20 조회 4,254
07-04-20 조회 2,161
07-04-20 조회 2,383
07-04-20 조회 3,421
07-04-20 조회 3,525
07-04-20 조회 2,547
07-04-20 조회 3,153
07-04-20 조회 2,412
07-04-19 조회 3,769
07-04-18 조회 7,841
07-04-18 조회 5,044
07-04-18 조회 3,442
07-04-17 조회 7,594
07-04-17 조회 3,858
07-04-17 조회 3,897
07-04-17 조회 3,342
07-04-16 조회 3,359
07-04-16 조회 3,343
07-04-16 조회 5,214
07-04-15 조회 5,268
07-04-15 조회 6,340
07-04-14 조회 5,439
07-04-13 조회 3,866
07-04-13 조회 3,185
07-04-13 조회 4,138
07-04-13 조회 4,001
07-04-13 조회 3,498
07-04-12 조회 6,694
07-04-12 조회 6,038
07-04-12 조회 5,098
07-04-12 조회 4,695
07-04-12 조회 3,378
07-04-12 조회 3,415
07-04-12 조회 4,935
07-04-11 조회 3,539
07-04-11 조회 3,747
07-04-11 조회 2,985
07-04-11 조회 5,775
07-04-11 조회 3,390
07-04-11 조회 3,514
07-04-11 조회 5,268
07-04-08 조회 5,253
07-04-07 조회 3,344
07-04-05 조회 4,029
07-04-05 조회 6,406
07-04-04 조회 3,636
07-04-04 조회 4,207
07-04-02 조회 9,847
07-03-31 조회 3,236
07-03-31 조회 4,213
07-03-30 조회 3,851
07-03-30 조회 4,224
07-03-29 조회 3,684
07-03-29 조회 3,733
07-03-27 조회 3,979
07-03-27 조회 5,197
07-03-27 조회 3,895
07-03-26 조회 3,950
07-03-24 조회 4,476
07-03-24 조회 4,083
07-03-23 조회 3,323
07-03-22 조회 3,747
07-03-21 조회 3,777
07-03-21 조회 5,285
07-03-21 조회 6,009
07-03-20 조회 3,602
07-03-20 조회 3,785
07-03-20 조회 3,677
07-03-20 조회 5,022
07-03-19 조회 3,656
07-03-19 조회 3,571
07-03-18 조회 2,899
07-03-18 조회 3,192
07-03-18 조회 4,023
07-03-18 조회 4,767
07-03-17 조회 4,274
07-03-16 조회 4,173
07-03-16 조회 3,202
07-03-15 조회 5,339
07-03-15 조회 3,420
07-03-13 조회 5,436
07-03-13 조회 3,734
07-03-13 조회 3,621
07-03-13 조회 4,730
07-03-13 조회 3,461
07-03-13 조회 3,349
07-03-12 조회 4,507
07-03-11 조회 5,194
07-03-11 조회 3,429
07-03-11 조회 3,605
07-03-10 조회 5,043