#1Đặt tên mặc định khi khách viếng thăm gửi bài 31/3/2012, 11:08
Đang xem:In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests
rongbay
Chia sẻ bài viết: ----------------------------
Demo:
Bước 1 - Tìm đoạn này:
Bước 2 - Thay bằng:
---------
Nếu bạn muốn giaovienyenbai.forumotion.com chỉ là tên gợi ý và khách có thể thay bằng tên khác thì thay code trong bước 2 bằng:
-----------------------------------------------
Cảm ơn bạn đã đọc bài tại:wWw.GiaoVienYenBai.7Forum.Net
Demo:
- Code:
http://giaovienyenbai.forumotion.com
Bước 1 - Tìm đoạn này:
- Code:
<!-- BEGIN switch_username_select -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_USERNAME}</b></span></td>
<td class="row2" width="78%"><span class="genmed"><input class="post" type="text" name="username" maxlength="8" value="{USERNAME}" size="25" tabindex="1"></span></td>
</tr>
<!-- END switch_username_select -->
Bước 2 - Thay bằng:
- Code:
<!-- BEGIN switch_username_select -->
<input type="hidden" class="post" type="text" name="username" maxlength="8" size="25" tabindex="1" value="giaovienyenbai.forumotion.com" onblur="if(this.value=='') this.value='giaovienyenbai.forumotion.com';" onfocus="if(this.value=='giaovienyenbai.forumotion.com') this.value='';">
<!-- END switch_username_select -->
---------
Nếu bạn muốn giaovienyenbai.forumotion.com chỉ là tên gợi ý và khách có thể thay bằng tên khác thì thay code trong bước 2 bằng:
- Code:
<!-- BEGIN switch_username_select -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_USERNAME}</b></span></td>
<td class="row2" width="78%"><span class="genmed"><input class="post" type="text" name="username" maxlength="8" size="25" tabindex="1" value="giaovienyenbai.forumotion.com" onblur="if(this.value=='') this.value='giaovienyenbai.forumotion.com';" onfocus="if(this.value=='giaovienyenbai.forumotion.com') this.value='';"></span></td>
</tr>
<!-- END switch_username_select -->
-----------------------------------------------
Cảm ơn bạn đã đọc bài tại:wWw.GiaoVienYenBai.7Forum.Net