![]() |
![]() |
|
![]() |
![]() |
|
Programmierung Rat & Tat für Programmierer |
|
Themen-Optionen | Ansicht |
![]() |
#4 | |
Inventar
![]() Registriert seit: 13.06.2001
Beiträge: 1.830
|
![]() Wie die Zählung genau geht weiß ich nicht, mußt du wohl ausprobieren.
An und für sich sollte man ein Frame auch über parent.NameDesFrames ansprechen könnnen, ob das wirklich geht weiß ich aber nicht. Zitat:
Im zweifelsfall gets so (falls ich keinen Fehler eingebaut hab ![]() Code:
function findMaxTime{ var index=0; var maxTime=parent.frames[0].document.lastModified.parse(); for(int i=0;i<parent.frames.length;i++){ var newTime=parent.frames[i].document.lastModified.parse(); if (newTime>maxTime){ maxTime=newTime; index=i; } } return i; } var letzteAenderung=parent.frames[findMaxTime()].lastModified; P.S.:Falls was nicht funktioniert, schau mal bei www.teamone.de/selfhtml vorbei, dort ist fast alles erklärt. 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) |
|
![]() |
![]() |
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
|
|