도와주세요..제발요!!!
관련링크
http://슬라이드 태그
144회 연결
본문
<?
<div id="content">
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<!doctype html>
<html>
<head>
<meta charset="euc-kr">
<meta http-equiv=”X-UA-Compatible” content=”IE=edge,chrome=1″>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>기치유센터 - 전인적인 기치유</title>
<link rel="stylesheet" href="http://energyhealingcenter.co.kr/g4/pcstyle.css" />
<script src="http://energyhealingcenter.co.kr/g4/JQM/jquery-1.11.0.min.js" type="text/javascript"></script>
<script src="./js/slides.min.jquery.js" type="text/javascript"></script>
</head>
<body>
<div id="wrap">
<header>
<div id="top">
<div class="t_etc">
<ul>
<li><a href="Homehttp://energyhealingcenter.co.kr/g4/main.php">Home</a></li>
<li><a href="Sitemaphttp://energyhealingcenter.co.kr/g4/sitemap.php">Sitemap</a></li>
<li><a href="E-mailhttp://energyhealingcenter.co.kr/g4/contact.php">E-mail</a></li>
<li><a href="Adminhttp://energyhealingcenter.co.kr/g4/adm">Admin</a></li>
</ul>
</div>
<div class="logo" onClick="location.href='http://energyhealingcenter.co.kr/g4/main.php'"></div>
<div class="t_menu">
<ul>
<li><a href="#">기치유센터</a>
<ul>
<li><a href="센터소개http://energyhealingcenter.co.kr/g4/about.php?num=1">센터소개</a></li>
<li><a href="인사말http://energyhealingcenter.co.kr/g4/about.php?num=2">인사말</a></li>
</ul>
</li>
<li><a href="#">기치유</a>
<ul>
<li><a href="기치유란?http://energyhealingcenter.co.kr/g4/energy.php?num=1">기치유란?</a></li>
<li><a href="http://energyhealingcenter.co.kr/g4/energy.php?num=2">기치유의 효과</a></li>
<li><a href="http://energyhealingcenter.co.kr/g4/energy.php?num=3">기치유의 원리</a></li>
<li><a href="기본3'>http://energyhealingcenter.co.kr/g4/energy.php?num=4">기본3대 치유법</a></li>
</ul>
</li>
<li><a href="척추교정http://energyhealingcenter.co.kr/g4/spine.php?num=1">척추교정</a></li>
<li><a href="#">수맥</a>
<ul>
<li><a href="수맥과건강http://energyhealingcenter.co.kr/g4/water.php?num=1">수맥과건강</a></li>
<li><a href="수맥자가진단법http://energyhealingcenter.co.kr/g4/water.php?num=2">수맥자가진단법</a></li>
<li><a href="http://energyhealingcenter.co.kr/g4/water.php?num=3">수맥검사와 차단</a></li>
</ul></li>
<li><a href="12'>http://energyhealingcenter.co.kr/g4/dian.php?num=1">12경락 365혈</a></li>
<li><a href="오시는길http://energyhealingcenter.co.kr/g4/location.php">오시는길</a></li>
</ul>
</div>
<div class="clear"></div>
</div>
<div id="slides">
<div class="slides_container">
<div class="slide">
<img src="images/slide1.jpg" width="100%" style="height:auto !important"/>
<div class="caption" style="bottom:0">
<p>돈을 잃으면 조금 잃은 것이요, </p>
<p>명예를 잃으면 반을 잃은 것이요, </p>
<p>건강을 잃으면 전부를 잃은 것이다. </p>
</div>
<div class="slide">
<img src="images/slide2.jpg" width="100%" style="height:auto !important"/>
<div class="caption" style="bottom:0">
<p>6개월만 배우시면 누구나 기치유를 하실수가 있습니다.</p>
<p>숨어있는 잠재 능력을 키워 보십시오.</p>
<p>새로운 세상을 보게 됩니다.</p>
</div>
</div>
<div class="slide">
<img src="images/slide3.jpg" width="100%" style="height:auto !important"/>
<div class="caption" style="bottom:0">
<p>길 은 가까운 곳에 있다!!!</p>
<p>그런데 사람들은 항상 헛되이 </p>
<p>먼 곳을 헤메고 있다!!!</p>
</div>
</div>
<div class="slide">
<img src="images/slide4.jpg" width="100%" style="height:auto !important"/>
<div class="caption" style="bottom:0">
<p>기치유센터에 오시면 희망이 있습니다.</p>
<p>주저 하지 마시고 찾아 오십시오.</p>
<p>건강을 찾아 드립니다.</p>
</div>
</div>
</div>
</div>
<script>
$(function(){
$('#slides').slides({
play: 5000,
pause: 2500,
hoverPause: true,
pagination: false,
generatePagination:false,
animationStart: function(current){
$('.caption').animate({
right:-380
},100);
if (window.console && console.log) {
// example return of current slide number
console.log('animationStart on slide: ', current);
};
},
animationComplete: function(current){
$('.caption').animate({
right:0
},200);
if (window.console && console.log) {
// example return of current slide number
console.log('animationComplete on slide: ', current);
};
},
slidesLoaded: function() {
$('.caption').animate({
right:0
},200);
}
});
});
</script>
<div id="side_menu">
<ul>
<li><a href="공지사항http://energyhealingcenter.co.kr/g4/bbs/board.php?bo_table=board1">공지사항</a></li>
<li><a href="http://energyhealingcenter.co.kr/g4/bbs/board.php?bo_table=board2">질문과 답변</a></li>
<li><a href="http://energyhealingcenter.co.kr/g4/bbs/board.php?bo_table=board3">자유 게시판</a></li>
<li><a href="http://energyhealingcenter.co.kr/g4/bbs/board.php?bo_table=board4">대체의학 정보</a></li>
<li><a href="http://energyhealingcenter.co.kr/g4/bbs/board.php?bo_table=board5">운동 요법</a></li>
<li><a href="http://energyhealingcenter.co.kr/g4/bbs/board.php?bo_table=board6">건강 소식</a></li>
<li><a href="http://energyhealingcenter.co.kr/g4/bbs/board.php?bo_table=board7">인체의 신비</a></li>
<li><a href="http://energyhealingcenter.co.kr/g4/bbs/board.php?bo_table=board8">질병과 중상</a></li>
<li><a href="http://energyhealingcenter.co.kr/g4/bbs/board.php?bo_table=board9">생활의 지혜</a></li>
<li><a href="http://energyhealingcenter.co.kr/g4/bbs/board.php?bo_table=board10">천연 생활</a></li>
<li><a href="http://energyhealingcenter.co.kr/g4/bbs/board.php?bo_table=board11">사진 앨범</a></li>
</ul>
</div>
<div class="clear"></div>
</header>
<div id="content">
누구 잘아시는분 좀 도와주세요
홈페이지 제작 하시는분이 메인 이미지를 슬라이드로 하고 슬라이드 그림위에 글씨창 까지 같이 슬라이드 되도록 만들어둔것을
제가 내용 글씨를 바꾸느라 메모장으로 파일을 열어서 글 적힌 부분만 지우고 새로 쓰고 해서 다시 ftp로
올렸는데
http://energyhealingcenter.co.kr/g4/main.php
이렇게 되어버렸어요
제가 잘못 만진 부분이 있는지 고쳐 주시면 고맙겠습니다.
!-->
답변 1
$( function (){ |
100 | $( '#slides' ).slides({ |
밑에 alert('asdfasdf');
이런식으로 넣어서 javascript가 제대로 작동되는지 확인하세요. 안되면 jquery 가 제대로 include 안된거고 alert가 되면, 그 밑에
$(
'.caption'
).animate({
여기 밑에도 alert한번 해보시고요.. 이것도 되면 id="caption" 부분이 제대로 인식이 안되는걸겁니다. html 테그 삭제된것 없는지 보시고, dreamweaver에서 대충 찾으실수 있을꺼에요..
js오류는 거의 2가지중에 하납니다.
1. js.lib파일들이 include 안되거나 html dom중에 필요 object 가 엉켜있는겁니다. 그럴때는 저렇게 alert하셔서 어느부분에서 문제가 생기는지확인하셔야합니다.
답변을 작성하시기 전에 로그인 해주세요.