Re: Folding closed space for a hidden form
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: Folding closed space for a hidden form

From: ASM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid>
Date: Thu Aug 11 2005 - 23:17:19 CEST

web_design wrote:
> I'd prefer that someone could click on the
> link to open it, and then click again to close it.
>
> This is my link:
> <a href="javascript://" onClick="showform('commentform')">

function showform(mydiv) {
  var d = document.getElementById(mydiv).style;
   d.display = (d.display=='visible')? 'hidden' : 'visible';
}

-- 
Stephane Moriaux et son [moins] vieux Mac
Received on Tue Oct 18 03:07:50 2005