Changeset 827601
- Timestamp:
- 12/23/2013 06:44:30 PM (12 years ago)
- Location:
- is-circular-photo-gallery/trunk
- Files:
-
- 3 edited
-
js/iscirculargallery.js (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
-
wp-iscircularphoto.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
is-circular-photo-gallery/trunk/js/iscirculargallery.js
r826253 r827601 1 1 /** 2 * IS Circular Photo Gallery 1. 62 * IS Circular Photo Gallery 1.7 3 3 * 4 4 * This provides an Polaroid style gallery plus … … 351 351 largerimage.style.WebkitBorderRadius = 0 + 'px'; 352 352 353 var isChrome = !!window.chrome; 354 355 if (isChrome = 'true') { 356 357 if (this.images_width<this.images_height) { 353 if (this.images_width<this.images_height) { 358 354 359 355 largerimage.style.top =this.images_top + this.images_height/2 - parseFloat(largerimage.style.height)/2 - 2 * parseFloat(this.largerimg_div.style.borderWidth) - 6 + 'px'; 360 356 } 361 else {357 else { 362 358 363 359 largerimage.style.top =this.images_top + this.images_height/2 - parseFloat(largerimage.style.height)/2 - 2 * parseFloat(this.largerimg_div.style.borderWidth) - 6 + 'px'; 364 } 365 } 366 367 else { 368 369 if (this.conf_nocaptions = 'true') { 370 371 if (this.images_width<this.images_height) { 372 373 largerimage.style.top =this.images_top + this.images_height/2 - parseFloat(largerimage.style.height)/2 - 2 * parseFloat(this.largerimg_div.style.borderWidth) - 6 + 'px'; 374 } 375 else{ 376 377 largerimage.style.top =this.images_top + this.images_height/2 - parseFloat(largerimage.style.height)/2 - 2 * parseFloat(this.largerimg_div.style.borderWidth) - 6 + 'px'; 378 } 379 } 380 else { 381 382 if (this.images_width<this.images_height) { 383 384 largerimage.style.top =this.images_top + this.images_height/2 - parseFloat(largerimage.style.height)/2 - 4 * parseFloat(this.largerimg_div.style.borderWidth) + 2 + 'px'; 385 } 386 else{ 387 388 largerimage.style.top =this.images_top + this.images_height/2 - parseFloat(largerimage.style.height)/2 - 4 * parseFloat(this.largerimg_div.style.borderWidth) + 2 + 'px'; 389 } 390 } 391 392 } 360 } 361 362 363 364 365 366 if(typeof window.orientation !== 'undefined'){ 367 largerimage.style.top =this.images_top + this.images_height/2 - parseFloat(largerimage.style.height)/2 - 2 * parseFloat(this.largerimg_div.style.borderWidth) + 30 + 'px'; 368 369 } 370 371 372 373 if(window.innerWidth <= 640 && window.innerHeight <= 966) { 374 largerimage.style.top =this.images_top + this.images_height/2 - parseFloat(largerimage.style.height)/2 - 2 * parseFloat(this.largerimg_div.style.borderWidth) + 30 + 'px'; 375 376 } else { 377 largerimage.style.top =this.images_top + this.images_height/2 - parseFloat(largerimage.style.height)/2 - 2 * parseFloat(this.largerimg_div.style.borderWidth) - 6 + 'px'; 378 379 } 380 381 382 383 393 384 394 385 largerimage.style.borderColor = this.largerimg_div.style.borderColor; … … 537 528 538 529 this.caption_div.style.borderWidth=this.largerimg_div.style.borderWidth; 539 540 541 if (this.images_width<this.images_height) { 542 543 this.caption_div.style.top =this.images_top + this.images_height/2 + parseFloat(this.caption_div.style.width)/2 + parseFloat(this.caption_div.style.borderWidth) - 4 * parseFloat(this.largerimg_div.style.borderWidth) - 5 + 'px'; 544 } 545 else { 546 547 this.caption_div.style.top =this.images_top + this.images_height/2 + parseFloat(this.caption_div.style.width)/2 + parseFloat(this.caption_div.style.borderWidth) - 4 * parseFloat(this.largerimg_div.style.borderWidth) - 5 + 'px'; 548 } 530 531 532 if(window.innerWidth <= 640 && window.innerHeight <= 966) { 533 this.caption_div.style.top =this.images_top + this.images_height/2 + parseFloat(this.caption_div.style.width)/2 + parseFloat(this.caption_div.style.borderWidth) - 4 * parseFloat(this.largerimg_div.style.borderWidth) + 35 + 'px'; 534 535 } 536 else { 537 this.caption_div.style.top =this.images_top + this.images_height/2 + parseFloat(this.caption_div.style.width)/2 + parseFloat(this.caption_div.style.borderWidth) - 4 * parseFloat(this.largerimg_div.style.borderWidth) - 5 + 'px'; 538 539 } 540 541 542 549 543 550 544 if (this.images_width<this.images_height) { -
is-circular-photo-gallery/trunk/readme.txt
r826253 r827601 73 73 == Changelog == 74 74 75 Version 1.7 (December 23, 2013) 76 77 * Display better on mobile devices 78 75 79 Version 1.6 (December 20, 2013) 76 80 -
is-circular-photo-gallery/trunk/wp-iscircularphoto.php
r826253 r827601 4 4 Plugin URI: http://www.polaroidgallery.hostoi.com 5 5 Description: WordPress implementation of the circular picture gallery. 6 Version: 1. 66 Version: 1.7 7 7 Author: I. Savkovic 8 8 Author URI: http://www.polaroidgallery.hostoi.com
Note: See TracChangeset
for help on using the changeset viewer.