Skip to content

irworkshop/forbes-ranking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Forbes Chart

tl;dr

<div id="forbes"></div>
<script src="path/to/forbes.js"></script>
<script type="text/javascript">
new Forbes({ el: '#forbes' });
</script>

And everything gets loaded and rendered. Markup is injected into the page, so it will pick up the surrounding styles.

A style example:

<style type="text/css">
.forbes-ranking-table thead tr {
    background-color: orange;
}

.forbes-ranking-table tbody tr:hover,
.forbes-info h2,
.forbes-net-worth {
    color: orange;
}
</style>

Data gets pulled from this spreadsheet, via Tabletop.js. Any changes made will appear LIVE.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages