Lotus
01-10-2004, 05:19 AM
How do you create <div>s with dynamic content? I mean, how do you make a script that updates the <div>s when told to?
|
Click to See Complete Forum and Search --> : Dynamic content Lotus 01-10-2004, 05:19 AM How do you create <div>s with dynamic content? I mean, how do you make a script that updates the <div>s when told to? Vladdy 01-10-2004, 08:05 AM Here is some reading material: http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html http://www.w3.org/TR/DOM-Level-2-HTML/html.html fredmv 01-15-2004, 08:42 AM <!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" xml:lang="en"> <head> <title>untitled</title> <meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" /> <script type="text/javascript"> //<![CDATA[ onload = function() { setInterval(function() { document.getElementById('time').firstChild.nodeValue = new Date; }, 950); } //]]> </script> </head> <div id="time">&nbsp;</div> </head> webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |