COMING SOON 🚀

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,673
17년 전 조회 2,642
17년 전 조회 2,294
17년 전 조회 1,290
17년 전 조회 1,310
17년 전 조회 1,362
17년 전 조회 6,325
17년 전 조회 6,132
17년 전 조회 2,307
17년 전 조회 1,305
17년 전 조회 1,419
17년 전 조회 2,375
17년 전 조회 1,772
17년 전 조회 1,435
17년 전 조회 1,452
17년 전 조회 1,378
17년 전 조회 1,337
17년 전 조회 4,241
17년 전 조회 2,461
17년 전 조회 1,903
17년 전 조회 3,045
17년 전 조회 1,731
17년 전 조회 1,410
17년 전 조회 1,454
17년 전 조회 1,506
17년 전 조회 1,399
17년 전 조회 1,502
17년 전 조회 2,685
17년 전 조회 4,487
17년 전 조회 1,445
17년 전 조회 4,208
17년 전 조회 4,363
17년 전 조회 1,489
17년 전 조회 2,451
17년 전 조회 1,902
17년 전 조회 3,496
17년 전 조회 1,640
17년 전 조회 3,879
17년 전 조회 3,689
17년 전 조회 2,853
17년 전 조회 3,207
17년 전 조회 2,918
17년 전 조회 2,228
17년 전 조회 3,586
17년 전 조회 2,916
17년 전 조회 3,807
17년 전 조회 1,424
17년 전 조회 2,529
17년 전 조회 1,597
17년 전 조회 1,459
17년 전 조회 1,332
17년 전 조회 1,325
17년 전 조회 1,694
17년 전 조회 3,129
17년 전 조회 3,525
17년 전 조회 3,276
17년 전 조회 2,166
17년 전 조회 4,286
17년 전 조회 1,665
17년 전 조회 1,406
17년 전 조회 1,510
17년 전 조회 1,377
17년 전 조회 1,627
17년 전 조회 2,002
17년 전 조회 2,608
17년 전 조회 2,679
17년 전 조회 1,698
17년 전 조회 1,452
17년 전 조회 2,709
17년 전 조회 3,140
17년 전 조회 3,503
17년 전 조회 3,452
17년 전 조회 2,603
17년 전 조회 4,032
17년 전 조회 3,468
17년 전 조회 5,771
17년 전 조회 2,937
17년 전 조회 2,146
17년 전 조회 2,224
17년 전 조회 2,048
17년 전 조회 1,991
17년 전 조회 3,054
17년 전 조회 2,169
17년 전 조회 1,828
17년 전 조회 2,351
17년 전 조회 1,390
17년 전 조회 1,947
17년 전 조회 3,150
17년 전 조회 2,399
17년 전 조회 2,067
17년 전 조회 2,298
17년 전 조회 1,596
17년 전 조회 1,996
17년 전 조회 1,505
17년 전 조회 2,044
17년 전 조회 2,064
17년 전 조회 1,309
17년 전 조회 3,410
17년 전 조회 4,585
17년 전 조회 2,741