Skip to content

Instantly share code, notes, and snippets.

View Fasani's full-sized avatar
💻
Hacktoberfest 2020!

Michael Fasani Fasani

💻
Hacktoberfest 2020!
View GitHub Profile

How to add a second scroll bar to jScrollPane

I needed to have a scroll bars at the top and bottom of my container, this is how you can do that with the jScrollPane API events.

A Pen by Michael Fasani on CodePen.

License.

@Fasani
Fasani / Simple-Backbone-WordPress-Example.html
Last active February 4, 2022 04:38
A simple Backbone WordPress Example. Using JSON API plugin. (http://wordpress.org/plugins/json-api/)
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Simple Backbone WordPress Example</title>
<link rel="stylesheet" href="base.css">
</head>
<body>
<ul id="post-list"></ul>
One of the tasks I work on daily for people is email builds. Building robust emails for a matrix of browsers, web-based mail clients and standalone clients can be a very tricky task because email clients sometimes strip out certain tags and render different elements in slightly different ways. After hours of building, testing and fixing bugs which arise due to these differences I have come up with some almost full proof ways of working with certain elements and created this list of 12 email tips which should really help you in your quest for good looking email design across all the major client enviroments.
The enviroments I concentrate on are what I consider to be the four key web-based email clients and the four key Windows and Apple Mac desktop clients:
AOL Email (IE6, IE7, Firefox, Safari, Opera)
GMail / Google Mail (IE6, IE7, Firefox, Safari, Opera)
Yahoo Mail (IE6, IE7, Firefox, Safari, Opera)
Windows Live / Hotmail (IE6, IE7, Firefox, Safari, Opera)
Lotus Notes
Mac OS X Mail
@Fasani
Fasani / Full-Width-Menu-With-Equal-Spacing.markdown
Created September 25, 2013 10:19
A Pen by Michael Fasani.

Full Width Menu With Equal Spacing

This is a full width menu with equal space, using flexbox, no support below IE10.

A Pen by Michael Fasani on CodePen.

License.