도와주세요 스크립트소스 좀 봐주세요 정보
도와주세요 스크립트소스 좀 봐주세요본문
이건 인덱스파일이고요
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- 메인화면 최신글 시작 -->
<table width="1004" cellpadding=0 cellspacing=0><tr><td valign=top align="center" width="831" height="400">
<embed src="http://pecomkorea.com/gnuboard/uikwang.swf" width="831" height="400" quality="high" wmode="transparent" allowScriptAccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
<tr><td height="10"></td></tr>
<tr><td>
<?
include_once("$g4[path]/slide.php");
?>
</td></tr>
</table>
<!-- 메인화면 최신글 끝 -->
<?
include_once("./_tail.php");
?>
이건 스크립트입니다.
<html>
<head>
<title>Untitled-2</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<style type="text/css">
body{
scrollbar-3dlight-color:#FFFFFF;
scrollbar-arrow-color:#FF5D5D;
scrollbar-track-color:#FFFFFF;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-face-color:#F2F2F2;
scrollbar-highlight-color:#FFFFFF;
scrollbar-shadow-color:#FFFFFF}
</style>
</head>
<script language="Javascript">
function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;
</script>
<script language="javascript">
ary=new Array()
<html>
<head>
<title>Untitled-2</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<style type="text/css">
body{
scrollbar-3dlight-color:#FFFFFF;
scrollbar-arrow-color:#FF5D5D;
scrollbar-track-color:#FFFFFF;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-face-color:#F2F2F2;
scrollbar-highlight-color:#FFFFFF;
scrollbar-shadow-color:#FFFFFF}
</style>
</head>
<script language="Javascript">
function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;
</script>
<script language="javascript">
ary=new Array()
ary[0]="<img src=http://pecomkorea.com/gnuboard/images/1.jpg border=0 width=205>"
ary[1]="<img src=http://pecomkorea.com/gnuboard/images/2.jpg border=0 width=205>"
ary[2]="<img src=http://pecomkorea.com/gnuboard/images/3.jpg border=0 width=205>"
ary[3]="<img src=http://pecomkorea.com/gnuboard/images/4.jpg border=0 width=205>"
ary[4]="<img src=http://pecomkorea.com/gnuboard/images/5.jpg border=0 width=205>"
ary[5]="<img src=http://pecomkorea.com/gnuboard/images/6.jpg border=0 width=205>"
ary[6]="<img src=http://pecomkorea.com/gnuboard/images/7.jpg border=0 width=205>"
ary[7]="<img src=http://pecomkorea.com/gnuboard/images/8.jpg border=0 width=205>"
ary[8]="<img src=http://pecomkorea.com/gnuboard/images/9.jpg border=0 width=205>"
ary[9]="<img src=http://pecomkorea.com/gnuboard/images/10.jpg border=0 width=205>"
ary[10]="<img src=http://pecomkorea.com/gnuboard/images/1.jpg border=0 width=205>"
ary[11]="<img src=http://pecomkorea.com/gnuboard/images/2.jpg border=0 width=205>"
ary[12]="<img src=http://pecomkorea.com/gnuboard/images/3.jpg border=0 width=205>"
ary[13]="<img src=http://pecomkorea.com/gnuboard/images/4.jpg border=0 width=205>"
ary[14]="<img src=http://pecomkorea.com/gnuboard/images/5.jpg border=0 width=205>"
ary[15]="<img src=http://pecomkorea.com/gnuboard/images/6.jpg border=0 width=205>"
ary[16]="<img src=http://pecomkorea.com/gnuboard/images/7.jpg border=0 width=205>"
ary[17]="<img src=http://pecomkorea.com/gnuboard/images/8.jpg border=0 width=205>"
ary[18]="<img src=http://pecomkorea.com/gnuboard/images/9.jpg border=0 width=205>"
ary[19]="<img src=http://pecomkorea.com/gnuboard/images/10.jpg border=0 width=205>"
img=""
for (k=0 ; k<ary.length ; k++)
{
img=img+ary[k]
}
str="<marquee id='mq' width=831 height=234 scrollAmount=16>"+ img + "</marquee>"
document.write(str)
function stopmq() {
if (mq.scrollAmount==0)
{mq.scrollAmount=4}
else
{mq.scrollAmount=0 }
}
</script>
<!-- End ImageReady Slices -->
</body>
</html>
오른쪽에서 왼쪽으로 흐르는 슬라이드인데 독립적으로 실행하면 좌측에서 끝나지 않고 쭉 흐르는데 이상하게도 인덱시 안으로 넣으면 왼쪽에서 끊어집니다. 이미지도 다 보여주지도 못하고요, 몇 시간째 헤매고있습니다.
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- 메인화면 최신글 시작 -->
<table width="1004" cellpadding=0 cellspacing=0><tr><td valign=top align="center" width="831" height="400">
<embed src="http://pecomkorea.com/gnuboard/uikwang.swf" width="831" height="400" quality="high" wmode="transparent" allowScriptAccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
<tr><td height="10"></td></tr>
<tr><td>
<?
include_once("$g4[path]/slide.php");
?>
</td></tr>
</table>
<!-- 메인화면 최신글 끝 -->
<?
include_once("./_tail.php");
?>
이건 스크립트입니다.
<html>
<head>
<title>Untitled-2</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<style type="text/css">
body{
scrollbar-3dlight-color:#FFFFFF;
scrollbar-arrow-color:#FF5D5D;
scrollbar-track-color:#FFFFFF;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-face-color:#F2F2F2;
scrollbar-highlight-color:#FFFFFF;
scrollbar-shadow-color:#FFFFFF}
</style>
</head>
<script language="Javascript">
function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;
</script>
<script language="javascript">
ary=new Array()
<html>
<head>
<title>Untitled-2</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<style type="text/css">
body{
scrollbar-3dlight-color:#FFFFFF;
scrollbar-arrow-color:#FF5D5D;
scrollbar-track-color:#FFFFFF;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-face-color:#F2F2F2;
scrollbar-highlight-color:#FFFFFF;
scrollbar-shadow-color:#FFFFFF}
</style>
</head>
<script language="Javascript">
function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;
</script>
<script language="javascript">
ary=new Array()
ary[0]="<img src=http://pecomkorea.com/gnuboard/images/1.jpg border=0 width=205>"
ary[1]="<img src=http://pecomkorea.com/gnuboard/images/2.jpg border=0 width=205>"
ary[2]="<img src=http://pecomkorea.com/gnuboard/images/3.jpg border=0 width=205>"
ary[3]="<img src=http://pecomkorea.com/gnuboard/images/4.jpg border=0 width=205>"
ary[4]="<img src=http://pecomkorea.com/gnuboard/images/5.jpg border=0 width=205>"
ary[5]="<img src=http://pecomkorea.com/gnuboard/images/6.jpg border=0 width=205>"
ary[6]="<img src=http://pecomkorea.com/gnuboard/images/7.jpg border=0 width=205>"
ary[7]="<img src=http://pecomkorea.com/gnuboard/images/8.jpg border=0 width=205>"
ary[8]="<img src=http://pecomkorea.com/gnuboard/images/9.jpg border=0 width=205>"
ary[9]="<img src=http://pecomkorea.com/gnuboard/images/10.jpg border=0 width=205>"
ary[10]="<img src=http://pecomkorea.com/gnuboard/images/1.jpg border=0 width=205>"
ary[11]="<img src=http://pecomkorea.com/gnuboard/images/2.jpg border=0 width=205>"
ary[12]="<img src=http://pecomkorea.com/gnuboard/images/3.jpg border=0 width=205>"
ary[13]="<img src=http://pecomkorea.com/gnuboard/images/4.jpg border=0 width=205>"
ary[14]="<img src=http://pecomkorea.com/gnuboard/images/5.jpg border=0 width=205>"
ary[15]="<img src=http://pecomkorea.com/gnuboard/images/6.jpg border=0 width=205>"
ary[16]="<img src=http://pecomkorea.com/gnuboard/images/7.jpg border=0 width=205>"
ary[17]="<img src=http://pecomkorea.com/gnuboard/images/8.jpg border=0 width=205>"
ary[18]="<img src=http://pecomkorea.com/gnuboard/images/9.jpg border=0 width=205>"
ary[19]="<img src=http://pecomkorea.com/gnuboard/images/10.jpg border=0 width=205>"
img=""
for (k=0 ; k<ary.length ; k++)
{
img=img+ary[k]
}
str="<marquee id='mq' width=831 height=234 scrollAmount=16>"+ img + "</marquee>"
document.write(str)
function stopmq() {
if (mq.scrollAmount==0)
{mq.scrollAmount=4}
else
{mq.scrollAmount=0 }
}
</script>
<!-- End ImageReady Slices -->
</body>
</html>
오른쪽에서 왼쪽으로 흐르는 슬라이드인데 독립적으로 실행하면 좌측에서 끝나지 않고 쭉 흐르는데 이상하게도 인덱시 안으로 넣으면 왼쪽에서 끊어집니다. 이미지도 다 보여주지도 못하고요, 몇 시간째 헤매고있습니다.
댓글 전체
테이블 속에 끼워넣으니 그렇죠 게다가 width="831" 이니 끝에서 끝까지 안됩니다
<table width='100%'......이렇게 만드세요
이건 스크립트입니다<--이부분 htm 태그 살펴보세요
중복에다가 자바스트립트를 이상하게 끼워놓았고
<script language="javascript">
ary=new Array()
<html>
//////////////////////
_head.sub.php 속에 html body 등등 다 들어있는데 include 되는 화일에도 또 들어있고..
slide.php는 html, head , body 이런건 싹 지우고 몸통만으로 만드세요
<table width='100%'......이렇게 만드세요
이건 스크립트입니다<--이부분 htm 태그 살펴보세요
중복에다가 자바스트립트를 이상하게 끼워놓았고
<script language="javascript">
ary=new Array()
<html>
//////////////////////
_head.sub.php 속에 html body 등등 다 들어있는데 include 되는 화일에도 또 들어있고..
slide.php는 html, head , body 이런건 싹 지우고 몸통만으로 만드세요
답변 감사합니다. 하나만 더 물어볼께요? 다른건 말씀하신대로 수정했고요 831을 준거는 위에 플래쉬에 맞출려고 한겁니다, 이부분을 어떻게 처리하면 될까요?
<table width="100%" cellpadding=0 cellspacing=0><tr><td valign=top align="center" width="831" height="400">
<embed src="http://pecomkorea.com/gnuboard/uikwang.swf" width="831" height="400" quality="high" wmode="transparent" allowScriptAccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
<tr><td height="10"></td></tr>
<tr><td>
<?
include_once("$g4[path]/slide.php");
?>
</td></tr>
</table>
<table width="100%" cellpadding=0 cellspacing=0><tr><td valign=top align="center" width="831" height="400">
<embed src="http://pecomkorea.com/gnuboard/uikwang.swf" width="831" height="400" quality="high" wmode="transparent" allowScriptAccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
<tr><td height="10"></td></tr>
<tr><td>
<?
include_once("$g4[path]/slide.php");
?>
</td></tr>
</table>
<td align='center'><embed..> 만으로 안되면
<td><div style='text-align'><embed....></div></td> 이렇게 해도 되겠으며
include 위쪽에서 /table로 테이블 닫아버리고
div로 위치를 잡아주어도 되겠으나 head에 들어가는 페이지 전체를 감싸는 table 폭 때문에
안 될 수도 있습니다.
아래쪽 html body 태그 싹 지웠나요?
</embed> 뒷부분 보세요 td tr 태그가 열고 닫기 짝이 맞지도 않습니다
<td><div style='text-align'><embed....></div></td> 이렇게 해도 되겠으며
include 위쪽에서 /table로 테이블 닫아버리고
div로 위치를 잡아주어도 되겠으나 head에 들어가는 페이지 전체를 감싸는 table 폭 때문에
안 될 수도 있습니다.
아래쪽 html body 태그 싹 지웠나요?
</embed> 뒷부분 보세요 td tr 태그가 열고 닫기 짝이 맞지도 않습니다