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-05-09 조회 3,521
07-05-09 조회 5,467
07-05-09 조회 3,551
07-05-09 조회 4,607
07-05-09 조회 6,161
07-05-08 조회 3,208
07-05-08 조회 4,574
07-05-08 조회 2,900
07-05-08 조회 3,942
07-05-07 조회 2,958
07-05-05 조회 3,994
07-05-04 조회 3,816
07-05-04 조회 2,813
07-05-04 조회 2,753
07-05-04 조회 2,979
07-05-04 조회 3,555
07-05-04 조회 3,317
07-05-04 조회 3,650
07-05-04 조회 6,244
07-05-04 조회 3,010
07-05-04 조회 2,435
07-05-04 조회 2,540
07-05-04 조회 2,516
07-05-04 조회 2,258
07-05-04 조회 2,214
07-05-04 조회 2,569
07-05-04 조회 2,546
07-05-04 조회 3,500
07-05-04 조회 2,415
07-05-04 조회 2,805
07-05-04 조회 3,323
07-05-04 조회 2,455
07-05-04 조회 4,040
07-05-04 조회 2,506
07-05-04 조회 2,890
07-05-04 조회 2,706
07-05-04 조회 2,614
07-05-04 조회 2,444
07-05-04 조회 2,287
07-05-04 조회 2,909
07-05-04 조회 2,294
07-05-04 조회 4,885
07-05-04 조회 2,936
07-05-02 조회 3,027
07-05-02 조회 2,339
07-05-02 조회 3,060
07-05-02 조회 2,290
07-05-02 조회 2,351
07-05-02 조회 2,196
07-05-02 조회 2,160
07-05-02 조회 2,255
07-05-02 조회 3,781
07-05-01 조회 2,733
07-05-01 조회 2,836
07-05-01 조회 2,401
07-05-01 조회 3,084
07-05-01 조회 2,729
07-05-01 조회 2,702
07-05-01 조회 2,917
07-05-01 조회 2,188
07-05-01 조회 2,629
07-05-01 조회 3,500
07-05-01 조회 2,354
07-05-01 조회 2,532
07-05-01 조회 2,764
07-05-01 조회 2,371
07-05-01 조회 2,176
07-05-01 조회 2,382
07-05-01 조회 2,729
07-05-01 조회 2,851
07-05-01 조회 2,786
07-05-01 조회 2,405
07-04-30 조회 9,898
07-04-30 조회 3,214
07-04-30 조회 2,742
07-04-30 조회 2,706
07-04-30 조회 3,048
07-04-30 조회 3,137
07-04-30 조회 2,471
07-04-30 조회 2,212
07-04-30 조회 4,031
07-04-30 조회 4,418
07-04-30 조회 3,468
07-04-30 조회 2,871
07-04-30 조회 2,686
07-04-30 조회 2,121
07-04-28 조회 3,057
07-04-28 조회 6,594
07-04-27 조회 4,164
07-04-27 조회 3,504
07-04-27 조회 4,397
07-04-26 조회 3,804
07-04-26 조회 3,506
07-04-26 조회 5,814
07-04-26 조회 4,811
07-04-25 조회 4,818
07-04-25 조회 5,352
07-04-25 조회 3,234
07-04-22 조회 3,006
07-04-22 조회 3,007