:: DinkostaOnline - DHTML ::
 You are here : Web design > Languages > DHTMLDinkostaOnline 
Top links

HTML intro

CSS intro

Batch files

Introduction to JavaScript

Webmasterstuff

Speed-up&search the Internet

The Registry

Security on the Internet

About Pirot
 DHTML (DynamicHTML) is a combination of several web technologies, but the key technologies are Cascading Style Sheets (CSS), the Document Object Model (DOM) and client-side scripting (mostly - JavaScript). Many things that were previously possible only with Java applets and plug-ins can be done with DHTML now, and you avoid the long loading of the applets or plug -ins (and it's easier to learn DHTML than Java).
  Below is an example of a calculator made with DHTML. This "pink" calculator is the same like the one on this page, but here in combination with Cascading Style Sheets. The colors and size can easily be changed and customized.



to see the code for the above calculator.
To position the calculator on a page add the appropriate attributes.

Dragging elements on a page (IE): With the appropriate code, nearly everything on a page could be draggable with the mouse: pictures, tables, text etc. To do this, you also have to add the class=sf attribute to the tag, whose content you want to make draggable. Below is an example:

This text can be dragged, but not this one.
Click here to see the code:

1
Hosted by www.Geocities.ws