WebRoot/js/NFLightBox.js
(开头部分) 69KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*
[===========================================================================]
[ Copyright (c) 2009, Helori LAMBERTY ]
[ All rights reserved. ]
[ ]
[ Redistribution and use in source and binary forms, with or without ]
[ modification, are permitted provided that the following conditions ]
[ are met: ]
[ ]
[ * Redistributions of source code must retain the above copyright ]
[ notice, this list of conditions and the following disclaimer. ]
[ ]
[ * Redistributions in binary form must reproduce the above copyright ]
[ notice, this list of conditions and the following disclaimer in ]
[ the documentation and/or other materials provided with the ]
[ distribution. ]
[ ]
[ * Neither the name of NotesFor.net nor the names of its ]
[ contributors may be used to endorse or promote products derived ]
[ from this software without specific prior written permission. ]
[ ]
[ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ]
[ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ]
[ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ]
[ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ]
[ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ]
[ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ]
[ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ]
[ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ]
[ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ]
[ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE ]
[ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH ]
[ DAMAGE. ]
[===========================================================================]
*/
(function($) {
$.fn.lightBox = function(settings) {
/// <summary>
/// Init the JQuery ligntbox settings.
/// </summary>
/// <param name="settings" type="Options">
/// 1: overlayBgColor - (string) Background color to overlay; inform a hexadecimal value like: #RRGGBB. Where RR, GG, and BB are the hexadecimal values for the red, green, and blue values of the color.
/// 2: overlayOpacity - (integer) Opacity value to overlay; inform: 0.X. Where X are number from 0 to 9.
/// 3: fixedNavigation - (boolean) Boolean that informs if the navigation (next and prev button) will be fixed or not in the interface.
/// 4: imageLoading - (string) Path and the name of the loading icon image
/// 5: imageBtnPrev - (string) Path and the name of the prev button image
/// 6: imageBtnNext - (string) Path and the name of the next button image
/// 7: imageBtnClose - (string) Path and the name of the close button image
/// 8: imageBlank - (string) Path and the name of a blank image (one pixel)
/// 9: imageBtnBottomPrev - (string) Path and the name of the bottom prev button image
/// 10: imageBtnBottomNext - (string) (string) Path and the name of the bottom next button image
/// 11: imageBtnPlay - (string) Path and the name of the close button image
/// 12: imageBtnStop - (string) Path and the name of the play button image
/// 13: containerBorderSize - (integer) If you adjust the padding in the CSS for the container, #lightbox-container-image-box, you will need to update this value
/// 14: containerResizeSpeed - (integer) Specify the resize duration of container image. These number are miliseconds. 500 is default.
/// 15: txtImage - (string) Specify text "Image"
/// 16: txtOf - (string) Specify text "of"
/// 17: txtPrev - (string) Specify text "previous"
/// 18: keyToNext - (string) Specify text "next"
后面还有 1237 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
