상단에서 내려오는 스크립트인데요
예를들어 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개
게시글 목록
| 번호 | 제목 |
|---|---|
| 10762 |
jQuery
회사에 히스토리에 써먹을 만한 자료
8
|
| 10754 | |
| 10752 |
MySQL
고수님들 도와주세요!
1
|
| 10749 |
Mobile
json 파싱방법
2
|
| 10746 | |
| 10740 | |
| 10738 | |
| 10736 | |
| 10733 |
JavaScript
주민번호, 외국인번호 검사 스크립트
2
|
| 10731 |
Mobile
Base64.java 파일입니다.
1
|
| 10730 | |
| 10727 | |
| 10725 |
MySQL
Mysql Text필드
1
|
| 10721 | |
| 10719 |
Mobile
[안드로이드] 프리퍼런스 사용 방법
1
|
| 10718 | |
| 10712 | |
| 10711 |
Mobile
[ios]사진촬영후 이미지 편집 샘플입니다.
|
| 10710 |
JavaScript
Html , javascript , css 강좌 사이트 입니다.
|
| 10709 |
JavaScript
주민번호 자바스크립트 체크
|
| 10707 |
jQuery
안녕하세요 jquery에 대해 물어볼게있습니다
1
|
| 10706 | |
| 20108 | |
| 10705 |
Mobile
[안드로이드] 자신의 폰에 깔려있는 앱들 검색하기
|
| 10703 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기