{轉}profile加插自選清單
<script>
titleContent = '寫title滴地方';
moduleContent = '<br><p>你要寫入滴內容</p><br>';
sub = subTitle.parentNode.parentNode.parentNode.parentNode.parentNode
sub.insertAdjacentHTML('beforeBegin','<table border="1" cellspacing="0" cellpadding="4" width="100%" class="left"><tr><th valign="top" align="left" class="left">' + titleContent + '</th></tr><tr><td valign="top" class="left">' + moduleContent)
sub.insertAdjacentHTML('beforeBegin','<BR>');
</script>
放在website state
內容前後的<br><p>和</p><br>應該不能刪除
使用後或會有部份粗體字
若不想有粗體字
將以上的<th> </th> 改為 td 就可
|