Skip to content

Instantly share code, notes, and snippets.

LekeFly

Block or report user

Report or block LekeFly

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Text Replace Mixin
// ********************
// MIXINS
// ********************
// *****
// no-svg
// modernizr adds .no-svg - this will be the fallback
@mixin no-svg {
.no-svg & { @content }
@LekeFly
LekeFly / SassMeister-input.scss
Created Dec 4, 2013 — forked from scottkellum/SassMeister-input.scss
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.10)
// ----
$base-font-size: 16px;
$small: "(min-width: 200px)";
@mixin button() {
button: styles;
View foundation3-navbar-menu.php
<?php
add_theme_support('menus');
/*
http://codex.wordpress.org/Function_Reference/register_nav_menus#Examples
*/
register_nav_menus( array(
'main-menu' => 'Main Menu' // registers the menu in the WordPress admin menu editor
) );
View gist:3146984
jQuery(document).ready(function(){
jQuery("button.flex").click(function(){
jQuery('input#sarp_period_type_id-1').prop("checked", "checked");
opConfig.reloadPrice()
SarpOptionsPrice.updateCustomOptions()
});
});
View gist:3112332
<?php
$cats = Mage::getModel('catalog/category')->load(105)->getChildrenCategories();
?>
<ul>
<a href="<?php echo $cat->getUrl() ?>"><?php echo $cat->getName() ?></a>
<?php foreach($cats as $category): ?>
<li>
<a href="<?php echo $category->getUrl() ?>"><?php echo $category->getName() ?></a>
</li>
<?php endforeach; ?>
You can’t perform that action at this time.