Skip to content
  • home
  • portfolio
  • web design journal
  • blog
    • adventure
    • san diego
    • stream
    • projects
    • website design
    • code notes

Web Dev

SASS – Something Went Wrong Reaching

January 7, 2016   |   Web Dev

Tearing my hair out, trying to figure out what’s wrong with my SASS files.  I keep get a “something went wrong reaching…”, with a long filename of sass files, none of which is helpful.  My guess is you’re probably using Visual Studio, and using Web Essentials to compile your SASS.  To solve this (at least […]

Read More

Using Handlebars Templates

December 24, 2015   |   Web Dev

 It generally takes me a few minutes to tease out the right code on the handlebars page to get everything to work, here is the essential code for setting up a handlebars template via javascript: Template Code (Html): Javascript Code: var data = {title: “Test Title”, body: “Test Body”}, source = $(“#test-template”).html(), template = Handlebars.compile(source), […]

Read More

A Simple Slideout Menu

December 18, 2015   |   Web Dev

I just wanted an easy slideout menu.  Click on a link, and the menu slides out from the left side of the screen.  Click on the link again, or somewhere else on the page, and the menu slides back in.  Here it is: HTML Code data-openwidth is the width in pixels of however wide you […]

Read More

Git Ignore a Directory

December 12, 2015   |   Web Dev

There is a folder within a project that you don’t want to be tracked with git, to do this on a windows computer: 1. In the project folder managed by git, make a new file named ‘.gitignore.’ (no quotes, but with periods at both ends — it will automatically be changed to ‘.gitignore’ 2. Add […]

Read More

Why Isn’t My SVG Image the Right Size in Internet Explorer

October 29, 2015   |   Web Dev

My svg images looked fine in the good browsers, but in Internet Explorer, they were appearing huge!  I attempted to just set the size using css in the image tag, but that didn’t work.  What actually did work, was I opened up the svg file, and added a “viewBox” value to the svg declaration, so […]

Read More

Enhancements for jPlayer Implementation

October 5, 2015   |   Web Dev

I love the jPlayer for easily being able to add modern mp3 support to web pages.  I wanted a few additional features, so I created this additional script which adds a few updated features: Adding rewind/fast-forward support Ability to toggle the volume controls on and off Ability to specify the mp3 url by setting a […]

Read More

Organizing Files for Web Projects

October 2, 2015   |   Web Dev

Historically I’ve always organized my website files pretty much based on file type. For example, I would have an images folder, and a folder for javascript files, and a folder for sass/css files (php files generally are organized fairly logically, based on what they do). It seems like this is a normal setup, and this […]

Read More

Preserving Click Events With jQuery UI

August 30, 2015   |   Web Dev

My click events weren\’t being preserved when using the jquery sortable functionality.  After dragging a list item around, elements like my checkboxes would no longer work, and not just for the element that was being dragged, but for any of the checkboxes in the entire list.  It took a bit of searching, but to get […]

Read More

Change Placeholder Text Color

July 31, 2015   |   Web Dev

Change the placeholder color of the text for input boxes in a form: ::-webkit-input-placeholder { color: #000; } :-moz-placeholder { color: #000; } ::-moz-placeholder { color: #000; } :-ms-input-placeholder { color: #000; }

Read More

Javascript define a variable if it isn’t defined currently

June 27, 2015   |   Web Dev

It seems like this comes up quite a bit.  This will create a new variable if the variable isn\’t currently defined: var myVariable = myVariable || “”; Or to define it as an array: var myVariable = myVariable || {};

Read More

Posts navigation

Older posts
Newer posts

drempd | san diego, ca


home contact

adventures san diego projects stream website design

portfolio resume san diego web design freelance web designer

custom web design responsive web design website maintenance