The Doc Dialer, Part 2: A Browser Independent Version: A Final Word
The Doc Dialer, Part 2: A Browser Independent Version
A Final Word
In this column we presented version 2 of our Doc Dialer. We showed you how to implement the new feature, the ability to enter new names and extension numbers. We taught you how to navigate a trie data structure and its link lists. We also covered the new algorithm to check that the new entry does not already exist. We also explained how to overcome the (lack of) innerHTML
property in Netscape Navigator. We simply embraced a SPAN
element within a DIV
element. The Internet Explorer references the SPAN
element while Netscape Navigator references the DIV
element.
In this column, you learned:
- How to implement the global area
- How to initialize the Doc Dialer
- How to find the insertion point
- How to insert a new record
- How to prompt the user for a new name
- How to search for a name
- How to update the display
- How to handle events
- How to make the code browser-independent
We also included the listing of our Doc Dialer and its zipped version.
Produced by Yehuda Shiran and Tomer Shiran
Created: February 28, 2000
Revised: April 26, 2000
URL: https://www.webreference.com/js/column58/12.html