iFishEye

by Fabio Zendhi Nagao (http://zend.lojcomm.com.br/)

iFishEye is an open source (free) javascript tool for creating a fisheye lens effect.

index:

  1. Index
  2. Abstract
  3. Examples
  4. Browser compatibility
  5. Features
  6. Usage
  7. License
  8. Download
  9. Version history
  10. Comments

abstract:

Handling a long list of contents is one of the oldest problems in browsing. Probably scrolling is the most common behavior to solve this problem, but after Mac OS X Dock another approach is becoming very popular. This is when FishEye effect comes to us, it can hold any number of items, and resizes them dynamically to fit while using magnification to clarify smaller resized items. iFishEye goal is to bring the FishEye effect into the web and provide an easy development alternative for content displaying with standard compliant XHTML and unobtrusive JavaScript.

examples:

O. Mac OSX Fisheye Dock

Mac OSX Fisheye Doc

I. display: inline, vertical-align: top, caption: bottom


II. display: block, caption: bottom


III. display: matrix, caption: {first-line: top, second-line: bottom}

browser compatibility:

iFishEye is compatible and tested in Internet Explorer, Firefox (and its mozilla friends), Opera and Safari (thanks Erik for testing it). But it should work in other browsers too... If you successfully find another compatible browser, please let me know ;)

features:

iFishEye is fully configurable. You can change any default option just initializating the class with an object in JSON. The following options are available:

how to use:

First of all, iFishEye is built over MooTools v1.1, so both libraries are required.
Get MooTools at http://mootools.net and iFisheye here.
With scripts in hands, include them between your "head" definition:

Initialize the iFishEye class:

That's it, at this rate you should be able to use iFishEye. To enable the effect for something, just add the properties class="iFishEyeImg" to the image and class="iFishEyeCaption" to the caption.

Nothing better than an example to explain a tool usage, so here is the code behind this page examples:

license:

This piece of code is is released under the Open Source MIT license, which permits you to use it and modify it in every circumstance. For more details read it below:

The MIT License

Copyright (c) 2007 Fabio Zendhi Nagao - http://zend.lojcomm.com.br

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

download:

iFishEye is available in the formats below:

version history:

05/07/2007 : Page updates

05/04/2007 : v1.002

03/21/2007 : v1.001

03/20/2007 : v1.0 - first public release

comments:

Microsoft OLE DB Provider for SQL Server error '80004005'

[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

/common/comments/list.asp, line 17

Did you like it? Disliked it? Express your feelings, leave-me a message. (Yellow fields are required)

© 2007-2009 Fabio Zendhi Nagao (nagaozen) - http://zend.lojcomm.com.br/