Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

colorbox


DronENG
 Share

Recommended Posts

Спасибо отредактировал в jquery.colorbox-min.js.

 

А размер окна в файле  jquery.colorbox.js, увеличиваю 800 на 800 но размеры при просмотре фото остаются 600 на 450,  меняю в этих строках   initialWidth: "600", на  initialHeight: "450", 

Правильно ли я делаю или нет?

 

// ColorBox v1.3.19 - jQuery lightbox plugin
// © 2011 Jack Moore - jacklmoore.com
// License: http://www.opensource.org/licenses/mit-license.php
(function ($, document, window) {
var
// Default settings object.
// See http://jacklmoore.com/colorbox for details.
defaults = {
transition: "elastic",
speed: 300,
width: false,
initialWidth: "600",
innerWidth: false,
maxWidth: false,
height: false,
initialHeight: "450",
innerHeight: false,
maxHeight: false,
scalePhotos: true,
scrolling: true,
inline: false,
html: false,
iframe: false,
fastIframe: true,
photo: false,
href: false,
title: false,
rel: false,
opacity: 0.9,
preloading: true,

  • +1 1
Link to comment
Share on other sites


Остановить, закрыть, Буквы налезают друг на друга,  изменения размера box поможет? или как то подправить расстояние?

513afa84c3b7.png

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.