/* ------------------------------------------------------------------- * * Author: Blupixel IT Srl * Last Modifcation Date: 12nd June 2012 * Website: www.blupixelit.eu * support at: webmaster@blupixelit.eu * * Copyright (c) 2012 Blupixel IT Srl - Trento (Italy) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * ----------------------------------------------------------------- */ bITResize has been created by Blupixel IT Srl and is realeased under the GPL License. bITResize provide a function that if applied to one or more images resize them to fullscreen and changing dimensions when user resize his browser window. It Requires jQuery! How To Use: Unpack it and copy the folder in some path of the website. Then Include the scripts jquery and bITResize in the header of the page. Example: Then activate it calling the function on the selected image: - simply call the function name: $('#myimage').bITResize(); - or use additional params: $('#myimage').bITResize({minWidth: 930, heightAdjust: -200}); Possible Parameters are: - minWidth: positive number is the minimum width in pixel for the image (use 0 to disable) - minHeight: positive number is the minimum height in pixel for the image (use 0 to disable) - heightAdjust: positive or negative number is the height in pixel to add or remove from the window size - widthAdjust: positive or negative number is the width in pixel to add or remove from the window size - fixed: boolean enable or disable fixed positioning of the image