Introduction

This plugin allows you to create sexy hover effect for images on your page ;)


Requried: Test with following browsers: Go to:

Download

Web Access:

http://code.google.com/p/a-sexy/downloads/list
http://plugins.jquery.com/project/a-sexy

SVN Command-Line Access:

svn checkout http://a-sexy.googlecode.com/svn/trunk/ a-slideshow-read-only

[Top]

Installation

Include JavaScript library jQuery and (a)Sexy Images plugin:
<script type="text/javascript" src="/js/jquery.js?ver=1.3.2"></script>
<script type="text/javascript" src="/js/jquery.asexy.js"></script>
    
Create any content with images:
<div id="images">
        <img src="docs/images/Peach_and_Lime.jpg" alt="Peach and Lime" />
        <img src="docs/images/Rock_Chick.jpg" alt="Rock Chick" />
        <img src="docs/images/Angel.jpg" alt="Angel" />
        <img src="docs/images/More_stripes.jpg" alt="More stripes" />
</div>
    
Initialize plugin:
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
    $('#images img').asexy();
});
//]]>
</script>
    
Result:
Peach and Lime Rock Chick Angel More stripes

[Top]

Options

<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){
    $('selector img').asexy({
        width:320,
        height:240,
        left:0,       // can be 'center'
        top:0,        // can be 'center'
        zoom:true,    // zoom to size
        speed:500,    // only in ms
        opacity:0.8,  // from 0.0 to 1.0
        round:60,     // don't start new iterration for small different (for linear and zigzag functions)
        func:"linear" // available linear, zigzag, vertical, horizontal, x  
    });
});
//]]>
</script>
[Top]

Demo

[Top]

P.S

Thank to Dominic-Marco for really sexy images

Author Homepage: http://anton.shevchuk.name