FitPhoto Developer Documentation

Flash basic example

Example

Javascript Code

window.onload = function()
{
    FitPhoto.create('myFitPhoto',{width:315});
    
    $('#frames img').click(
        function()
        {
            $('#frames img').removeClass('selected');
            $(this).addClass('selected');
            FitPhoto.tryOn($(this).attr('rel'));
        }
    );
}