FP2000: Creating Hover Effects for Form Buttons using DHTML and CSSID: Q222949
|
FrontPage 2000 contains a rich set of Cascading Style Sheet (CSS) and Dynamic HTML (DHTML) authoring capabilities that allow you to create a variety of hover effects. This article describes you can create hover button effects for regular form field buttons by using the CSS features and DHTML formatting.
To create hover button effects for Form Field buttons, follow these steps:
dynamicanimation="fpAnimformatRolloverFP1"
fprolloverstyle="background-color: #000000; color: #FFFFFF"
onmouseover="rollIn(this)"
onmouseout="rollOut(this)"
language="Javascript1.2"
Note: The values for "background-color" and "color" may be different from those shown in the previous code.
<input type="submit" value="Submit"
style="background-color: #008000; color: #000000"
dynamicanimation="fpAnimformatRolloverFP1"
fprolloverstyle="background-color: #000080; color: #FFFFFF"
onmouseover="rollIn(this)"
onmouseout="rollOut(this)"
language="Javascript1.2">
<input type="reset" value="Reset"
style="background-color: #800000; color: #FFFFFF"
dynamicanimation="fpAnimformatRolloverFP1"
fprolloverstyle="background-color: #000080; color: #FFFFFF"
onmouseover="rollIn(this)"
onmouseout="rollOut(this)"
language="Javascript1.2">
Additional query words: front page dhtml html css
Keywords : kbdta
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: July 1, 1999