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건
+
제목 글쓴이 날짜 조회
08-04-03 조회 2,788
08-04-02 조회 2,989
08-04-02 조회 2,860
08-04-02 조회 3,175
08-04-02 조회 3,135
08-04-02 조회 3,165
08-04-02 조회 3,109
08-04-02 조회 2,809
08-04-02 조회 2,807
08-04-02 조회 2,914
08-04-02 조회 3,213
08-04-02 조회 3,100
08-04-02 조회 2,882
08-04-02 조회 3,028
08-04-02 조회 2,695
08-04-02 조회 2,953
08-04-02 조회 3,274
08-04-02 조회 4,070
08-04-02 조회 3,267
08-03-31 조회 2,567
08-03-31 조회 3,133
08-03-31 조회 3,630
08-03-29 조회 2,761
08-03-28 조회 3,465
08-03-28 조회 2,966
08-03-28 조회 2,635
08-03-27 조회 2,465
08-03-26 조회 3,367
08-03-26 조회 4,326
08-03-25 조회 3,798
08-03-25 조회 2,807
08-03-25 조회 4,127
08-03-25 조회 3,634
08-03-25 조회 4,057
08-03-25 조회 4,080
08-03-25 조회 3,743
08-03-25 조회 3,641
08-03-25 조회 2,898
08-03-25 조회 3,647
08-03-25 조회 5,347
08-03-21 조회 3,013
08-03-19 조회 5,179
08-03-18 조회 3,032
08-03-16 조회 2,992
08-03-14 조회 3,315
08-03-13 조회 3,705
08-03-13 조회 2,686
08-03-11 조회 3,012
08-03-11 조회 3,563
08-03-11 조회 3,050
08-03-11 조회 3,013
08-03-11 조회 2,807
08-03-11 조회 2,649
08-03-11 조회 2,592
08-03-11 조회 2,404
08-03-11 조회 2,413
08-03-11 조회 2,468
08-03-11 조회 2,445
08-03-11 조회 2,848
08-03-11 조회 2,923
08-03-08 조회 3,147
08-03-07 조회 4,262
08-03-07 조회 3,369
08-03-07 조회 3,028
08-03-06 조회 3,367
08-03-06 조회 3,121
08-03-06 조회 4,804
08-03-05 조회 2,743
08-03-04 조회 2,884
08-03-04 조회 2,588
08-03-04 조회 3,447
08-03-03 조회 4,422
08-02-28 조회 3,509
08-02-27 조회 3,002
08-02-22 조회 4,323
08-02-22 조회 5,701
08-02-22 조회 2,967
08-02-21 조회 4,644
08-02-21 조회 2,867
08-02-21 조회 4,866
08-02-21 조회 7,146
08-02-21 조회 2,656
08-02-21 조회 3,421
08-02-20 조회 3,091
08-02-19 조회 2,761
08-02-19 조회 3,616
08-02-19 조회 3,829
08-02-15 조회 2,789
08-02-15 조회 3,982
08-02-14 조회 4,485
08-02-14 조회 2,683
08-02-12 조회 3,138
08-02-11 조회 5,138
08-02-09 조회 5,877
08-02-09 조회 3,067
08-02-08 조회 2,924
08-02-05 조회 3,939
08-02-04 조회 3,139
08-02-03 조회 5,426
08-02-03 조회 2,836