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
angular.module "test", ["ui.bootstrap"] | |
CarouselDemoCtrl = ($scope) -> | |
$scope.myInterval = 5000 | |
slides = $scope.slides = [] | |
$scope.addSlide = -> | |
newWidth = 600 + slides.length | |
slides.push | |
image: "http://placekitten.com/" + newWidth + "/300" | |
text: [ |
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
/* | |
Plugin: jQuery Parallax | |
Version 1.1.3 | |
Author: Ian Lunn | |
Twitter: @IanLunn | |
Author URL: http://www.ianlunn.co.uk/ | |
Plugin URL: http://www.ianlunn.co.uk/plugins/jquery-parallax/ | |
Dual licensed under the MIT and GPL licenses: | |
http://www.opensource.org/licenses/mit-license.php |
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
<!-- Wanelo Button --> | |
<a class="wanelo-save-button btn-share" | |
href="//wanelo.com/" | |
data-url="<?php if (!in_array(Mage::app()->getFrontController()->getAction()->getFullActionName(), array('cms_index_noRoute', 'cms_index_defaultNoRoute'))) { | |
$currentUrl = Mage::helper('core/url')->getCurrentUrl();}?>" | |
data-title="<?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?>" | |
data-image="<?php echo $this->helper('catalog/image')->init($_product, 'image')->resize(350,350)?>" | |
data-price="<?php $product_price = Mage::helper('core')->currency($_product->getFinalPrice(),true,false); | |
$product_price = str_replace(".00", "", $product_price); | |
$product_price = str_replace("$", "", $product_price); |