An open API service indexing awesome lists of open source software.

https://github.com/dbackowski/bootstrap_mac_vendor

jQuery (requires bootstrap) plugin to show vendor of mac address.
https://github.com/dbackowski/bootstrap_mac_vendor

jquery jquery-plugin mac-address vendor

Last synced: about 1 month ago
JSON representation

jQuery (requires bootstrap) plugin to show vendor of mac address.

Awesome Lists containing this project

README

          

# bootstrapMacVendor [![Build Status](https://travis-ci.org/dbackowski/bootstrap_mac_vendor.svg?branch=master)](https://travis-ci.org/dbackowski/bootstrap_mac_vendor)

jQuery (requires bootstrap) plugin to show vendor of mac address.

## Example Usage

```html
00:0A:CD:00:CC:F8
```

```javascript
$('.mac_vendor').bootstrapMacVendor();
```

Move mouse over mac address and popover with vendor data will appear:

![screenshot](https://i.imgur.com/LY79VyR.png)

```html

00:15:60:B1:AB:CB


```

```javascript
$('.mac_vendor').bootstrapMacVendor({ mac: function(event) {
return $(event).data('mac');
}
});
```

![screenshot](https://i.imgur.com/K0tIt58.png)

## Options

* title - popover title (default: 'Producent')
* noData - no data found message (default: '- brak danych -')
* mac - mac source function (default: $(this).html();)