Iōng-chiá:Vago/vector.js
Chù-ì: Pó-chûn liáu-āu, tio̍h ē-kì leh kā liû-lám-khì ê cache piàⁿ tiāu chiah khoàⁿ-ē-tio̍h kái-piàn: Mozilla: chhi̍h reload/têng-sin chài-ji̍p (a̍h-sī Ctrl-R), IE kap Opera: Ctrl-F5, Safari: Cmd-R, Konqueror Ctrl-R.
function LinkFA(){
var pLang = document.getElementById('p-lang')
if (!pLang) return
var list = {
'fa':'This is a featured article',
'ga':'This is a good article'}
var iw = pLang.getElementsByTagName('li')
for (var i=0; i<iw.length; i++)
for (var s in list)
if (document.getElementById(iw[i].className+'-'+s)){
iw[i].className += ' ' + s.toUpperCase()
iw[i].title = list[s] + ' in another language'
}
}
$( LinkFA );