GraffitiRibbon

$intcount = 0;
$marberSubPages = new WP_Query();
$marberSubPages->query(“post_status=’publish’&post_type=page&orderby=menu_order&post_parent=492″);
while($marberSubPages->have_posts()) : $marberSubPages->the_post();
?>

if ($intcount == 3) {
$intcount = 0;
echo "

“;
echo “

“;
} ?>


/images/trans.gif” class=”rbclass” />

Events

ButtonClick( ButtonName as String )
Fires when the user clicks the button specified by ButtonName.

Minimized()
Fires when the user clicks the minimize button, or the control is animated and it’s size is made smaller.

Restored()
Fires when the user clicks the maximize button, or the control is animated and it’s size is made larger.

TabChange( newTab as RibbonTab )
Fires when the user clicks to change displayed tabs.

Methods

AddTab( newTab as RibbonTab )
Adds a RibbonTab to the ribbon control.

FindTab( Text as String ) as RibbonTab
Finds a child RibbonTab by it’s text.

FireMinimize()
Causes the GraffitiRibbon class to collapse.

FireMaximize()
Causes the GraffitiRibbon class to expand.

FireRestore()
Causes the GraffitiRibbon class to restore it’s previous size.

RemoveAllTabs()
Removes all child RibbonTabs.

RemoveTab( TabIndex as Integer )
Removes a tab by it’s index.

RemoveTab( TabText as String )
Removes a tab by it’s text.

Properties

AllowAnimations as Boolean
Determines whether the control will be animated when minimizing/maximizing/restoring.

AllowAutoHide as Boolean
Determines whether the control will automatically hide when the mouse is not hovering above it.

AllowMinimize as Boolean
Determines whether the control can be minimized.

ButtonBackColor as Color
Sets the background color of buttons when the mouse is over them.

ButtonTextColor as Color
Sets the text color of buttons.

Children() as RibbonTab
Array which contains all RibbonTab children of the class.

ExpandedHeight as Integer
Sets the height of the control when it’s fully visible.

RibbonBGColor as Color
Determines the background color of the control.

SectionBGColor as Color
Determines the background color of button container sections.

SectionTextColor as Color
Determines the text color of button container sections.

SelectedTab as RibbonTab
The currently selected tab.

TabBackColor as Color
The background color of the RibbonTabs.

TabTextColor_Active
The text color of a tab when it is the currently selected tab.

TabTextColor_Inactive
The text color of a tab when it is not the currently selected tab.