상단에서 내려오는 스크립트인데요
예를들어 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 | 13년 전 | 4643 | ||
| 5929 | 13년 전 | 7840 | ||
| 5928 | 13년 전 | 792 | ||
| 5927 | 13년 전 | 1419 | ||
| 5926 | 13년 전 | 1838 | ||
| 5925 |
김준수사랑
|
13년 전 | 1251 | |
| 5924 |
|
13년 전 | 2762 | |
| 5923 | 13년 전 | 961 | ||
| 5922 | 13년 전 | 1169 | ||
| 5921 | 13년 전 | 659 | ||
| 5920 | 13년 전 | 1181 | ||
| 5919 |
|
13년 전 | 1377 | |
| 5918 | 13년 전 | 12592 | ||
| 5917 |
프로프리랜서
|
13년 전 | 1100 | |
| 5916 |
프로프리랜서
|
13년 전 | 4632 | |
| 5915 |
프로프리랜서
|
13년 전 | 1609 | |
| 5914 |
프로프리랜서
|
13년 전 | 654 | |
| 5913 |
프로프리랜서
|
13년 전 | 938 | |
| 5912 |
프로프리랜서
|
13년 전 | 3748 | |
| 5911 |
프로프리랜서
|
13년 전 | 928 | |
| 5910 |
|
13년 전 | 4586 | |
| 5909 |
수야3019
|
13년 전 | 675 | |
| 5908 | 13년 전 | 836 | ||
| 5907 | 13년 전 | 1234 | ||
| 5906 | 13년 전 | 8757 | ||
| 5905 |
프로프리랜서
|
13년 전 | 1475 | |
| 5904 | 13년 전 | 2498 | ||
| 5903 | 13년 전 | 1652 | ||
| 5902 | 13년 전 | 1929 | ||
| 5901 | 13년 전 | 2020 | ||
| 5900 |
프로프리랜서
|
13년 전 | 1092 | |
| 5899 |
프로프리랜서
|
13년 전 | 1282 | |
| 5898 | 13년 전 | 17679 | ||
| 5897 | 13년 전 | 2337 | ||
| 5896 | 13년 전 | 4363 | ||
| 5895 | 13년 전 | 1692 | ||
| 5894 | 13년 전 | 2103 | ||
| 5893 |
프로프리랜서
|
13년 전 | 2162 | |
| 5892 | 13년 전 | 16041 | ||
| 5891 |
bitmaster
|
13년 전 | 1083 | |
| 5890 |
프로프리랜서
|
13년 전 | 947 | |
| 5889 |
|
13년 전 | 725 | |
| 5888 | 13년 전 | 1619 | ||
| 5887 |
|
13년 전 | 3200 | |
| 5886 | 13년 전 | 3449 | ||
| 5885 | 13년 전 | 2110 | ||
| 5884 | 13년 전 | 5654 | ||
| 5883 | 13년 전 | 2822 | ||
| 5882 | 13년 전 | 6031 | ||
| 5881 | 13년 전 | 1638 | ||
| 5880 | 13년 전 | 20720 | ||
| 5879 | 13년 전 | 912 | ||
| 5878 |
나의라임토마토
|
13년 전 | 1412 | |
| 5877 | 13년 전 | 16778 | ||
| 5876 |
maniAc
|
13년 전 | 2810 | |
| 5875 | 13년 전 | 1039 | ||
| 5874 | 13년 전 | 3735 | ||
| 5873 |
lainfox
|
13년 전 | 1186 | |
| 5872 | 13년 전 | 1349 | ||
| 5871 | 13년 전 | 798 | ||
| 5870 | 13년 전 | 2529 | ||
| 5869 |
AMDbest
|
13년 전 | 1514 | |
| 5868 |
한번잘해보자
|
13년 전 | 664 | |
| 5867 |
|
13년 전 | 921 | |
| 5866 | 13년 전 | 7494 | ||
| 5865 | 13년 전 | 2411 | ||
| 5864 | 13년 전 | 939 | ||
| 5863 | 13년 전 | 1311 | ||
| 5862 | 13년 전 | 2878 | ||
| 5861 | 13년 전 | 1032 | ||
| 5860 | 13년 전 | 19332 | ||
| 5859 | 13년 전 | 2946 | ||
| 5858 | 13년 전 | 2653 | ||
| 5857 | 13년 전 | 4829 | ||
| 5856 |
|
13년 전 | 1954 | |
| 5855 | 13년 전 | 822 | ||
| 5854 | 13년 전 | 1010 | ||
| 5853 | 13년 전 | 16111 | ||
| 5852 | 13년 전 | 826 | ||
| 5851 | 13년 전 | 2223 | ||
| 5850 | 13년 전 | 1775 | ||
| 5849 |
AMDbest
|
13년 전 | 1309 | |
| 5848 |
|
13년 전 | 1166 | |
| 5847 |
SeanLee
|
13년 전 | 1307 | |
| 5846 | 13년 전 | 23471 | ||
| 5845 | 13년 전 | 2656 | ||
| 5844 | 13년 전 | 28814 | ||
| 5843 |
|
13년 전 | 2210 | |
| 5842 | 13년 전 | 22527 | ||
| 5841 | 13년 전 | 5746 | ||
| 5840 |
Quincy
|
13년 전 | 937 | |
| 5839 | 13년 전 | 968 | ||
| 5838 | 13년 전 | 2822 | ||
| 5837 | 13년 전 | 1099 | ||
| 5836 | 13년 전 | 2320 | ||
| 5835 | 13년 전 | 1522 | ||
| 5834 | 13년 전 | 1507 | ||
| 5833 | 13년 전 | 6680 | ||
| 5832 | 13년 전 | 5214 | ||
| 5831 | 13년 전 | 1072 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기