• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Dynamik ausschließlich mit XHTML?

Status
Für weitere Antworten geschlossen.

watzlav

Neues Mitglied
Hi,

Ich würde gerne ohne jeden x-belibigen Skript eine Navigation mit Dynamik erstellen:

Wenn man auf einen Link in der Liste klickt soll sich eine weitere Untergeordnete Liste Unter dem Link öffnen, in der man weitere, die Kategorie näherbeschreibende Links, vorfindet. Beim erneuten klicken oder dem klicken auf einen Anderen Link soll wieder nurnoch die Hautpt Navi zu sehen sein.

Ich weis dass das mit Java Script geht, will aber keinen verwenden, um die Kompatibilität zu garantieren.
 
du kannst das auch faken; habe ich z.B: bei matexrevolution.funpic.de gemacht... kannste dir ja anschauen...
 
watzlav schrieb:
Einfacher geht`s nicht?
NEIN!

HTML ist eine Auszeichnungssprache und keine Scripting- oder Programmiersprache. Das sicherste ist es eine serverseitige Lösung zu wählen (z.B. PHP) und dem Besucher reines HTML auszugeben.

Gruß
Hobbyuser
 
und faken ist nicht schwierig; ein Beispiel:

hier ist das erste ausgeklappt:

Code:
<html>
<head>
<title></title>
<style>
a:link {text-decoration: none}
a:visited {text-decoration: none}
a:active {text-decoration: none}
a:hover {text-decoration: underline;color: ;}
.nmsubpoints
{
	margin-left:;
}
</style>
</head>
<body bgcolor="#1E71B5" text="#000000" link="#993300" vlink="#0000FF" alink="#FF9900">
<font face="Arial">
<table>
<tr>
<td width="15">-</td>
<td>[url="matexrevolution_child1.php"]Community[/url]</td>
</tr>
</table>

<div class="nmsubpoints">
<table>
<tr>
<td width="15"></td>
<td>[url="http://matexrevolution.ma.funpic.de/partner.php"]Partner[/url]</td>
</tr>
</table>
<table>
<table>
<tr>
<td width="15"></td>
<td>[url="http://matexrevolution.ma.funpic.de/specials.php"]Specials[/url]</td>
</tr>
</table>
<tr>

<td width="15"></td>
<td>[url="http://matexrevolution.ma.funpic.de/gaestebuch/gb.php?user=user"]Gästebuch[/url]</td>
</tr>
</table>
<table>
<tr>
<td width="15"></td>
<td>[url="http://matexrevolution.ma.funpic.de/zaehler/index.php"]Statistik[/url]</td>
</tr>
</table>
<table>
<tr>
<td width="15"></td>
<td>[url="http://matexrevolution.ma.funpic.de/chat/index.php"]Chat[/url]</td>

</tr>
</table>
<table>
<tr>
<td width="15"></td>
<td>[url="http://www.just4fun.wb3.de"]just4fun[/url]</td>
</tr>
</table>
<table>
<tr>
<td width="15"></td>
<td>[url="http://www.freetoplister.de/cgi-bin/listen/in.cgi?4E593D313030264737613D353139"]vote for TOP 100[/url]</td>
</tr>
</table>
<table>

<tr>
<td width="15"></td>
<td>[url="http://matexrevolution.ma.funpic.de/community/index.php"]Forum[/url]</td>
</tr>
</table>
</div>
<table>
<tr>
<td width="15">+</td>
<td>[url="matexrevolution_child2.php"]Rechtliches[/url]</td>
</tr>
</table>
</font>
</body>

</html>
wenn man jetzt auf Rechtliches klickt kommt man auf dieses:

Code:
<html>
<head>
<title></title>
<style>
a:link {text-decoration: none}
a:visited {text-decoration: none}
a:active {text-decoration: none}
a:hover {text-decoration: underline;color: ;}
.nmsubpoints
{
	margin-left:;
}
</style>
</head>
<body bgcolor="#1E71B5" text="#000000" link="#993300" vlink="#0000FF" alink="#FF9900">
<font face="Arial">
<table>
<tr>
<td width="15">+</td>
<td>[url="matexrevolution_child1.php"]Community[/url]</td>
</tr>
</table>

<table>
<tr>
<td width="15">-</td>
<td>[url="matexrevolution_child2.php"]Rechtliches[/url]</td>
</tr>
</table>
<div class="nmsubpoints">
<table>
<tr>
<td width="15"></td>
<td>[url="mailto:[email protected]?subject=::matex revolution::"]Kontakt[/url]</td>
</tr>
</table>
<table>

<tr>
<td width="15"></td>
<td>[url="mailto:[email protected]?subject=::matexrevolution::"]Kontakt Webmaster[/url]</td>
</tr>
</table>
<table>
<tr>
<td width="15"></td>
<td>[url="mailto:[email protected]?body=::matex revolution:: - Partner werden. Ich m%C3%B6chte Partner von MATEX werden und hier ist mein Bannercode:"]Partner werden[/url]</td>
</tr>
</table>
<table>
<tr>
<td width="15"></td>
<td>[url="http://matexrevolution.ma.funpic.de/impressum.php"]Impressum[/url]</td>

</tr>
</table>
</div>
</font>
</body>
</html>

kannst du dir anschauen unter:
Matex v12.5

Viel Spass damit...

w7
 
Hi,

Ich dachte an:
  • Alles auf eine Webseite
  • Ohne Client-Scripting

Aber das scheint wohl nicht möglich zu sein.
 
Status
Für weitere Antworten geschlossen.
Zurück
Oben