Web Development

Currently Browsing Category 'Web Development'

QueryString in JavaScript

by Captain Database on Nov 11th in JavaScript, Regex, Web Development

Here’s a simple one: you want to access the querystring via JavaScript. It seems like it should be so easy to do, but unfortunately, it’s not. In fact, doing it well can require some pretty heavy lifting depending on your algorithm. Well, I figured out a pretty easy way to do it with regular expressions [...]

Web Application Icons (Favicon 2.0)

by Captain Database on Oct 1st in HTML5

These days, it’s becoming more and more common to deploy a solution as a web application. I’m not a huge fan of buzz word proliferation, but I won’t fault you for saying cloud-based apps (just keep it within reason). Anyhow, the differences in platform capabilities between web apps and native apps is growing increasingly thin, [...]

Option Helpers for Chrome Apps & Extensions

by Captain Database on Sep 13th in Chrome Apps/Extensions, Web Development

I always find it funny how writing an app or extension for Chrome is so easy to start, but so hard to finish. Why is it that loading/editing/saving options is as much work as the features those options control? Kind of a pain. Well, in the extension I’m currently working on [mysterious foreshadowing], I wrote [...]

Toast Notifications Using jQuery

by Captain Database on Sep 6th in Mobile, Web Development

So there are often times when we need a quick UI cue to let the user know something. “Hey, you know that button you clicked? Well I took care of it. Just thought you should know. Stay Cool. Cheers, Your Browser.” You get the idea. Often times, a toast can be a great way of [...]

Upgrading to jQuery Mobile Beta 1

by Captain Database on Jul 18th in Mobile

So the jQuery Mobile Beta 1 has been out for a little while, but there are a couple gotchas I ran into when implementing it. First of all, this may sound obvious, but remember to upgrade to the appropriate version of jQuery as well (I used 1.6.2 to correct my issues). I hadn’t realized that [...]

Auto Ellipsis in JavaScript

by Captain Database on Sep 3rd in Web Development

The other day, I had a request I’ve never had before: we want two elements with different widths and dynamic content to have identical height and have any content that gets cut off be denoted with an ellipsis. OK, on the surface, this doesn’t sound so bad — but wait, how are we going to [...]

Multiple Versions of IE

by Captain Database on Jan 6th in Web Development

Internet Explorer… it doesn’t listen to you, it breaks your pages, and it even takes the time to break it in different ways depending on what version of it you use… but you still have to deal with it. Well, that sucks. I’ll give you a little time to accept that and get over it. [...]

ViewState Properties

by Captain Database on Dec 5th in ASP.NET, C#

If you do much control creation in ASP.NET, you’ve surely had more than your fill of defining ViewState-bound properties. Yes, it’s nice that Visual Studio provides you with a pretty nice default handler, but still, it requires a little too much customization per property. This is a simple task, and personally, I don’t want to [...]

Powered By Wordpress Designed By Ridgey