상단에서 내려오는 스크립트인데요
예를들어 2초있다가 이 슬라이딩이 나오게 하거나
지금 나오는 슬라이딩 속도를 좀 느리게 하려고 하는데 어떡해 해야하는지 고수님들의 조언바랍니다.
<!-----TOP---->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script src="http://www.hi-education.com/gnu4/img/jquery.cookie.js"></script>
<center>
<div id="top-banner-por" style="height:60px; display:none"><a href="#" id="setCookie"><div id="close-banner-por"></div></a>
<img src="http://www.hi-education.com/gnu4/img/easyjet_top_box_ad.gif" border="0">
</div>
</center>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script src="http://www.hi-education.com/gnu4/img/jquery.cookie.js"></script>
<center>
<div id="top-banner-por" style="height:60px; display:none"><a href="#" id="setCookie"><div id="close-banner-por"></div></a>
<img src="http://www.hi-education.com/gnu4/img/easyjet_top_box_ad.gif" border="0">
</div>
</center>
<script type="text/javascript">
$(function($) {
if( $.cookie('uthai')!=1){
$("#top-banner-por").animate({ opacity:3000},'slow').slideDown('slow').fadeIn('slow',function (){
$("#top-banner-por").css('display','');});
//$("#top-banner-por").css('display','');
}
$("#close-banner-por").click(function () {
$.cookie('uthai',1, { expires:1 });
$("#top-banner-por").animate({ opacity:0},'slow').slideUp('slow').fadeOut('slow',function (){
$("#top-banner-por").css('display','none');
});
});
$('#deleteCookie').click(function() {
$.cookie('uthai', null);alert("Cookie 'test' has been deleted.");
});
}
);
</script>
댓글 4개
게시글 목록
| 번호 | 제목 |
|---|---|
| 10700 | |
| 10693 | |
| 10691 | |
| 10690 | |
| 10689 | |
| 10688 | |
| 10687 | |
| 10684 | |
| 10683 | |
| 10678 | |
| 10674 | |
| 10670 |
JavaScript
자바스크립트에서 새창 띄우기입니다.
3
|
| 10666 |
PHP
문자열자르기소스입니다.
3
|
| 10662 | |
| 17659 | |
| 20092 |
웹접근성
자바스크립트를 끈 로그인 폼
15
|
| 10658 |
JavaScript
에디터 글양식 변경 기능 문의
3
|
| 10657 | |
| 20088 | |
| 10653 |
Mobile
유투브 api 실행 결과를 담는 방법요?
3
|
| 10648 | |
| 20087 |
CSS
IE6/7 img px 버그
|
| 10641 |
jQuery
JQUERY로 제작된 슬라이드 메뉴입니다.
6
|
| 10639 |
JavaScript
ajax 그리드 문의
1
|
| 10625 |
jQuery
jquery 속도 높이는 팁
13
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기