/* Created by Mdict Editor Tool v2.0.35 */
/* CONTAINS:
Syllable 1-1
Syllable 2-1
Syllable 2-2
Syllable 3-1
Syllable 3-2
Syllable 3-3
Syllable 4+5
Rhyming_All
*/
/* JavaScript file: dicts_combiner_my_dict.js */
function js_display(s,num){var contents=s.parentNode.nextSibling.nextSibling.childNodes; var titles=s.parentNode.childNodes; for(var i=0; i<contents.length;i++){contents[i].style.display=“none”;titles[i].style.background=“#DBDBDB”;titles[i].style.color=“#0072c6”;}titles[num].style.background=“#0072c6”;titles[num].style.color=“#FFFFFF”;contents[num].style.display=“block”;}
也就是點Syllable 2-2另一個詞時會維持在Syllable 2-2 原來的 Tab上
而不會又跳到 Syllable 2-1 的 Tab上
直到去點擊其它的Tab,才切換
可否有解