Changeset 784151
- Timestamp:
- 10/07/2013 07:37:12 PM (12 years ago)
- Location:
- is-circular-photo-gallery/trunk
- Files:
-
- 3 edited
-
js/iscirculargallery.js (modified) (9 diffs)
-
readme.txt (modified) (1 diff)
-
wp-iscircularphoto.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
is-circular-photo-gallery/trunk/js/iscirculargallery.js
r773504 r784151 1 1 /** 2 * IS Circular Photo Gallery 1. 02 * IS Circular Photo Gallery 1.2 3 3 * 4 4 * This provides an Polaroid style gallery plus … … 186 186 var largerimage = this.largerimg_div.childNodes.item(this.array_largerimage[x]); 187 187 188 largerimage.style.display = 'block';188 largerimage.style.display = 'block'; 189 189 largerimage.style.left =420 + 'px'; 190 190 largerimage.style.transform = 'rotate(' + 0 +'deg' + ')'; … … 238 238 // cx = this.images_width*0.8/2 * Math.cos(angle) + this.images_width*0.85/2; 239 239 // cy = this.images_width*0.8/2 * Math.sin(angle) + this.images_height*0.85/2; 240 cx = this.images_width*0.75/2 * Math.cos(angle) + this.images_width*0.8 /2;240 cx = this.images_width*0.75/2 * Math.cos(angle) + this.images_width*0.83/2; 241 241 cy = this.images_width*0.75/2 * Math.sin(angle) + this.images_height*0.85/2; 242 242 angle += increase;} … … 291 291 // largerimage.style.left =this.images_width*0.67 + 'px'; 292 292 if (this.images_width<this.images_height) { 293 largerimage.style.left =this.images_left + this.images_width*0. 65/2 + 'px';}293 largerimage.style.left =this.images_left + this.images_width*0.7/2 + 'px';} 294 294 else{ 295 295 largerimage.style.left =this.images_left + this.images_width*0.73/2 + 'px';} … … 353 353 // largerimage.style.top =this.imageflow2_div.offsetHeight + 'px'; 354 354 if (this.images_width<this.images_height) { 355 largerimage.style.top =this.images_top + this.images_height*0.8 8/2 + 'px';}355 largerimage.style.top =this.images_top + this.images_height*0.83/2 + 'px';} 356 356 else{ 357 357 largerimage.style.top =this.images_top + this.images_height*0.76/2 + 'px';} … … 498 498 //this.caption_div.style.marginTop = -this.images_height*0.375 + 'px'; 499 499 if (this.images_width<this.images_height) { 500 this.caption_div.style.top =this.images_top + this.images_height*0.8 5/2 + 152 + 'px';}500 this.caption_div.style.top =this.images_top + this.images_height*0.8/2 + 152 + 'px';} 501 501 else { 502 502 this.caption_div.style.top =this.images_top + this.images_height*0.72/2 + 152 + 'px'; … … 507 507 // this.caption_div.style.left=this.images_top + this.images_height*0.75/2 + 'px'; 508 508 if (this.images_width<this.images_height) { 509 this.caption_div.style.left = this.images_left + this.images_width*0. 65/2 + 'px';}509 this.caption_div.style.left = this.images_left + this.images_width*0.7/2 + 'px';} 510 510 else{ 511 511 this.caption_div.style.left = this.images_left + this.images_width*0.73/2 + 'px';} … … 599 599 /* Set image cursor type */ 600 600 image.style.cursor = this.conf_ifp_images_cursor; 601 602 /* Set ondblclick event - largerimage */ 603 largerimage.url = image.getAttribute('data-link'); 604 if (largerimage.getAttribute("data-style") && (image.getAttribute("data-style") == 'iscp_lightbox')) { 605 largerimage.setAttribute("title",image.getAttribute('alt')); 606 607 largerimage.ondblclick = function () { thisObject.conf_autorotate = 'off'; thisObject.showTop(this);return false; } 608 } else if (this.conf_samewindow) { 609 largerimage.ondblclick = function() { window.location = this.url; } 610 } else { 611 largerimage.ondblclick = function() { window.open (this.url); } 612 } 613 /* Set image cursor type */ 614 largerimage.style.cursor = this.conf_ifp_images_cursor; 615 601 616 602 617 i++; … … 640 655 objBody.appendChild(objOverlay); 641 656 jQuery("#"+thisObject.ifp_overlaydiv).fadeTo("fast", .7); 657 642 658 643 659 /* -- top box div */ -
is-circular-photo-gallery/trunk/readme.txt
r773504 r784151 72 72 73 73 == Changelog == 74 Version 1.2 (October 07, 2013) 75 76 * Large / central image lightbox popups on double click 74 77 75 78 Version 1.1 (September 16, 2013) -
is-circular-photo-gallery/trunk/wp-iscircularphoto.php
r773504 r784151 4 4 Plugin URI: http://www.polaroidgallery.hostoi.com 5 5 Description: WordPress implementation of the circular picture gallery. 6 Version: 1. 16 Version: 1.2 7 7 Author: I. Savkovic 8 8 Author URI: http://www.polaroidgallery.hostoi.com
Note: See TracChangeset
for help on using the changeset viewer.