Skip to content

Instantly share code, notes, and snippets.

View ericalli's full-sized avatar
🎯
Focusing on @getsiimple

Eric Alli ericalli

🎯
Focusing on @getsiimple
View GitHub Profile
div#tiles ul li {
opacity: 1.0;
-moz-opacity: 1.0;
filter:alpha(opacity=100);
}
Find this:
function toggleTile(tile) {
$("div#tiles ul li").each(function() {
if($(this).attr("id") == $(tile).attr("id")) {
$(tile).stop(true, true).fadeTo("slow", 1.0);
} else {
$(this).stop(true, true).fadeTo("slow", 0.5);
}
});
[social_icons]
[social_icon site="facebook"]
[social_icon site="twitter"]
[social_icon site="flickr"]
[/social_icons]
$(document).ready(function() {
$("a[rel='dinner-menu']").trigger("click");
});
div#header .logo { margin: 0 auto 35px auto; }
div#content_wrap ul {
list-style: disc;
padding-left: 15px;
color: #7d7d7d;
line-height: 21px;
font-size: 13px;
margin-bottom: 25px;
}
[contact_form contact_email="you@youremail.com"]
<iframe width="195" height="291" src="http://www.youtube.com/embed/VIDEO_ID" frameborder="0" allowfullscreen></iframe>
Find this:
// Open all links in a new window
$("a").attr('target','_blank');
Change to this:
// Open all links in a new window
// $("a").attr('target','_blank');
Open /javascripts/fluidapp.js and find the following snippet of code:
// Main Navigation
var FluidNav = {
init: function() {
$("a[href*=#]").click(function(e) {
e.preventDefault();
if($(this).attr("href").split("#")[1]) {
FluidNav.goTo($(this).attr("href").split("#")[1]);
}