Đăng nhập
Latest topics
» Tôi sẽ đỗ đại học!by nightWalker 9/2/2024, 7:00 pm
» Kỷ niệm xưa của chúng ta
by nightWalker 9/2/2024, 6:49 pm
» Bị lệch khung cần người giúp đỡ
by webhuy28 7/10/2021, 10:34 pm
» [HỎI ĐÁP] Danh sách bạn bè không thể hiển thị
by anhdaodaica1 2/10/2021, 10:04 pm
» [HỎI ĐÁP] Thông tin tài khoản không thể lưu thay đổi
by anhdaodaica1 2/10/2021, 6:05 am
» Phim bố già full
by huy.pc52 24/8/2021, 12:20 am
» Xin code Box HTML cho Forumvi
by Larva 1/7/2021, 12:57 pm
» Hello Anh Em Chinh phục
by HoàngTửNaivip5p 28/5/2021, 5:03 am
» Trang chủ tin tức cập nhật HOT 2016
by kenbi05 1/1/2020, 11:02 pm
» Không Dang9 bài viết = hình ảnh được
by huy.pc52 30/11/2019, 10:52 am
» CHÚC ANH EM NĂM MỚI VUI VẺ TRÀNG ĐẦY HẠNH PHÚC
by sps.kủn 12/2/2019, 1:16 pm
» Skin CNTT-K3 2015 (Full Mod)[✔]
by kenbi05 6/7/2018, 12:30 am
» baivong, handsome,....
by sps.kủn 29/6/2018, 1:54 pm
» [SHARE] SKIN ĐHFM.V7 @PUNBB
by tonyhoaivu 2/5/2018, 2:37 pm
» Share Skin Xanh Dương Cùi Bắp
by tonyhoaivu 28/4/2018, 5:57 pm
» Xin Skin http://v1.hotrofm.net/
by tonyhoaivu 28/4/2018, 5:45 pm
» Xin Skin Rao Vặt
by tonyhoaivu 15/4/2018, 12:07 pm
» Làm Sao Để Xóa Khung Này
by tonyhoaivu 14/4/2018, 7:18 pm
» [Lập nhóm]Lập nhóm fm
by vietkanpy 31/3/2018, 11:53 am
» [Help] về server úp ảnh của phutu [✔]
by baivong 17/3/2018, 10:18 pm
» Đừng khóc cho “tôi – Chinh Phục!”…
by AnHung 27/2/2018, 5:33 pm
» [Share] Skin Diendandaihoc.com [ Punbb ] [✔]
by Lu Mờ 13/2/2018, 7:28 pm
» Mời mấy thím vào groups Forumotion Việt Nam.
by dang02315 13/2/2018, 12:40 am
» Có thể làm các kiểu giao diện được không?
by Lu Mờ 9/2/2018, 3:40 pm
» ltns chinhphuc.info
by Shinichi Kudo 27/1/2018, 2:27 am
Top posting users this week
No user |
[jQuery Plugin] CSS Emoticon
+3
handsomevip007
Lùn Lì Lợm
kalenv
7 posters
Trang 1 trong tổng số 1 trang
[jQuery Plugin] CSS Emoticon
Nguồn : [You must be registered and logged in to see this link.]
Plugin này cho phép biến văn bản thành những emotion dễ thương theo phong cách CSS3 - hoàn toàn không dùng hình ảnh
Do Sử dụng những thuộc tính transform, border-radius, box-shadow, gradient, và transition (CSS3)
nên Plugin này chạy tốt trên FireFox, Chrome, Safari, và Opera, ... Hiển thị không tốt trên IE6, IE7 (vì vậy các bạn đừng sử dụng)
Demo:
[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
Cách áp dụng vào Forumotion :
- Punbb hoặc phpBB2 : Chèn vào temp. overall_header hoặc viewtopic_body. nếu sử dụng skin theo cấu trúc mặc định (nghĩa là không phải skin rip) thì có thể chèn vào widget mới.
- phpBB3 hoặc Invision : Chèn vào widget.
Code cho mỗi phiên bản Forumotion:
- phpbb2 :
- Code:
<link href="http://www.alfajango.com/stylesheets/jquery.cssemoticons.css" rel="stylesheet" media="all" type="text/css" />
<script type="text/javascript" src="http://www.alfajango.com/javascripts/jquery.cssemoticons.min.js"></script>
<script type="text/javascript">jQuery(document).ready(function(){ jQuery('.postbody').emoticonize();})</script>
<style type="text/css">.css-emoticon {font-size:22px!important}</style>
- punbb :
- Code:
<link href="http://www.alfajango.com/stylesheets/jquery.cssemoticons.css" rel="stylesheet" media="all" type="text/css" />
<script type="text/javascript" src="http://www.alfajango.com/javascripts/jquery.cssemoticons.min.js"></script>
<script type="text/javascript">jQuery(document).ready(function(){ jQuery('.entry-content').emoticonize();})</script>
<style type="text/css">.css-emoticon {font-size:22px!important}</style>
- phpbb3 :
- Code:
<link href="http://www.alfajango.com/stylesheets/jquery.cssemoticons.css" rel="stylesheet" media="all" type="text/css" />
<script type="text/javascript" src="http://www.alfajango.com/javascripts/jquery.cssemoticons.min.js"></script>
<script type="text/javascript">jQuery(document).ready(function(){ jQuery('.content').emoticonize();})</script>
<style type="text/css">.css-emoticon {font-size:22px!important}</style>
- invision :
- Code:
<link href="http://www.alfajango.com/stylesheets/jquery.cssemoticons.css" rel="stylesheet" media="all" type="text/css" />
<script type="text/javascript" src="http://www.alfajango.com/javascripts/jquery.cssemoticons.min.js"></script>
<script type="text/javascript">jQuery(document).ready(function(){ jQuery('.entry-content').emoticonize();})</script>
<style type="text/css">.css-emoticon {font-size:22px!important}</style>
* Trong code sử dụng 2 file (tổng kích cỡ 2 file trên 10KB):
[You must be registered and logged in to see this link.]
* font-size:22px trong code là kích cỡ của emoticon. tăng giảm tùy ý.
Nhắc lại cách tạo widget mới :
- Vào ACP > Modules > Forum widgets management:
Click [You must be registered and logged in to see this image.] Create a widget
- Điền đầy đủ thông tin và "Chấp nhận"
[You must be registered and logged in to see this image.]
- Vào thẻ Personal widgets kéo thả widget vừa tạo để sử dụng
[You must be registered and logged in to see this image.]
Tut by Việt K
Re: [jQuery Plugin] CSS Emoticon
Là khi gõ kí tự vui dạng như :) thì nó tự động sẽ biến hành cái hình tròn màu vàng giống emo, nhưng khi rê chuột đến thì nó vẫn là một kí tự bình thường
Re: [jQuery Plugin] CSS Emoticon
đã chèn rồi mà sao không có công hiệu
chèn zo header
[You must be registered and logged in to see this link.]
chèn zo header
[You must be registered and logged in to see this link.]
Re: [jQuery Plugin] CSS Emoticon
- Code:
:-) :) :o) :c) :^) :-D :-( :-9 ;-) :-P :-p :-b :-O :-/ :-X :-# :'( B-) 8-) :-\ ;*( :-* :] :> =] =) 8) :} :D 8D XD xD =D :( :< :[ :{ =( ;) ;] ;D :P :p =P =p :b :O 8O :/ =/ :S :# :X B) O:)
;( >:) >;) >:( O_o O_O o_o 0_o T_T ^_^ ?-) [+=..]
Re: [jQuery Plugin] CSS Emoticon
Ko có gì cả anh VK ơi ?đã viết:Thử viết 1 topic có nội dung như trên xem ?
- Code:
:-) :) :o) :c) :^) :-D :-( :-9 ;-) :-P :-p :-b :-O :-/ :-X :-# :'( B-) 8-) :-\ ;*( :-* :] :> =] =) 8) :} :D 8D XD xD =D :( :< :[ :{ =( ;) ;] ;D :P :p =P =p :b :O 8O :/ =/ :S :# :X B) O:)
;( >:) >;) >:( O_o O_O o_o 0_o T_T ^_^ ?-) [+=..]
- Code:
http://xclub11o2.forum.st/t143-topic#281
Re: [jQuery Plugin] CSS Emoticon
Cho vào temp là nó hoạt động ngay,nếu đã trùng với smile add trước đó thì nó sẽ ko hiện
Similar topics
» [jQuery Plugin] Nhắc nhở thành viên trước khi thoát
» [jQuery Plugin] LiveFilter - Tìm kiếm bài viết
» [SCEditor] jQuery plugin zzImgUr - Công cụ upload ảnh tiên tiến cho forumotion[~]
» [FMvi-Group] jQuery Twitter Search Plugin
» [FMvi-group] Hướng dẫn sử dụng jQuery plugin Fancybox2 cho punBB
» [jQuery Plugin] LiveFilter - Tìm kiếm bài viết
» [SCEditor] jQuery plugin zzImgUr - Công cụ upload ảnh tiên tiến cho forumotion[~]
» [FMvi-Group] jQuery Twitter Search Plugin
» [FMvi-group] Hướng dẫn sử dụng jQuery plugin Fancybox2 cho punBB
Trang 1 trong tổng số 1 trang
Permissions in this forum:
Bạn không có quyền trả lời bài viết
|
|