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건
+
제목 글쓴이 날짜 조회
10-05-31 조회 2,975
10-04-17 조회 4,751
10-03-23 조회 5,909
10-02-26 조회 3,436
10-02-23 조회 3,387
10-02-11 조회 4,012
10-02-09 조회 3,059
10-01-26 조회 3,516
10-01-23 조회 6,865
10-01-19 조회 3,563
10-01-13 조회 3,763
09-12-06 조회 4,797
09-11-24 조회 4,263
09-11-19 조회 3,124
09-11-11 조회 3,729
09-08-30 조회 3,214
09-08-12 조회 3,219
09-07-21 조회 3,379
09-07-19 조회 3,261
09-07-11 조회 3,184
09-06-15 조회 2,962
09-05-29 조회 3,126
09-05-28 조회 3,570
09-05-05 조회 3,439
09-04-07 조회 3,646
09-02-23 조회 4,438
09-02-17 조회 3,179
09-02-17 조회 2,556
09-02-09 조회 2,664
09-01-23 조회 3,472
09-01-17 조회 4,296
09-01-08 조회 3,243
08-11-07 조회 4,509
08-11-01 조회 4,988
08-10-30 조회 3,580
08-10-16 조회 3,510
08-10-02 조회 2,648
08-09-22 조회 3,981
08-09-22 조회 2,945
08-09-20 조회 5,437
08-09-20 조회 4,511
08-09-20 조회 3,597
08-09-20 조회 2,973
08-09-20 조회 3,167
08-09-20 조회 4,149
08-09-20 조회 3,648
08-09-20 조회 3,236
08-09-18 조회 3,494
08-09-06 조회 3,077
08-09-06 조회 2,822
08-09-05 조회 3,482
08-09-05 조회 5,694
08-09-03 조회 4,493
08-09-03 조회 2,753
08-07-31 조회 3,213
08-07-18 조회 3,811
08-06-19 조회 3,156
08-06-15 조회 3,148
08-06-14 조회 3,607
08-05-23 조회 2,847
08-05-13 조회 2,744
08-04-22 조회 4,425
08-04-22 조회 5,140
08-04-22 조회 6,898
08-04-17 조회 3,041
08-04-17 조회 3,648
08-04-17 조회 3,728
08-04-17 조회 5,985
08-04-17 조회 3,183
08-04-17 조회 3,508
08-04-06 조회 3,569
08-04-05 조회 3,154
08-04-04 조회 7,209
08-04-04 조회 4,499
08-04-04 조회 3,851
08-04-04 조회 4,040
08-04-04 조회 2,917
08-04-04 조회 2,704
08-04-04 조회 2,739
08-04-04 조회 2,948
08-04-04 조회 2,691
08-04-04 조회 2,676
08-04-04 조회 4,182
08-04-03 조회 2,718
08-04-03 조회 3,929
08-04-02 조회 3,136
08-04-02 조회 2,870
08-03-25 조회 3,731
08-03-11 조회 3,491
08-03-11 조회 2,990
08-03-11 조회 2,951
08-03-11 조회 2,752
08-03-11 조회 2,526
08-03-11 조회 2,328
08-03-11 조회 2,399
08-03-07 조회 2,961
08-03-05 조회 2,678
08-02-27 조회 2,930
08-02-21 조회 2,799
08-02-21 조회 3,357