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-10-30 조회 2,677
08-10-30 조회 2,777
08-10-20 조회 2,505
08-10-11 조회 2,415
08-09-20 조회 4,156
08-09-20 조회 2,821
08-09-18 조회 2,686
08-09-18 조회 3,399
08-09-17 조회 3,274
08-09-05 조회 4,610
08-09-03 조회 2,730
08-08-18 조회 2,875
08-08-17 조회 2,622
08-08-13 조회 3,394
08-07-30 조회 3,461
08-07-28 조회 4,337
08-07-22 조회 5,566
08-07-22 조회 4,050
08-07-10 조회 3,017
08-07-08 조회 3,082
08-06-30 조회 3,843
08-06-30 조회 3,324
08-06-30 조회 3,639
08-06-14 조회 2,699
08-06-11 조회 7,076
08-06-05 조회 3,292
08-05-20 조회 4,803
08-05-13 조회 4,132
08-05-08 조회 3,094
08-05-08 조회 5,248
08-04-25 조회 4,045
08-04-22 조회 4,507
08-04-21 조회 3,151
08-04-17 조회 2,532
08-04-17 조회 2,929
08-04-17 조회 2,227
08-04-17 조회 5,198
08-04-17 조회 4,518
08-04-17 조회 4,510
08-04-17 조회 3,289
08-04-17 조회 3,118
08-04-17 조회 3,614
08-04-17 조회 4,978
08-04-17 조회 5,129
08-04-17 조회 3,339
08-04-04 조회 4,576
08-04-04 조회 2,810
08-04-04 조회 2,554
08-04-04 조회 2,786
08-04-04 조회 2,523
08-04-04 조회 2,755
08-04-03 조회 2,645
08-04-03 조회 2,717
08-04-02 조회 3,028
08-04-02 조회 3,180
08-03-31 조회 3,078
08-03-26 조회 4,247
08-03-11 조회 2,935
08-03-11 조회 2,346
08-03-11 조회 2,353
08-03-07 조회 4,185
08-03-07 조회 3,285
08-03-06 조회 4,726
08-03-04 조회 3,368
08-02-19 조회 3,763
08-02-03 조회 3,389
08-01-18 조회 3,967
08-01-15 조회 3,423
08-01-12 조회 4,270
08-01-12 조회 3,837
08-01-12 조회 3,785
07-12-24 조회 3,071
07-11-30 조회 3,917
07-11-08 조회 4,979
07-11-06 조회 3,825
07-10-26 조회 4,977
07-10-24 조회 4,160
07-10-22 조회 3,555
07-10-19 조회 4,734
07-10-09 조회 4,861
07-10-09 조회 6,738
07-10-05 조회 3,071
07-10-05 조회 4,007
07-10-03 조회 7,511
07-10-03 조회 3,562
07-10-03 조회 2,897
07-10-03 조회 2,833
07-09-28 조회 4,663
07-09-27 조회 3,737
07-09-27 조회 3,194
07-09-13 조회 3,332
07-08-28 조회 3,429
07-08-04 조회 4,811
07-08-01 조회 5,515
07-08-01 조회 4,921
07-07-30 조회 5,421
07-07-29 조회 3,565
07-07-21 조회 3,403
07-07-18 조회 5,352
07-07-16 조회 3,166