Build a Fisheye menu from a list of links.
Options:
items | String | mandatory | items selection |
container | String | mandatory | container element |
itemWidth | Integer | mandatory | the minimum width for each item |
maxWidth | Integer | mandatory | the maximum width for each item |
itemsText | String | mandatory | selection of element that contains the text for each item |
proximity | Integer | mandatory | the distance from element that makes item to interact |
valign | String | mandatory | vertical alignment |
halign | String | mandatory | horizontal alignment |
Code sample:
$('#fisheye').Fisheye( { maxWidth: 50, items: 'a', itemsText: 'span', container: '.fisheyeContainter', itemWidth: 40, proximity: 90, halign : 'center' } )