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
JPATH_ADMINISTRATOR |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
$(".dropdown li").on('mouseenter mouseleave', function (e) { | |
var elm = $('ul:first', this); | |
var off = elm .offset(); | |
var l = off.left; | |
var w = elm.width(); | |
var docW = $(".container").width(); | |
var isEntirelyVisible = (l+ w <= docW); | |
if ( ! isEntirelyVisible ) { |
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(document).ready(function ($) { | |
$('#navwrap nav').meanmenu({ | |
<?php if($this->params->onepage) { ?> | |
onePage: true, | |
<?php } ?> | |
meanMenuOpen: "<span class='menu-bar'><span /><span /><span /></span><span class='menu-text'>Menu</span>", | |
meanScreenWidth: '<?php echo str_replace('px','',$this->params->navcollapse);?>' | |
}); | |
}); |
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
// This is obviously an incomplete solution because | |
// any carets will load on the page and will then get removed afterwards | |
// once the dom is ready. | |
$('.parent').each(function() { | |
if($(this).find('ul').length == 0) { | |
$(this).removeClass('parent'); | |
} | |
}); |
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
<p><img class="profile" src="<a href=" alt=" />http://farm4.staticflickr.com/3267/3258492421_3e81372ec4_q.jpg" alt="Profile" /></p> | |
<h1>Charlie Parker</h1> | |
<p>Lover - Fighter - Photographer.</p> |
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
<h3 style="text-align: center;">A colourful and flexible Joomla template built on a fast framework.</h3> | |
<p style="text-align: center;">Corporation is a bright and beautiful Joomla 3+ template that is fast and lightweight out of the box. It features an awesome array of features that come standard with any of our Zen Grid Framework based themes.</p> | |
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="images/democontent/corporation-responsive.png" alt="Corporation Template" /></p> | |
<p>{zen-row} {zen-4}</p> | |
<p>{zen-rocket}{/zen-rocket}</p> | |
<h3>Super Speedy</h3> | |
<p><strong>Corporation achieves very high page speed and YSlow scores almost out of the box</strong></p> | |
<p>We built our template framework around the idea that any modern website needs to load quickly, and so with a few tweaks to the template settings and your htaccess file it's possible to achieve page speed scores in the high 80's or 90's for your website.</p> | |
<p>{/zen-4} {zen-4}</p> | |
<p>{zen-users}{/zen-users}</p> |
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 initialise() { | |
var myLatlng = new google.maps.LatLng(5.376964, 100.399383); // Add the coordinates | |
var mapOptions = { | |
zoom: 5, // The initial zoom level when your map loads (0-20) | |
zoomControl:true, // Set to true if using zoomControlOptions below, or false to remove all zoom controls. | |
zoomControlOptions: { | |
style:google.maps.ZoomControlStyle.DEFAULT // Change to SMALL to force just the + and - buttons. | |
}, | |
center: new google.maps.LatLng(48.2082, 16.3738), | |
mapTypeId: google.maps.MapTypeId.ROADMAP, // Set the type of Map |
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
<script>alert()</script> |
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
{ | |
type: 'combo', | |
ref: 'filterByStatus', | |
cls: 'filter-by-status', | |
flex: '0 0 12.5em', | |
placeholder: 'Find tasks by status', | |
clearable: true, | |
keyStrokeChangeDelay: 100, | |
triggers: { | |
filter: { |