Login

Save Password - Forgot Pass?
Not a member?
Become a DC
member now!



         Making a DHTML Script
  • Understanding the library
  • Starting with HTML and styles
  • Making the script
  • The code
      Rate this tutorial:
    This tutorial have been read 65328 times.

    Print-friendly version

  • Making a DHTML Script
    Written 07/20/2001 by Thomas Brattli. Last updated 07/22/2001.


    Understanding the library

    As mentioned before the reason we want to use a library is to take care of the most basic browser differences and concentrate on making the real code. The library has a lot of methods built in that we can reuse at any time. So when we need to make a script, effect or a menu that's special for one site we just include the library (with the functions you need) and start coding.

    In this tutorial we'll make a simple but cute dragable menu script where we can drag the "head" of the menu and the rest slides after it. It's important that you understand the basics about how the library works to be able to follow this tutorial, so if you haven't please read the DHTML Lib tutorial.

    Then let's start coding!

    Starting with HTML and styles »

    Copyright ©2000-2002 DHTMLCentral.com, Bratta Communications. All rights reserved.