Glossary Item Box

PowerWEB TextBox for ASP.NET

pwChangeStyle Method

Applies style information to an HTML element.

[JavaScript]
pwChangeStyle(pwObj, pwBackgroundColor, pwBorderColor, pwBorderStyle, pwCursor)

Parameters

pwObj
Required. The HTML element to apply the styles to.
pwBackgroundColor
The backgroundColor to apply to the HTML element.
pwBorderColor
The borderColor to apply to the HTML element.
pwBorderStyle
The borderStyle to apply to the HTML element.
pwCursor
The mouse cursor to display when the mouse is over the element.

Remarks

This method is used by PowerWEB TextBox for .NET for the button mouseover effects.

Example

[JavaScript] The following example demonstrates using the pwChangeStyle method to change the visual appearance of an HTML elements.

<DIV id='div1' style='border-color:#434343;border-style:solid'>DIV #1</DIV>
<script language="javascript">
pwChangeStyle(div1, 'red', 'blue', 'solid', 'default');
</script>
	

In This Section

Assembly Overview
Contains classes that support and enable creation of HTML-editing capable web applications.
Client-Side API
Describes client-side JavaScript functions that are used by PowerWEB TextBox for ASP.NET.

 

 


Send comments on this topic.

Documentation version 3.2.0.0.

© 2009 Dart Communications.  All rights reserved.