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건
+
제목 글쓴이 날짜 조회
08-06-19 조회 2,420
08-06-15 조회 3,170
08-06-15 조회 2,407
08-06-14 조회 2,745
08-06-14 조회 3,635
08-06-14 조회 3,334
08-06-12 조회 2,214
08-06-11 조회 2,241
08-06-11 조회 2,338
08-06-11 조회 7,372
08-06-11 조회 7,107
08-06-08 조회 3,289
08-06-07 조회 2,218
08-06-05 조회 2,342
08-06-05 조회 3,319
08-06-05 조회 2,682
08-06-05 조회 2,342
08-06-05 조회 2,365
08-06-04 조회 2,286
08-06-03 조회 2,281
08-06-03 조회 5,359
08-06-03 조회 3,591
08-06-02 조회 2,891
08-06-02 조회 4,028
08-06-01 조회 2,643
08-05-31 조회 2,344
08-05-31 조회 2,356
08-05-31 조회 2,436
08-05-30 조회 2,312
08-05-29 조회 2,457
08-05-29 조회 3,717
08-05-27 조회 5,561
08-05-26 조회 2,398
08-05-26 조회 5,309
08-05-25 조회 5,395
08-05-24 조회 2,458
08-05-23 조회 3,471
08-05-23 조회 2,871
08-05-23 조회 4,637
08-05-22 조회 2,633
08-05-21 조회 4,987
08-05-21 조회 4,761
08-05-21 조회 3,910
08-05-20 조회 4,509
08-05-20 조회 4,098
08-05-20 조회 3,324
08-05-20 조회 4,589
08-05-20 조회 3,940
08-05-20 조회 4,833
08-05-19 조회 2,367
08-05-16 조회 3,494
08-05-15 조회 2,554
08-05-15 조회 2,393
08-05-15 조회 2,384
08-05-14 조회 2,317
08-05-13 조회 2,771
08-05-13 조회 4,176
08-05-13 조회 4,603
08-05-09 조회 4,372
08-05-08 조회 3,127
08-05-08 조회 5,281
08-05-08 조회 2,634
08-05-07 조회 2,334
08-05-07 조회 2,482
08-05-07 조회 2,288
08-05-01 조회 2,610
08-05-01 조회 2,964
08-04-29 조회 3,806
08-04-28 조회 3,626
08-04-26 조회 2,638
08-04-26 조회 2,384
08-04-26 조회 3,650
08-04-25 조회 4,078
08-04-23 조회 4,517
08-04-22 조회 4,453
08-04-22 조회 3,614
08-04-22 조회 5,172
08-04-22 조회 4,552
08-04-22 조회 6,929
08-04-22 조회 4,000
08-04-21 조회 3,141
08-04-21 조회 3,191
08-04-21 조회 3,131
08-04-21 조회 2,963
08-04-21 조회 4,072
08-04-20 조회 3,236
08-04-20 조회 2,921
08-04-20 조회 3,453
08-04-19 조회 2,350
08-04-18 조회 3,056
08-04-18 조회 4,401
08-04-17 조회 3,620
08-04-17 조회 3,068
08-04-17 조회 3,285
08-04-17 조회 2,570
08-04-17 조회 2,971
08-04-17 조회 2,451
08-04-17 조회 3,007
08-04-17 조회 3,063
08-04-17 조회 2,269