Baltimore Field Hockey Association

Screen shot of Baltimore Field Hockey Association website

The Baltimore Field Hockey Association site was a fun one. The site itself was not done for any company but the designer was my boss (she hates that term) as the designer and the client was the VP of The Berndt Group, who happens to be in the league. This site really would have worked well in a Content Management System but unfortunately due a small budget it wound up being an all HTML site that used virtual includes to handle navigation.

Since this site was not dynamic I needed to create a way to show the correct section in the left as active without the person handling the content entry needing to set classes manually every page. I wrote a little JavaScript that allowed the person doing content entry to call a function and then pass in the position of what needs to be active. Looking back this was a bad solution to the problem at hand. I should have written a function that looked at the URL structure and set the active states automatically with no need for user input. I did eventually write this functionality for the American Visionary Arts Museum website which I coded a year or so later.