Changeset 3265865
- Timestamp:
- 04/02/2025 06:39:46 PM (11 months ago)
- Location:
- caseyak/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (3 diffs)
-
caseyak.php (modified) (2 diffs)
-
public/js/mva.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
caseyak/trunk/README.txt
r3263545 r3265865 6 6 Tested up to: 6.7.2 7 7 Requires PHP: 7.0 8 Stable tag: 1. 38 Stable tag: 1.4 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 74 74 * Bug fixes & misc improvements 75 75 76 = 1.4 = 77 * Bug fixes & misc improvements 78 76 79 == Upgrade Notice == 77 80 … … 90 93 = 1.3 = 91 94 * Bug fixes & misc improvements 95 96 = 1.4 = 97 * Bug fixes & misc improvements -
caseyak/trunk/caseyak.php
r3263545 r3265865 17 17 * Plugin URI: https://caseyak.com/wordpress 18 18 * Description: The CaseYak AI Case Value Calculator. 19 * Version: 1. 319 * Version: 1.4 20 20 * Author: CaseYak 21 21 * Author URI: https://caseyak.com … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'CASEYAK_VERSION', '1. 3' );38 define( 'CASEYAK_VERSION', '1.4' ); 39 39 40 40 /** -
caseyak/trunk/public/js/mva.js
r3262449 r3265865 1466 1466 widget.innerHTML = widgetHtml; 1467 1467 document.body.appendChild(widget); // create actual widget 1468 setTimeout(() => { 1469 if (slidePosition == 'left') { 1470 widget.style.left = '10px'; 1471 } else { 1472 widget.style.right = '10px'; 1473 } 1474 }, "1000"); 1475 1468 1476 1469 1477 var yakContainer = document.createElement('div'); … … 1513 1521 }; 1514 1522 1515 var slideOutYak = function (slidePosition = 'right') {1516 // slide out yak bubble1517 setTimeout(function () {1518 if (slidePosition == 'left') {1519 document.getElementById('yakWidget-111').style.left = '10px';1520 document.getElementById('yakWidget-111').style.textAlign = 'left';1521 } else {1522 document.getElementById('yakWidget-111').style.right = '10px';1523 }1524 }, 1000);1525 };1526 1527 1523 function launchForm(slidePosition = 'right', isCondensed = false) { 1528 var yakWidget = document.getElementById('yakWidget-111'); 1529 1530 if (slidePosition == 'left') { 1531 yakWidget.style.left = '-500px'; 1532 } else { 1533 yakWidget.style.right = '-500px'; 1534 } 1535 1524 document.getElementById('yakWidget-111').style.display = 'none'; 1536 1525 document.getElementById('yakFormHeaderClose-111').style.display = 'inherit'; 1537 1526 } … … 1606 1595 } else { 1607 1596 // slide bubble onto the screen, register click handlers 1608 slideOutYak(slidePosition);1609 1597 yakWidget.addEventListener('click', event => { 1610 1598 if (event.target.id == 'yak-bubble-close-x') { … … 1614 1602 } 1615 1603 1604 yakWidget.remove(); 1605 1616 1606 if (slidePosition == 'left') { 1617 yakWidget.style.left = '-500px';1618 1607 document.getElementById('yakContainer-111').style.left = isCondensed ? '0px' : '10px'; 1619 1608 } else { 1620 yakWidget.style.right = '-500px';1621 1609 document.getElementById('yakContainer-111').style.right = isCondensed ? '0px' : '10px'; 1622 1610 }
Note: See TracChangeset
for help on using the changeset viewer.