WPCAPI.setLoginDialogPropertiesThis is a featured page


void WPCAPI.setLoginDialogProperties()

This method sets the properties of the login dialog.

Parameters
ObjectinfoAn object containing one or more of the following properties:

String
titleThe login dialog title.
Defaults to "Please Login"
String
messageThe message to be displayed within the login dialog. May contain HTML.
Defaults to "You must be logged in to use this feature."
String
submitThe label for the Login button in the login dialog.
Defaults to "Login"
String
cancelThe label for the Cancel button in the login dialog.
Defaults to "Cancel"

Usage


if( window.WPCAPI ) {
WPCAPI.setLoginDialogProperties({
title: "Login to the Turtle Soup Digest",
message: "If you want to enjoy some fresh turtle soup, you need to be logged in first!"

});
}




ryan_wetpaint
ryan_wetpaint
Latest page update: made by ryan_wetpaint , May 8 2008, 12:11 PM EDT (about this update About This Update ryan_wetpaint Rename - ryan_wetpaint

No content added or deleted.

- complete history)
More Info: links to this page
There are no threads for this page.  Be the first to start a new thread.

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)