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 의 자스를 부를꺼에요
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
17년 전 조회 1,393
17년 전 조회 2,368
17년 전 조회 2,023
17년 전 조회 1,046
17년 전 조회 1,047
17년 전 조회 1,097
17년 전 조회 6,050
17년 전 조회 5,858
17년 전 조회 2,037
17년 전 조회 1,029
17년 전 조회 1,128
17년 전 조회 2,090
17년 전 조회 1,521
17년 전 조회 1,166
17년 전 조회 1,194
17년 전 조회 1,134
17년 전 조회 1,052
17년 전 조회 3,968
17년 전 조회 2,176
17년 전 조회 1,624
17년 전 조회 2,771
17년 전 조회 1,480
17년 전 조회 1,162
17년 전 조회 1,181
17년 전 조회 1,253
17년 전 조회 1,141
17년 전 조회 1,253
17년 전 조회 2,405
17년 전 조회 4,198
17년 전 조회 1,196
17년 전 조회 3,956
17년 전 조회 4,108
17년 전 조회 1,218
17년 전 조회 2,188
17년 전 조회 1,628
17년 전 조회 3,223
17년 전 조회 1,362
17년 전 조회 3,607
17년 전 조회 3,399
17년 전 조회 2,572
17년 전 조회 2,941
17년 전 조회 2,636
17년 전 조회 1,951
17년 전 조회 3,322
17년 전 조회 2,629
17년 전 조회 3,530
17년 전 조회 1,159
17년 전 조회 2,260
17년 전 조회 1,331
17년 전 조회 1,200
17년 전 조회 1,073
17년 전 조회 1,057
17년 전 조회 1,431
17년 전 조회 2,867
17년 전 조회 3,264
17년 전 조회 3,008
17년 전 조회 1,886
17년 전 조회 4,004
17년 전 조회 1,416
17년 전 조회 1,132
17년 전 조회 1,244
17년 전 조회 1,125
17년 전 조회 1,375
17년 전 조회 1,747
17년 전 조회 2,340
17년 전 조회 2,423
17년 전 조회 1,426
17년 전 조회 1,171
17년 전 조회 2,443
17년 전 조회 2,868
17년 전 조회 3,236
17년 전 조회 3,174
17년 전 조회 2,334
17년 전 조회 3,757
17년 전 조회 3,178
17년 전 조회 5,506
17년 전 조회 2,661
17년 전 조회 1,864
17년 전 조회 1,937
17년 전 조회 1,777
17년 전 조회 1,716
17년 전 조회 2,772
17년 전 조회 1,895
17년 전 조회 1,573
17년 전 조회 2,067
17년 전 조회 1,135
17년 전 조회 1,667
17년 전 조회 2,881
17년 전 조회 2,125
17년 전 조회 1,814
17년 전 조회 2,034
17년 전 조회 1,327
17년 전 조회 1,714
17년 전 조회 1,223
17년 전 조회 1,777
17년 전 조회 1,794
17년 전 조회 1,048
17년 전 조회 3,149
17년 전 조회 4,319
17년 전 조회 2,468
🐛 버그신고