[Code] Tạo Widget Notepad
Trang 1 trong tổng số 1 trang • Share
[Code] Tạo Widget Notepad
Demo:
[You must be registered and logged in to see this image.]
Hướng dẫn:
Tạo widget mới (Admin Control Panel > Modules > Forum widgets management)
[You must be registered and logged in to see this image.]
Widget name and Title : Notepad
Use a table type : Yes
Widget source :
[You must be registered and logged in to see this image.]
Hướng dẫn:
Tạo widget mới (Admin Control Panel > Modules > Forum widgets management)
[You must be registered and logged in to see this image.]
Widget name and Title : Notepad
Use a table type : Yes
Widget source :
- Code:
<!--
DEVELOPED BY ANGE TUTEUR
NO DISTRIBUTION WITHOUT CONSENT OF THE AUTHOR
ORIGIN : http://fmdesign.forumotion.com/t396-widget-notepad#3174
-->
<style type="text/css">
#fa_notepad {
color:#333;
background:#FFF;
border:1px dotted #CCC;
font-size:13px;
font-family:Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
width:150px !important;
height:150px !important;
resize:none;
overflow:hidden;
overflow-y:auto;
outline:none;
display:block;
padding:3px;
margin:0 auto !important;
}
</style>
<textarea id="fa_notepad"></textarea>
<script type="text/javascript">//<![CDATA[
(function() {
var notepad = document.getElementById('fa_notepad');
if (notepad) {
var key = 'fa_notepad_u' + _userdata.user_id,
storage = window.localStorage,
handler = function() {
var key = 'fa_notepad_u' + _userdata.user_id,
val = this.value,
storage = window.localStorage;
storage ? storage[key] = val : my_setcookie(key, val);
};
notepad.value = (storage ? storage[key] : my_getcookie(key)) || _userdata.username + '\'s personal notes...';
notepad.oninput ? notepad.oninput = handler : notepad.onkeyup = handler;
}
}());
// par ange tuteur
//]]></script>
- Code:
<style type="text/css">
#fa_notepad {
color:#333;
background:#FFF;
border:1px dotted #CCC;
font-size:13px;
font-family:Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
width:150px !important;
height:150px !important;
resize:none;
overflow:hidden;
overflow-y:auto;
outline:none;
display:block;
padding:3px;
margin:0 auto !important;
}
</style>
FMDESIGN [You must be registered and logged in to see this image.]
HelpsFMvi- Ban Quản Trị FMvi
- Số bài : 104
HelpsPoints : 15548
Likes : 33
Ngày tham gia : 10/03/2016
Trạng thái :Online Offline
Tuổi : 26
Location : Ninh Thuận
[Click để xem tài sản HelpsFMvi]
Similar topics
» [Code] Widget: Nhóm
» [Code] Widget Chủ Đề Tương Tự
» [Code] Tạo Widget Đồng Hồ
» [Code] Tạo Widget Friends List
» [Code] Trang trí các thẻ trong Widget KEYWORDS
» [Code] Widget Chủ Đề Tương Tự
» [Code] Tạo Widget Đồng Hồ
» [Code] Tạo Widget Friends List
» [Code] Trang trí các thẻ trong Widget KEYWORDS
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
|
|