[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [WEB] SSLUG web.



Jesper Krogh wrote:
I sslug.web, skrev Jan Trøjgaard:
Sådan at menuen kan se sådan her ud:
SSLUG - Forening
-- Bestyrelsen
--- Referater
----- 2005 <--- Denne er markert og det der den side vi er på. ----- 2004 ----- 2003 -- Vedtægter
- Emailarkiv - Forum
- Wiki
- Møder


Hvor mængden af "-" angiver dybden i hierakiet.

 Mener du ikke det samme som mig, selv om kan feks. klikker ind på en
 underside, så bevares layoutet og der kommer blot nogle flere under menuer
 man kan vælge?

Ca. jo.


Og skal sådan noget ikke laves i PHP?

Jo det skal genereres dynamisk, men der skal stadig noget CSS+div-tags+etc. til at pakke det ind i så det ser pænt ud i menuen.

Den bedste metode er vist at bruge en flok <ul> inde i hinanden. Altså at hovedmenuen er en ul med en li for hver menupunkt og en undermenu så får en ny ul på passende sted. Det er både let at style og let at kode i PHP.


Se et godt eksempel på http://www.alistapart.com/articles/taminglists/
Hop ned til overskriften Navigation.

I det hele taget er der mange gode artikler på det site.

Med venlig hilsen

Ole

 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-06-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *