Profile | download (kb/s) | upload (kb/s) | latency (ms) |
---|---|---|---|
Native | 0 | 0 | 0 |
GPRS | 50 | 20 | 500 |
56K Dial-up | 50 | 30 | 120 |
Mobile EDGE | 240 | 200 | 840 |
2G Regular | 250 | 50 | 300 |
2G Good | 450 | 150 | 150 |
3G Slow | 780 | 330 | 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FROM: https://uxdesign.cc/how-to-trap-focus-inside-modal-to-make-it-ada-compliant-6a50f9a70700 | |
// add all the elements inside modal which you want to make focusable | |
const focusableElements = | |
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'; | |
const modal = document.querySelector('#exampleModal'); // select the modal by it's id | |
const firstFocusableElement = modal.querySelectorAll(focusableElements)[0]; // get first element to be focused inside modal | |
const focusableContent = modal.querySelectorAll(focusableElements); | |
const lastFocusableElement = focusableContent[focusableContent.length - 1]; // get last element to be focused inside modal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mvt:comment> | |
Overrides if needed | |
</mvt:comment> | |
<mvt:assign name="l.run:on_cust" value="1" /> | |
<mvt:assign name="l.run:override_from" value="''" /> | |
<mvt:assign name="l.run:override_reply_to" value="''" /> | |
<mvt:assign name="l.run:override_to" value="''" /> | |
<mvt:assign name="l.run:override_cc" value="''" /> | |
<mvt:assign name="l.run:override_bcc" value="''" /> | |
<mvt:assign name="l.run:override_subject" value="''" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mvt:assign name="l.comma" value="asciichar('44')" /> | |
<mvt:assign name="l.linebreak" value="asciichar('10')" /> | |
<mvt:foreach iterator="order" array="admin_order:orders"> | |
<mvt:foreach iterator="group" array="order:groups"> | |
<mvt:comment> <!-- Build Dynamic Array --> </mvt:comment> | |
<mvt:if expr="miva_array_search( l.settings:products, 0, l.item, 'l.item:code EQ l.settings:group:code' )"> | |
<mvt:assign name="l.item:quantity" value="l.item:quantity + l.settings:group:quantity" /> | |
<mvt:assign name="l.item:subtotal" value="l.item:subtotal + l.settings:group:subtotal" /> | |
<mvt:else> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mvt:foreach iterator="order" array="admin_order:orders"> | |
<mvt:foreach iterator="coupon" array="order:coupons"> | |
<mvt:comment> | |
:code | |
:coupon_id | |
:order_id | |
:total (discount applied to order) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mvt:foreach iterator="group" array="basket:groups"> | |
<mvt:comment> <!-- Build Dynamic Array --> </mvt:comment> | |
<mvt:if expr="miva_array_search( l.settings:new_array, 0, l.item, 'l.item:code EQ l.settings:group:code' )"> | |
<mvt:assign name="l.item:quantity" value="l.item:quantity + l.settings:group:quantity" /> | |
<mvt:else> | |
<mvt:assign name="l.success" value="miva_array_insert( l.settings:new_array, l.settings:group, -1 )" /> | |
</mvt:if> | |
<mvt:comment> <!-- Build Dynamic Array --> </mvt:comment> | |
</mvt:foreach> |
Also there is a JavaScript method to pull any image you want with any dimensions:
Make a call to json.mvc with the following parameters:
Session_Type=runtime Function=Runtime_ProductImageList_Load_Product_Var iant Product_Code= Variant_ID=
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/cache/ |
NewerOlder