안녕하세요~
플래시버튼에 관련하여서 질문합니다.
일단아래의 소스는 레이어가 열리고 닫히는 소스입니다.
<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에 무엇을써야하죠??
추가로 닫기버튼도 만들고 싶은데.. 잘몰라서요..
아시는분 계시면 알려주세요./ㅠㅠ
플래시버튼에 관련하여서 질문합니다.
일단아래의 소스는 레이어가 열리고 닫히는 소스입니다.
<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개
17년 전
아마 getURL(자스());
이렇게 하면 HTML 의 자스를 부를꺼에요
이렇게 하면 HTML 의 자스를 부를꺼에요
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7230 | 11년 전 | 3634 | ||
| 7229 | 11년 전 | 3758 | ||
| 7228 | 11년 전 | 3795 | ||
| 7227 | 11년 전 | 3919 | ||
| 7226 | 11년 전 | 2371 | ||
| 7225 | 11년 전 | 17460 | ||
| 7224 |
AngryDev
|
11년 전 | 1366 | |
| 7223 |
돌아온깡통
|
11년 전 | 1112 | |
| 7222 |
돌아온깡통
|
11년 전 | 1057 | |
| 7221 |
돌아온깡통
|
11년 전 | 888 | |
| 7220 |
돌아온깡통
|
11년 전 | 1009 | |
| 7219 |
돌아온깡통
|
11년 전 | 843 | |
| 7218 |
돌아온깡통
|
11년 전 | 670 | |
| 7217 |
돌아온깡통
|
11년 전 | 1059 | |
| 7216 |
돌아온깡통
|
11년 전 | 797 | |
| 7215 |
돌아온깡통
|
11년 전 | 717 | |
| 7214 |
돌아온깡통
|
11년 전 | 1065 | |
| 7213 |
돌아온깡통
|
11년 전 | 936 | |
| 7212 |
돌아온깡통
|
11년 전 | 722 | |
| 7211 |
돌아온깡통
|
11년 전 | 879 | |
| 7210 |
돌아온깡통
|
11년 전 | 904 | |
| 7209 |
돌아온깡통
|
11년 전 | 895 | |
| 7208 |
돌아온깡통
|
11년 전 | 1012 | |
| 7207 |
돌아온깡통
|
11년 전 | 627 | |
| 7206 |
돌아온깡통
|
11년 전 | 687 | |
| 7205 |
돌아온깡통
|
11년 전 | 874 | |
| 7204 |
돌아온깡통
|
11년 전 | 737 | |
| 7203 |
돌아온깡통
|
11년 전 | 749 | |
| 7202 |
돌아온깡통
|
11년 전 | 725 | |
| 7201 |
돌아온깡통
|
11년 전 | 680 | |
| 7200 |
돌아온깡통
|
11년 전 | 710 | |
| 7199 |
돌아온깡통
|
11년 전 | 1332 | |
| 7198 |
돌아온깡통
|
11년 전 | 660 | |
| 7197 |
돌아온깡통
|
11년 전 | 977 | |
| 7196 |
돌아온깡통
|
11년 전 | 887 | |
| 7195 |
돌아온깡통
|
11년 전 | 622 | |
| 7194 |
돌아온깡통
|
11년 전 | 652 | |
| 7193 |
돌아온깡통
|
11년 전 | 716 | |
| 7192 |
돌아온깡통
|
11년 전 | 748 | |
| 7191 |
joe031
|
11년 전 | 1276 | |
| 7190 | 11년 전 | 4162 | ||
| 7189 | 11년 전 | 1255 | ||
| 7188 |
잘살아보자
|
11년 전 | 969 | |
| 7187 | 11년 전 | 1450 | ||
| 7186 |
kiplayer
|
11년 전 | 7557 | |
| 7185 | 11년 전 | 1145 | ||
| 7184 |
잘살아보자
|
11년 전 | 2344 | |
| 7183 |
잘살아보자
|
11년 전 | 1157 | |
| 7182 |
잘살아보자
|
11년 전 | 1227 | |
| 7181 | 11년 전 | 1495 | ||
| 7180 |
하얀비요일
|
11년 전 | 991 | |
| 7179 |
잘살아보자
|
11년 전 | 997 | |
| 7178 | 11년 전 | 988 | ||
| 7177 | 11년 전 | 1011 | ||
| 7176 | 11년 전 | 1667 | ||
| 7175 |
|
11년 전 | 1050 | |
| 7174 |
kiplayer
|
11년 전 | 1181 | |
| 7173 | 11년 전 | 962 | ||
| 7172 |
잘살아보자
|
11년 전 | 4648 | |
| 7171 |
잘살아보자
|
11년 전 | 714 | |
| 7170 | 11년 전 | 1080 | ||
| 7169 |
초심의설렘
|
11년 전 | 1477 | |
| 7168 | 11년 전 | 1011 | ||
| 7167 |
잘살아보자
|
11년 전 | 5291 | |
| 7166 |
잘살아보자
|
11년 전 | 3445 | |
| 7165 | 11년 전 | 4962 | ||
| 7164 | 11년 전 | 839 | ||
| 7163 | 11년 전 | 1214 | ||
| 7162 |
울라라라우
|
11년 전 | 1398 | |
| 7161 | 11년 전 | 1271 | ||
| 7160 |
skyler
|
11년 전 | 1194 | |
| 7159 |
|
11년 전 | 714 | |
| 7158 |
|
11년 전 | 3360 | |
| 7157 |
잘살아보자
|
11년 전 | 2898 | |
| 7156 |
잘살아보자
|
11년 전 | 2232 | |
| 7155 |
잘살아보자
|
11년 전 | 1461 | |
| 7154 |
잘살아보자
|
11년 전 | 1451 | |
| 7153 | 11년 전 | 2903 | ||
| 7152 |
울라라라우
|
11년 전 | 834 | |
| 7151 | 11년 전 | 1069 | ||
| 7150 |
잘살아보자
|
11년 전 | 2389 | |
| 7149 |
잘살아보자
|
11년 전 | 3301 | |
| 7148 |
잘살아보자
|
11년 전 | 1198 | |
| 7147 |
잘살아보자
|
11년 전 | 770 | |
| 7146 |
잘살아보자
|
11년 전 | 1411 | |
| 7145 |
잘살아보자
|
11년 전 | 725 | |
| 7144 |
잘살아보자
|
11년 전 | 1320 | |
| 7143 |
잘살아보자
|
11년 전 | 766 | |
| 7142 |
잘살아보자
|
11년 전 | 1460 | |
| 7141 |
잘살아보자
|
11년 전 | 1202 | |
| 7140 |
잘살아보자
|
11년 전 | 2021 | |
| 7139 |
잘살아보자
|
11년 전 | 3686 | |
| 7138 |
잘살아보자
|
11년 전 | 3181 | |
| 7137 |
잘살아보자
|
11년 전 | 3637 | |
| 7136 |
잘살아보자
|
11년 전 | 1391 | |
| 7135 |
gooroo
|
11년 전 | 1618 | |
| 7134 |
열라뽕똬이
|
11년 전 | 2324 | |
| 7133 |
|
11년 전 | 1025 | |
| 7132 | 11년 전 | 1436 | ||
| 7131 | 11년 전 | 3580 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기