Nature In The World
We are one and we will have fun here!
Bài gửi sau cùng Bài gửi Người gửi Thời gian Bán Sơn móng tay Etude House And Rose Flowering Nails thuquangbui Thu Jul 24, 2014 5:13 pm Làm sạch nước và tạo nước thuquangbui Sat Jul 19, 2014 1:31 pm Cty Kính ôtô SG-O90.318.9042, 093.821.8901 giới thiệu kiengxehoisg Tue Feb 25, 2014 9:27 am [Nit World #7]Mừng năm học mới =)) natsumi Tue Jan 14, 2014 1:12 pm Nhật kí (than thở)..... natsumi Mon Jul 22, 2013 1:19 pm Nước sạch và những con số biết nói Rin & Len Sun Jul 21, 2013 8:46 pm Ô nhiễm sông........ natsumi Thu Jun 13, 2013 8:10 pm Đợt nắng nóng nhất trong 11300 năm qua Mokona Tue May 28, 2013 9:36 am Trái đất sẽ ra sao nếu mất hoàn toàn Oxy trong vòng 5 giây? Mokona Tue May 28, 2013 9:36 am Các loài cây kỳ dị mang vẻ đẹp "hiếm có khó tìm" natsumi Mon Apr 01, 2013 11:01 pm Xin lỗi...anh chỉ là thằng bán bánh giò!!! Mokona Tue Mar 26, 2013 9:58 pm TQ - BỘ SÁP WAX TẨY LÔNG (tại nhà) & KEM LÀM NHẠT MÀU LÔNG ( xoá mờ vết thâm ) BO_WAX_LONG Wed Feb 27, 2013 1:31 pm TQ - Kem dưỡng trắng BODY - FACE - Kem trị mụn của NHẬT. (Có hình khách sử dụng) BO_WAX_LONG Wed Feb 27, 2013 1:29 pm Chia sẽ bí quyết giúp bạn nữ của tự tin thoát khỏi LÔNG đen xấu xí BO_WAX_LONG Wed Feb 27, 2013 1:18 pm Bật mí cách để có một làn da trắng trẻo mịn màng ko tì vết BO_WAX_LONG Wed Feb 27, 2013 1:15 pm
Đóng góp code cho học viện
Chuyển đến trang : 1 , 2 Sun Aug 21, 2011 5:51 pm Tiêu đề: Đóng góp code cho học viện First topic message reminder : Mem nào kiếm được code hay, thì hãy đưa ra cho mọi người xem nhé.. Nhớ post kĩ cách làm, có hình kèm theo càng tốt... Nhớ có demo và link dẫn ( ví dụ đó). Các hiệu trưởng sẽ cộng điểm và trao huy chương, huy hiệu tùy vào tác dụng của nó... Đối với những code ngoài, ko nhằm mục đích gì mà muốn chia sẻ thì hãy post ngoài... Thanks,... Vu Linh Lan..
Sun Sep 11, 2011 1:14 pm Tiêu đề: Re: Đóng góp code cho học viện
Wed Sep 14, 2011 1:14 am Tiêu đề: Re: Đóng góp code cho học viện
Thu Sep 15, 2011 9:37 am Tiêu đề: Re: Đóng góp code cho học viện chị bít cái đóng khu nhưng nahsc quá đi..
Fri Sep 30, 2011 6:09 pm Tiêu đề: Re: Đóng góp code cho học viện @lilia: Đóng em nó đẹp hơn mà chị :">
Mon Aug 06, 2012 5:08 pm Cam_chàn a.k.a Surin Phó hội trưởng hội học sinh
Tài Sản của Cam_chàn a.k.a Surin
Tổng số bài gửi : 17
Tiền tiêu: : 8623
Birthday : 19/01/1998
Gia nhập ngày : 06/08/2012
Tiêu đề: Re: Đóng góp code cho học viện mih` cũng biết đc kha khá code vì đã sửa nhiều 4r và có kinh nghiệm nhiều rồi ^^
có mấy cái code làm 4r sinh động hơn , cậu có lấy hem nè
code lá rơi cho 4r cách làm : chèn cái script này vào homepage message
demo :
http://gakuenalicefamily.forumvi.com/ Code: <script> var pictureSrc ="http://i48.servimg.com/u/f48/14/28/30/23/untit291.png"; //the location of the snowflakes var pictureWidth = 30; //the width of the snowflakes var pictureHeight = 30; //the height of the snowflakes var numFlakes = 10; //the number of snowflakes var downSpeed = 0.01; //the falling speed of snowflakes (portion of screen per 100 ms) var lrFlakes = 10; //the speed that the snowflakes should swing from side to side if( typeof( numFlakes ) != 'number' || Math.round( numFlakes ) != numFlakes || numFlakes < 1 ) { numFlakes = 10; } //draw the snowflakes for( var x = 0; x < numFlakes; x++ ) { if( document.layers ) { //releave NS4 bug document.write('<layer id="snFlkDiv'+x+'"><imgsrc="'+pictureSrc+'" height="'+pictureHeight+'"width="'+pictureWidth+'" alt="*" border="0"></layer>'); } else { document.write('<div style="position:absolute;"id="snFlkDiv'+x+'"><img src="'+pictureSrc+'"height="'+pictureHeight+'" width="'+pictureWidth+'" alt="*"border="0"></div>'); } } //calculate initial positions (in portions of browser window size) var xcoords = new Array(), ycoords = new Array(), snFlkTemp; for( var x = 0; x < numFlakes; x++ ) { xcoords[x] = ( x + 1 ) / ( numFlakes + 1 ); do { snFlkTemp = Math.round( ( numFlakes - 1 ) * Math.random() ); } while( typeof( ycoords[snFlkTemp] ) == 'number' ); ycoords[snFlkTemp] = x / numFlakes; } //now animate function flakeFall() { if( !getRefToDivNest('snFlkDiv0') ) { return; } var scrWidth = 0, scrHeight = 0, scrollHeight = 0, scrollWidth = 0; //find screen settings for all variations. doing this every time allows for resizing and scrolling if( typeof( window.innerWidth ) == 'number' ) { scrWidth = window.innerWidth; scrHeight = window.innerHeight; } else { if( document.documentElement && (document.documentElement.clientWidth ||document.documentElement.clientHeight ) ) { scrWidth = document.documentElement.clientWidth; scrHeight = document.documentElement.clientHeight; } else { if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { scrWidth = document.body.clientWidth; scrHeight = document.body.clientHeight; } } } if( typeof( window.pageYOffset ) == 'number' ) { scrollHeight = pageYOffset; scrollWidth = pageXOffset; } else { if( document.body && ( document.body.scrollLeft ||document.body.scrollTop ) ) { scrollHeight = document.body.scrollTop;scrollWidth = document.body.scrollLeft; } else { if(document.documentElement && (document.documentElement.scrollLeft ||document.documentElement.scrollTop ) ) { scrollHeight =document.documentElement.scrollTop; scrollWidth =document.documentElement.scrollLeft; } } } //move the snowflakes to their new position for( var x = 0; x < numFlakes; x++ ) { if( ycoords[x] * scrHeight > scrHeight - pictureHeight ) { ycoords[x] = 0; } var divRef = getRefToDivNest('snFlkDiv'+x); if( !divRef ) { return; } if( divRef.style ) { divRef = divRef.style; } var oPix = document.childNodes ? 'px' : 0; divRef.top = ( Math.round( ycoords[x] * scrHeight ) + scrollHeight ) + oPix; divRef.left = ( Math.round( ( ( xcoords[x] * scrWidth ) - (pictureWidth / 2 ) ) + ( ( scrWidth / ( ( numFlakes + 1 ) * 4 ) ) * (Math.sin( lrFlakes * ycoords[x] ) - Math.sin( 3 * lrFlakes * ycoords[x]) ) ) ) + scrollWidth ) + oPix; ycoords[x] += downSpeed; } } //DHTML handlers function getRefToDivNest(divName) { if( document.layers ) { return document.layers[divName]; } //NS4 if( document[divName] ) { return document[divName]; } //NS4 also if( document.getElementById ) { return document.getElementById(divName); } //DOM (IE5+, NS6+, Mozilla0.9+, Opera) if( document.all ) { return document.all[divName]; } //Proprietary DOM - IE4 return false; } window.setInterval('flakeFall();',100);</script>
code thu gọn bài viết dài by baivong cách làm : tạo 1 Javascript mới rồi chèn code vào ; Title : Thu gọn bài viết dài ; Placement : In all the pages
demo :
http://teenx.forum-viet.com/t80p24-topic#3416 [chú ý cái nút chi tiết ở bài viết]
code :
Code: var CopyrightNoticeEn = 'Copyright © by FmVi. All Rights Reserved. Use, modification, and/or distribution of this script is not allowed without direct permission from baivong (gialangsangai2000@yahoo.com). This entire copyright notice must remain in the original, copied, or modified script'; var CopyrightNoticeVi = 'Bản quyền © FmVi. Giữ toàn quyền. Việc sử dụng, sửa đổi , và / hoặc phân phối mã này mà không được phép trực tiếp từ baivong (gialangsangai2000@yahoo.com) là không được phép. Toàn bộ thông báo bản quyền này phải được giữ nguyên khi sao chép, hoặc sửa đổi'; $(function(){$("div.postbody div:not('.cont_code')").each(function(){var $baivietdai=$(this);if($(this).height()>500){$(this).css({'overflow':'hidden','max-height':'300px'});$('<br/><button style="float:right; padding:1px" class="baivietquadai"><img title="Xem bài viết chi tiết" src ="http://i48.servimg.com/u/f48/16/58/89/73/more10.gif" alf="chi tiết"/></button>').insertAfter(this);$('.baivietquadai').click(function(){$baivietdai.css({'overflow':'hidden','max-height':'100%'});$(this).remove()})}});$('div.signature_div').each(function(){if($(this).height()>350){$('div.signature_div img').css('max-width','600px');$(this).css({'overflow':'hidden','max-height':'250px','max-width':'100%'});$(this).hover(function(){$(this).css({'overflow':'hidden','max-height':'100%','max-width':'100%'})},function(){$(this).css({'overflow':'hidden','max-height':'250px','max-width':'100%'})})}})});
- cần code gì cứ nói nka ^^
Mon Aug 06, 2012 10:37 pm Tiêu đề: Re: Đóng góp code cho học viện thanks :)
+20 trước
Sponsored content
Tài Sản của Sponsored content
Tiêu đề: Re: Đóng góp code cho học viện
Trang 2 trong tổng số 2 trang Chuyển đến trang : 1 , 2 * Viết tiếng Việt có dấu, là tôn trọng người đọc. * Chia sẻ bài sưu tầm có ghi rõ nguồn, là tôn trọng người viết. * Thực hiện những điều trên, là tôn trọng chính mình. Permissions in this forum: Bạn không có quyền trả lời bài viết
May 2024 Mon Tue Wed Thu Fri Sat Sun 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Calendar