Changeset 592930
- Timestamp:
- 08/31/2012 02:38:54 PM (14 years ago)
- Location:
- runkeeper-plugin/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (1 diff)
-
runkeeper.js (modified) (1 diff)
-
runkeeper.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
runkeeper-plugin/trunk/readme.txt
r588924 r592930 32 32 == Changelog == 33 33 34 = 2.2 = 35 * Remove requirement for jQuery 36 37 = 2.1 = 38 * Only include Javascript on pages where runkeeper is used 39 34 40 = 2.0 = 35 41 * Add option to use shortcode instead of custom fields -
runkeeper-plugin/trunk/runkeeper.js
r588924 r592930 23 23 begin:function() { 24 24 if (document.getElementById('runkeeper')) { 25 items = $('#runkeeper').attr('title').split(','); 25 element = document.getElementById('runkeeper'); 26 items = element.title.split(','); 26 27 url = items[0]; 27 28 x = items[1]; 28 29 y = items[2]; 29 width = parseInt( $('#runkeeper').css('width')) + (x*-1);30 height = parseInt( $('#runkeeper').css('height')) + (y*-1);30 width = parseInt(element.style.width) + (x*-1); 31 height = parseInt(element.style.height) + (y*-1); 31 32 32 33 html = ''; -
runkeeper-plugin/trunk/runkeeper.php
r592298 r592930 5 5 Description: Insert a runkeeper preview into a post using the [runkeeper url=""] shortcode or a custom field called "runkeeper" 6 6 Author: Peter Smith 7 Version: 2. 17 Version: 2.2 8 8 Author URI: http://sandjam.co.uk 9 9 */
Note: See TracChangeset
for help on using the changeset viewer.