![]() |
Inline Text Attribute Changes![]() ![]() ![]() ![]() ![]()
Any dynamic change to a Web page that you create solely within a single HTML tag is called an inline change. As an example, consider the listing below which dynamically changes the font size of a heading.
<HTML> <HEAD> </HEAD> Hello World </H1> </BODY> </HTML> The onmouseover attribute sets up an event to trigger when a reader places his, or her mouse over the contents of the heading. When the mouse rests,heading, the text of the heading changes to 128 points in size, The on mouseout sets up an event to trigger when a reader moves the mouse heading. When the mouse leaves the heading area, the text of the changes to a much smaller 32 points.To change text attributes dynamically within an HTML tag, you take advantage of built in features of the Dynamic HTML object model. The this keyword to the HTML element identified by the tag within which the this word is contained.
|
|
Domain NamesDHTML Document Object Model Features of Dynamic HTML HTML Versus DHTML Netscape's Vision of DHTML Microsoft Vision of DHTML Cascading Style Sheets(CSS) Inline Style Sheets Embedded Style for a Page Linked Cascading Style Sheet Text Specific Style AttributesCSS Attributes Assigning Classes Java Script Style Sheets(JSSS) Object Property Functions Methods
Creating Style Sheets with JSSS New JSSS Methods Working Layers Positioning the Layer Using More than One Layer Moving a Layer Around on the Page Events
The mouseOver and mouseOut Events The mouseMove Event The Keyboard Events The mouseDown and mouseUp Events The dragDrop Event Error Event Form Event The Script Tag Changing Text Color Inline Text Attribute Changes Text Dynamically Changing StylesExample of Dynamically Changing Style Dynamically Changing Content HTML Replacement Changing Text Content An Example of HTML Graphics ReplacementWeb DesignWeb HostingE Commerce |
| Home | Web Hosting | Web Design | Sitemap |
| Copyright (C) 2007. Web Domain design hosting. All rights reserved. |