Design  | SFC  |  NOS  |  Code |  Diary  | WWW |  Essay |  Cisco | [Home]
 

[Bill's Home]
[Old Page]

Quick links

Design Tips
WinSock in Visual Basic
WinSock multiserver
DHTML
CSS
Flash/XML
ASP
PHP
JavaScript
Java
Delphi
RSA
WAP
Java Socket Programming
Subnetting
RS-232
Subnetting
Word

Source Code

Pascal
Java
C Programming
Applied PC Interfacing
WinSock client
WinSock server
FTP client
HTTP client
Java client/server
HTTP client
Subnetting in VB
RS-232 in VB
WinSock Multiserver

 

 

 

 

DHTML - Introduction

Dynamic HTML (DHTML) is an enhancement to HTML version 4.0, and can be used to create enhanced visual effects on a WWW page. It works with Microsoft Internet Explorer 4.0 and Netscape Navigator 4.0, and later. The simplest way to reference an element in DHTML is to use the elements id tag. For example:

DHTML example

<html><head><title>ID referencing</title></head>
<script type = "text/javascript">
function go()
{
   alert(mytext.innerText);
   mytext.innerText = "Goodbye";

}

</script>
<body onload="go()">
<p id="mytext">Hello, how are you?</p>
</body>
</html>


Executed code

Hello, how are you?