HTML 파일을 작동하지 : 이 작동하는 JQuery와 카운트 다운을 얻으려고 노력하지만은
// <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Coming Soon</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link href="tools/style.css" rel="stylesheet" type="text/css" />
<link href="tools/jquery.countdown.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="tools/jquery.min.js"></script>
<script type="text/javascript" src="tools/jquery.countdown.js"></script>
<!-- <script type="text/javascript" src="tools/bg.js"></script> -->
<script type="text/javascript">
$(function() {
var austDay = new Date();
austDay = new Date(2013, 10, 18, 12, 00);
$('#defaultCountdown').countdown({until: austDay});
$('#year').text(austDay.getFullYear());
});
$(function(){
$('.fadein img:gt(0)').hide();
setInterval(function(){
$('.fadein :first-child').fadeOut(3000)
.next('img').fadeIn(3000)
.end().appendTo('.fadein');},
3000); // change this to change the transition timing
});
</script>
</head>
<body>
<div id="shim"></div>
<div class="fadein">
<img src="images/photo1.jpg">
<img src="images/photo2.jpg">
<img src="images/photo3.jpg">
<img src="images/photo4.jpg">
<img src="images/photo5.jpg">
</div>
<div id="content">
<div class="logo"><h1>Sva Spa and Salon</span></h1></div>
<div class="right_side">
<div class="right_content">
<h2>Watch For Our Brand New Website</h2>
<div id="defaultCountdown"></div>
<form class="email" action="">
<input class="get_notified" type="text"
onfocus="if(this.value=='Provide EMAIL for Reminder') this.value='';"
onblur="if(this.value=='' || this.value==' ') this.value='Provide EMAIL for
Reminder';"
value="Provide EMAIL for Reminder"/>
<input type="button" class="go" />
</form>
</div>
</div>
</div>
</body>
</html>
내가 이미지를 회전뿐만 아니라 카운터의 텍스트가 올라오고 있지만이 페이지를 새로 고침 할 때 만 감소 얻을. 또한 제출 단추에 대한 PHP 코드를 추가하여 다른 전자 메일 주소로 전자 메일 주소를 보내려면 어떻게해야합니까? 메신저 붙어 도와주세요 ....
코드 포스트 당신의 iusse되지 관련 부분을 단순화 전체 페이지 (일부는 js 또는 css의 포함과 관련이 있습니다. 문제가있는 어떤 가치도 있지는 않습니다.) - 코드를 들여 쓰십시오. – Rafael
@ Rafael 안녕 라파엘, 이슈가 무엇인지 확실하지 않습니다. 타이머는 그것이 단지 d가되는 것을 보여주고있다. 내가 새로 고침 버튼을 눌렀을 때 자신의 나는 y 코드를 들여 썼다고 생각했다. 당신이 나에게 줄 수있는 도움은 매우 감사 할 것입니다. js 파일도 필요합니까? – user2895617