This is the login panel

 

Home|Account

Return to Product Support > Learning Center > Developer References > Javascript API

cj.setSpinner()

cj.setSpinner( destinationId [, message [, destinationHeight ]] )

Arguments

destinationId - the html id value of the container in the document where you want to spinner to be placed

message  - an optional text message to be included under the spinner. A paragraph tag will be added around the message.

destinationHeight  - an optional string used to set the container's height while the spinner is in place.

Return

none

Example

Create a spinner graphic in the following example:

<div id="myContainer">

    <p>This copy will be deleted and the spinner will appear here</p>

</div>

Use this command in your javascript:

cj.setSpinner('myContainer');

Or include this command in a c# add-on while contructing the content:

cp.doc.addHeadJavascript( "cj.setSpinner('myContainer')" );

Support

Home

Search

FAQ



space
Login
space