# OPENTOPN

Use variables, on-load, and on-data-change scripts to open the TopN interface without requiring access to the toolbar.

### Syntax

```javascript
OPENTOPN()
```

### Example

Create a button variable to call the OPENTOPN function

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fd0dCIK6ESWdqC1qNGl3Q%2Fimage.png?alt=media&#x26;token=99d015e0-106e-42d8-b8de-f6d3e26a7655" alt=""><figcaption><p>Button variable to call the OPENTOPN function</p></figcaption></figure>

Users can click the TopN button variable and need not use the toolbar to rank their data.

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2Fd4muqERVTk5CMtBALZim%2FUntitled%20Project.gif?alt=media&#x26;token=b388cc40-ceef-4d62-9b3f-747bc083ae16" alt=""><figcaption><p>OPENTOPN</p></figcaption></figure>
