Zum Inhalt springen

Links erstellen

Erstellt am 29. September 2005 · Noch keine Antworten

Tags: Frage

fuss ·

Olla!

Ich habe eine Navigation, welche nur aus Icons besteht.
Mom hab ich es hardcodet drin, was natürlich nicht sonderlich elegant ist. Ich hab simulateStaticDocuments aktiviert, und wenn ich nun klicke, zeigt er mir logischerweise nur mein index.php?bla an.

Gib es eine Möglichkeit, die Links dynamisch zu erzeugen?

temp.navicon = COA
temp.navicon {
 10 = HTML
 10.value = <a href="index.php?id=12"><img src="fileadmin/templates/gfx/ico_phone.gif" class="navicon" alt="Telefon" /></a>
 20 = HTML
 20.value = <a href="index.php?id=11"><img src="fileadmin/templates/gfx/ico_people.gif" class="navicon" alt="Leute" /></a>
 30 = HTML
 30.value = <a href="index.php?id=10"><img src="fileadmin/templates/gfx/ico_print.gif" class="navicon" alt="Printversion" /></a>
 40 = HTML
 40.value = <a href="index.php?id=9"><img src="fileadmin/templates/gfx/ico_newspaper.gif" class="navicon" alt="Newsletter" /></a>
}

Irgendwie steh ich aufm Schlauch, für einen Tip wäre ich sehr dankbar.

gruss, fuss