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>Define JSON holding variable</mvt:comment> | |
<mvt:assign name="l.settings:json" value="''" /> | |
<mvt:comment>Define URL Variable</mvt:comment> | |
<mvt:assign name="g.url" value="'http://example.com/'" /> | |
<mvt:comment>Call `g.url` and Concatenate `s.callvalue` into `l.settings:json`</mvt:comment> | |
<mvt:call action="g.url" method="'GET'"> | |
<mvt:assign name="l.settings:json" value="l.settings:json $ s.callvalue" /> | |
</mvt:call> |
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
Add the following on the right side of your product display layout area (aka where the price is) | |
<div id="zoom-hold" class="zoom-hold" style="display: none;"><div class="inner"></div></div> |
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
// ---------------------------------------------------------- | |
// A short snippet for detecting versions of IE in JavaScript | |
// without resorting to user-agent sniffing | |
// ---------------------------------------------------------- | |
// If you're not in IE (or IE version is less than 5) then: | |
// ie === undefined | |
// If you're in IE (>=5) then you can determine which version: | |
// ie === 7; // IE7 | |
// Thus, to detect IE: | |
// if (ie) {} |
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
$(function() { | |
var t = $('#thetable tbody').eq(0); | |
var r = t.find('tr'); | |
var cols= r.length; | |
var rows= r.eq(0).find('td').length; | |
var cell, next, tem, i = 0; | |
var tb= $('<tbody></tbody>'); | |
while(i<rows){ | |
cell= 0; |
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
/* bling.js */ | |
window.$ = document.querySelectorAll.bind(document); | |
Node.prototype.on = window.on = function (name, fn) { | |
this.addEventListener(name, fn); | |
} | |
NodeList.prototype.__proto__ = Array.prototype; |
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
// Examples of pure functions. No side effects. No mutations. | |
function square(x) { | |
return x * x; | |
} | |
function squareAll(items) { | |
return items.map(square); | |
} | |
// Examples of impure functions. |
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:if expr="l.settings:MYITERATORHERE_CHANGEME:link_type EQ 'P'"> | |
<mvt:do name="l.settings:MYITERATORHERE_CHANGEME:loadprod" file="g.Module_Library_DB" value="Product_Load_Code(l.settings:MYITERATORHERE_CHANGEME:link_dest, l.settings:MYITERATORHERE_CHANGEME:product) " /> | |
<mvt:do file="g.Module_Feature_URI_UT" name="l.settings:MYITERATORHERE_CHANGEME:link" value="Store_Product_URL(l.settings:MYITERATORHERE_CHANGEME:product NULL)" /> | |
<mvt:elseif expr="l.settings:MYITERATORHERE_CHANGEME:link_type EQ 'C'"> | |
<mvt:do name="l.settings:MYITERATORHERE_CHANGEME:loadcat" file="g.Module_Library_DB" value="Category_Load_Code(l.settings:MYITERATORHERE_CHANGEME:link_dest, l.settings:MYITERATORHERE_CHANGEME:category) " /> | |
<mvt:do file="g.Module_Feature_URI_UT" name="l.settings:MYITERATORHERE_CHANGEME:link" value="Store_Category_URL(l.settings:MYITERATORHERE_CHANGEME:category NULL)" /> | |
<mvt:elseif expr="l.settings:MYITERATORHERE_CHANGEME:link_type EQ 'G'"> | |
<mvt:do name="l.settings:MYITERATORHERE_CHANGEME:loadpage" file= |
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
/* jQuery Tiny Pub/Sub - v0.7 - 10/27/2011 | |
* http://benalman.com/ | |
* https://github.com/cowboy/jquery-tiny-pubsub | |
* Copyright (c) 2011 "Cowboy" Ben Alman; Licensed MIT, GPL */ | |
(function($) { | |
var o = $({}); | |
$.subscribe = function() { |
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
/** | |
* Fluid typography between a min & max font-size and molten leading | |
* calc(minSize + (maxSize - minSize) * ((100vw - minPort) / (maxPort - minPort))); | |
*/ | |
:root { | |
font-size: 100%; | |
} | |
body { | |
font-size: 1em; |
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/ |
OlderNewer