![]() |
![]() |
|
|
|||||||
| Programmierung Rat & Tat für Programmierer |
![]() |
|
|
Themen-Optionen | Ansicht |
|
|
#11 |
|
Veteran
![]() |
screen dazu
____________________________________
lg WF |
|
|
|
|
|
#12 |
|
Veteran
![]() |
screenshot
____________________________________
lg WF |
|
|
|
|
|
#13 |
|
Veteran
![]() |
sorry fürs doppelposting - lag nicht in meiner hand...
____________________________________
lg WF |
|
|
|
|
|
#14 |
|
Inventar
![]() Registriert seit: 13.06.2001
Beiträge: 1.830
|
Dann probier noch ein alert(LastModDate.getDate(),", ",(LastModDate.getFullYear()))); (for dem if (Name=="netscape")...)
(das andere alert kannst du wieder weglöschen). Btw.: es reicht wenn du den Text postest der ausgegebne wir, oder einfach sagst es funktioniert. Es muss kein screenshot sein ![]() Jak
____________________________________
Join the DNRC | Godwin\'s Law (thx@stona) Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing. \"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra) |
|
|
|
|
|
#15 |
|
Veteran
![]() |
Jetzt hab ich wieder kein Datum...
Mein Code schaut - nur zur Sicherheit - so aus: Code:
var DOWArray = new initArray("So","Mo","Di","Mi","Do","Fr","Sa");
var MOYArray = new initArray("Jan","Feb","März","Apr","Mai","Juni","Juli","Aug","Sept","Okt","Nov","Dez");
var LastModDate = new Date(parent.frames[4].document.lastModified);
alert(LastModDate.getDate(),", ",(LastModDate.getFullYear()))); (for dem if (Name=="netscape")...)
var Name = navigator.appName;
____________________________________
lg WF |
|
|
|
|
|
#16 |
|
Inventar
![]() Registriert seit: 13.06.2001
Beiträge: 1.830
|
Also bei mir geht dieser Code problemlos:
Code:
<script language="JavaScript">
function initArray()
{
this.length = initArray.arguments.length
for (var i = 0; i < this.length; i++)
this[i+1] = initArray.arguments[i]
}
var DOWArray = new initArray("So","Mo","Di","Mi","Do","Fr","Sa");
var MOYArray = new initArray("Jan","Feb","März","Apr","Mai","Juni","Juli","Aug","Sept","Okt","Nov","Dez");
var LastModDate = new Date(parent.frames[4].document.lastModified);
document.write(DOWArray[(LastModDate.getDay()+1)],", ");
document.write(MOYArray[(LastModDate.getMonth()+1)]," ");
document.write(LastModDate.getDate(),", ",(LastModDate.getFullYear()));
</script>
(d.h.<!--Hide from Java impaired Browsers ...Quelltext... //--> </script>) So wie du das in deinem quelltext hast hat es null Effekt.
____________________________________
Join the DNRC | Godwin\'s Law (thx@stona) Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing. \"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra) |
|
|
|
|
|
#17 |
|
Veteran
![]() |
Ja, passt!
In den nächstenm Tagen (logisch!) werd ich ausprobieren, obs wirklich funzt - aber ich hege keine Zweifel mehr. Vielen Dank!
____________________________________
lg WF |
|
|
|
![]() |
| Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|