Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Div Replacement Menu Without Javascript Re: Div Replacement Menu Without Javascript

#111042
Vermaas
Participant

Why not try this with PHP or so. It is possible with CSS, but in a very “hacky/ugly” (and not bulletproof) way.

Might wanna do something like this:

// Get the page ID
$page = $_GET;

if( !empty($page) ) {
// Get the page content stuff from a database (or so)
} else {
// Show the default stuff
}
?>