The following two examples show two methods to show and hide text dynamically.
Changing Stylesheet | Changing inline style |
---|---|
Move the mouse over this text to make the following text disappear. DHTML using VISIBILITY Move the mouse over this text to make the following text disappear. DHTML using DISPLAY When the DISPLAY text disappears, this text moves up. |
Move the mouse over this text to make the following text disappear. DHTML using VISIBILITY Move the mouse over this text to make the following text disappear. DHTML using DISPLAY When the DISPLAY text disappears, this text moves up. |