מדיה ויקי:Common.js: הבדלים בין גרסאות בדף
מאין תקציר עריכה |
תיקון הסקריפט לשינוי שורת השינוי האחרון: הסקריפט, הכתוב inline, מבוצע *בעת הכללתו בדף*, כלומר בראש הדף; החלפתי ל־onload, כלומר בסוף הטעינה |
||
| שורה 604: | שורה 604: | ||
{ | { | ||
document.write('<style type="text/css">/*<![CDATA[*/ #siteSub, #contentSub, h1.firstHeading { display: none !important; } /*]]>*/</style>'); | document.write('<style type="text/css">/*<![CDATA[*/ #siteSub, #contentSub, h1.firstHeading { display: none !important; } /*]]>*/</style>'); | ||
addOnloadHook( mainPageFixLastModified ); | |||
} | |||
function mainPageFixLastModified() { | |||
document.getElementById("Lastmodified").innerHTML = "דף זה מעודכן אוטומטית מדי יום"; | |||
} | } | ||