[Php-it] [OT] menu che si apre da un link
Emiliano Gabrielli (aka AlberT)
AlberT at superalbert.it
Thu Oct 5 11:56:46 CEST 2006
On Thursday 05 October 2006 11:44, Davide Michel 'ZioBudda' Morelli wrote:
> Emiliano Gabrielli (aka AlberT) ha scritto:
> > fai un div hidden e imposti la sua visibility su show onClick
>
> un esempio ??? :)
>
> Ah, il tutto deve essere dinamico (nel senso che lo devo creare al volo
> dal php e che avro' piu' punti "opzioni")
>
> ciao
<?xml version="1.0" encoding="iso-8859-15"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
</head>
<body>
<div id="pippo" style="visibility: hidden;">
<ul>1 ...</ul>
<ul>2 ... </ul>
</div>
<a href="#"
onclick="document.getElementById('pippo').style.visibility='visible'">link</a>
</body>
</html>
--
<?php echo ' Emiliano Gabrielli (aka AlberT) ',"\n",
' socio fondatore e membro del direttivo del GrUSP ',"\n",
' AlberT_at_SuperAlberT_it - www.SuperAlberT.it ',"\n",
' IRC: #php,#AES azzurra.com ',"\n",'ICQ: 158591185'; ?>
More information about the Php-it
mailing list