Home Features Toolbar Library Forum Download Support Tutorial Manual
3. Reference
Triggers
OnBeginLoad
OnLoad
OnChange
OnActivate
OnSelect
OnFocus
OnKillFocus
OnRank
OnSave
Controls
Variables
System Variables
Global Values
Functions
Text Functions
  

OnRank Trigger

The onrank trigger is activated when the PI (Popularity Index) rank is retrieved from the server.


Syntax:

    onrank="Function(); Function2(); ..."


Remarks:

  • Typically this trigger is used to inform the toolbar that the value of the $RANK variable has changed. It enables the toolbar to update the rank display or take some kind of other action.
  • If thePI rank is disabled, the onrank trigger is also disabled.



Example:

    <xml id="toolbar">
    <toolbar caption="OnRank Example">
    <control type="static" caption="Rank: "
    onrank="SetCaption(this,'Rank: $RANK')'></control>

    </toolbar>
    </xml>


    In the above example, when the PI rank is retrieved (after navigating to a page) the control is updated.



Compatibility

    Requires ToolbarBrowser v2.4.5 and later.


See Also:

    GetRank() Function | $RANK Variable


Website Popularity Rank | Build Your Own Toolbar | Free Download | Custom Toolbars | Features | Contact Us

ToolbarBrowser is a freeware project supported by Trellian Limited. | Privacy Policy