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

javascript

Slide a Div Up From the Bottom of the Page

April 8, 2015   |   Web Dev

Sliding down/up from an element is easy, but I had a menu at the bottom of the page, and I wanted a hidden menu to slide up from the bottom of the page, encompass the whole page, and then slide back down when it was time for it to hide.  I tried quite a bit of stuff […]

Read More

Only Include jQuery if it Hasn’t Already Been Included

March 23, 2015   |   Web Dev

If jQuery gets included twice, things break.  Because of various nested documents with server-side scripts, I encountered a few situations were jQuery would occassionally be included twice.  To check, and make sure to only include it once, you can use the following:

Read More

Showing HTML Code on a Web Page

January 31, 2015   |   Web Dev

There is obviously a need a site like this to show HTML code within a blog post.  Recently the need for this functionality also arose at work, so I decided to put together a quick script to make the task easier.  This will scan for a tag with the class of code (ideally a ‘pre’ […]

Read More

A Super Simple jQuery Fading Slideshow

January 2, 2015   |   Web Dev

I usually end up doing a search about every month for a nice slideshow script that fades between the various slides, provides some functionality for the user to jump to a specific slide, and that\’s about it. It doesn\’t have to do crazy transitions or bring out the razzle and dazzle, it just needs to […]

Read More

Namespacing in Javascript

April 1, 2014   |   Web Dev

So the other night I was working on some fancy script. It didn’t work. After a bit of investigation, it turns out that one of the function names was already being used by a different function. Bummer. Of course this is why people use namespacing, to avoid problems such as this. So, here’s how to […]

Read More

Posts navigation

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