Hallo Abraxas.
Per php und "include 'xy.shtml'" funktionierts prima, jedoch wird jedesmal die ganze Seite neu geladen. Ich möchte, dass lediglich der Inhalt des Divs ausgetauscht wird.
Unter der Prämisse, dass du das derzeitige HTML nicht anrührst (außer vielleicht, um das onclick–Attribut zu streichen), könntest du versuchen, dein Vorhaben per AJAX umzusetzen. Achte aber bitte unbedingt darauf, dass deine Site ohne JS ebenfalls uneingeschränkt benutzbar ist.
Einen schönen Mittwoch noch.
Gruß, Mathias
--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]