상단에서 내려오는 스크립트인데요
예를들어 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개
13년 전
animate함수 앞에
$("#top-banner_por").delay("700").animate(.............
이런식으로 딜레이를 주는 방법도 있습니다.
$("#top-banner_por").delay("700").animate(.............
이런식으로 딜레이를 주는 방법도 있습니다.
13년 전
답변진심으로 감사드립니다.
말씀하신 소스를 어디다 붙여야하는지 몰라서 헤매고 있는데요 ;;;
기존 소스를 어떡해 수정해야하는지 부탁좀드리겠습니다. ;
말씀하신 소스를 어디다 붙여야하는지 몰라서 헤매고 있는데요 ;;;
기존 소스를 어떡해 수정해야하는지 부탁좀드리겠습니다. ;
13년 전
위 소스만 봐서
animate()함수가 사용된곳은 두곳입니다.
쿠키를 굽고 그에 따라 모션의 적용여부를 판단하는거 같은데
$("#top-banner_por").delay("700").animate({ opacity:3000},'slow').slideDown('slow').fadeIn('slow',function (){
일단 적용한번 해보심이...
animate()함수가 사용된곳은 두곳입니다.
쿠키를 굽고 그에 따라 모션의 적용여부를 판단하는거 같은데
$("#top-banner_por").delay("700").animate({ opacity:3000},'slow').slideDown('slow').fadeIn('slow',function (){
일단 적용한번 해보심이...
13년 전
감사합니다. 말씀하신데로 했더니 잘되네요 ^^ 정말 감사요
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5930 | 12년 전 | 4642 | ||
| 5929 | 12년 전 | 7840 | ||
| 5928 | 12년 전 | 789 | ||
| 5927 | 13년 전 | 1418 | ||
| 5926 | 13년 전 | 1833 | ||
| 5925 |
김준수사랑
|
13년 전 | 1250 | |
| 5924 |
|
13년 전 | 2760 | |
| 5923 | 13년 전 | 959 | ||
| 5922 | 13년 전 | 1166 | ||
| 5921 | 13년 전 | 658 | ||
| 5920 | 13년 전 | 1181 | ||
| 5919 |
|
13년 전 | 1374 | |
| 5918 | 13년 전 | 12590 | ||
| 5917 |
프로프리랜서
|
13년 전 | 1099 | |
| 5916 |
프로프리랜서
|
13년 전 | 4629 | |
| 5915 |
프로프리랜서
|
13년 전 | 1608 | |
| 5914 |
프로프리랜서
|
13년 전 | 654 | |
| 5913 |
프로프리랜서
|
13년 전 | 937 | |
| 5912 |
프로프리랜서
|
13년 전 | 3746 | |
| 5911 |
프로프리랜서
|
13년 전 | 925 | |
| 5910 |
|
13년 전 | 4583 | |
| 5909 |
수야3019
|
13년 전 | 674 | |
| 5908 | 13년 전 | 834 | ||
| 5907 | 13년 전 | 1233 | ||
| 5906 | 13년 전 | 8757 | ||
| 5905 |
프로프리랜서
|
13년 전 | 1473 | |
| 5904 | 13년 전 | 2497 | ||
| 5903 | 13년 전 | 1652 | ||
| 5902 | 13년 전 | 1928 | ||
| 5901 | 13년 전 | 2016 | ||
| 5900 |
프로프리랜서
|
13년 전 | 1091 | |
| 5899 |
프로프리랜서
|
13년 전 | 1280 | |
| 5898 | 13년 전 | 17675 | ||
| 5897 | 13년 전 | 2336 | ||
| 5896 | 13년 전 | 4361 | ||
| 5895 | 13년 전 | 1692 | ||
| 5894 | 13년 전 | 2102 | ||
| 5893 |
프로프리랜서
|
13년 전 | 2161 | |
| 5892 | 13년 전 | 16040 | ||
| 5891 |
bitmaster
|
13년 전 | 1080 | |
| 5890 |
프로프리랜서
|
13년 전 | 946 | |
| 5889 |
|
13년 전 | 724 | |
| 5888 | 13년 전 | 1618 | ||
| 5887 |
|
13년 전 | 3199 | |
| 5886 | 13년 전 | 3448 | ||
| 5885 | 13년 전 | 2109 | ||
| 5884 | 13년 전 | 5651 | ||
| 5883 | 13년 전 | 2822 | ||
| 5882 | 13년 전 | 6030 | ||
| 5881 | 13년 전 | 1638 | ||
| 5880 | 13년 전 | 20717 | ||
| 5879 | 13년 전 | 908 | ||
| 5878 |
나의라임토마토
|
13년 전 | 1407 | |
| 5877 | 13년 전 | 16775 | ||
| 5876 |
maniAc
|
13년 전 | 2806 | |
| 5875 | 13년 전 | 1039 | ||
| 5874 | 13년 전 | 3735 | ||
| 5873 |
lainfox
|
13년 전 | 1184 | |
| 5872 | 13년 전 | 1346 | ||
| 5871 | 13년 전 | 797 | ||
| 5870 | 13년 전 | 2529 | ||
| 5869 |
AMDbest
|
13년 전 | 1513 | |
| 5868 |
한번잘해보자
|
13년 전 | 659 | |
| 5867 |
|
13년 전 | 918 | |
| 5866 | 13년 전 | 7494 | ||
| 5865 | 13년 전 | 2408 | ||
| 5864 | 13년 전 | 939 | ||
| 5863 | 13년 전 | 1311 | ||
| 5862 | 13년 전 | 2876 | ||
| 5861 | 13년 전 | 1029 | ||
| 5860 | 13년 전 | 19330 | ||
| 5859 | 13년 전 | 2944 | ||
| 5858 | 13년 전 | 2653 | ||
| 5857 | 13년 전 | 4826 | ||
| 5856 |
|
13년 전 | 1952 | |
| 5855 | 13년 전 | 817 | ||
| 5854 | 13년 전 | 1008 | ||
| 5853 | 13년 전 | 16109 | ||
| 5852 | 13년 전 | 826 | ||
| 5851 | 13년 전 | 2223 | ||
| 5850 | 13년 전 | 1774 | ||
| 5849 |
AMDbest
|
13년 전 | 1309 | |
| 5848 |
|
13년 전 | 1164 | |
| 5847 |
SeanLee
|
13년 전 | 1304 | |
| 5846 | 13년 전 | 23468 | ||
| 5845 | 13년 전 | 2653 | ||
| 5844 | 13년 전 | 28807 | ||
| 5843 |
|
13년 전 | 2208 | |
| 5842 | 13년 전 | 22523 | ||
| 5841 | 13년 전 | 5745 | ||
| 5840 |
Quincy
|
13년 전 | 936 | |
| 5839 | 13년 전 | 967 | ||
| 5838 | 13년 전 | 2820 | ||
| 5837 | 13년 전 | 1097 | ||
| 5836 | 13년 전 | 2319 | ||
| 5835 | 13년 전 | 1521 | ||
| 5834 | 13년 전 | 1505 | ||
| 5833 | 13년 전 | 6678 | ||
| 5832 | 13년 전 | 5214 | ||
| 5831 | 13년 전 | 1071 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기