Re: Dynamic HTML Creation

From: Date: Mon, 30 Aug 2004 17:32:55 +0000
Subject: Re: Dynamic HTML Creation
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-195171@lists.php.net to get a copy of this message
you can use some css and javascript combos to show/hide content, display:none and display:block work great, instead of making an element invisible, it actually reformatts the page so there isn't any white space. -- -------------------------------------------------------------->> Jasper Howard :: Database Administration Velocity7 1.530.470.9292 http://www.Velocity7.com/ <<-------------------------------------------------------------- "Ramil Sagum" <ramil.sagum@gmail.com> wrote in message news:adc98eb504082800046fb75d43@mail.gmail.com... > On Fri, 27 Aug 2004 23:17:29 -0700, Sam Hobbs <socalsam@bigfoot.com> wrote: > > Is it possible to use the DOM to add (HTML) elements to a page at the time > > the page is being shown? The HTML and VBScript shown below is a simplified > > version of what I need to do but of course I need to do it in PHP. Since PHP > is server-side (right?) perhaps it is not possible. > > --------------- > > Yes, it is possible. And you are right, PHP is a server side > language. In addition to PHP, > use a client-side scripting language (like JavaScript). JavaScript > also has functions for accessing the DOM (createElement and > getElementByID). > > > > HTH > > ---- > > ramil > > http://ramil.sagum.net

« previous php.general (#195171) next »