Skip to content

Instantly share code, notes, and snippets.

View allusis's full-sized avatar
👊

Tony Montemorano allusis

👊
View GitHub Profile
@allusis
allusis / highlight-anchor.js
Created December 12, 2015 18:20
Add a highlight to an anchor when it's linked
$(document).ready(function(){
$('a[href*="#"]').click(function(){
$($(this).attr("href")).addClass("highlight").delay(10000).queue(function(next){
$(this).removeClass('highlight');
next();
});
});
});
@allusis
allusis / 1-sample-template.page
Last active November 30, 2016 22:20
Visualforce page template page and insert page
<apex:page docType="html-5.0" showHeader="false" sidebar="false" standardStylesheets="false" applyHtmlTag="false" applyBodyTag="false" >
<html dir="ltr" lang="en-US" >
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"></meta>
<!-- vfsass is the name of our static resource, replace this with your own file -->
<apex:stylesheet value="{!URLFOR($Resource.vfsass, 'css/main.css')}"/>
</head>