Jamie Balfour BSc

Welcome to my personal website!

Technology enthusiast

I am very interested in technology, particularly relating to computer science. I am most interested in web design and development.

My main hobby is programming. One of my most well known products from this is ZPE. I also am the sole creator of BalfBlog, BalfBar and BalfSlider.

A little bit about me

In 1997, when I was six years of age, I got my very first computer. I was always very interested in the ins and outs of it and dismantled it to see how it worked.

Years later, in 2016 I received my BSc (with honours) in Computer Science, obtaining a First class degree.

I'd like to welcome you to my website and hope you enjoy using it as much as I have enjoyed building it!

Google Plus
Santa Hat
Me
Jamie Balfour BSc
Full stack developer

BalfBar

Welcome to the page on BalfBar.

This is the lightest weight menu I have ever built and is built with SCSS so that customisation is easy! You can enjoy this menu from my website at no cost.

My menu is designed to be similar to jQuery SmartMenus but with a different approach. My thought initially when I used SmartMenus was that it was rather large. I personally used and liked the BootStrap theme, but due to the fact that it was using all of the BootStrap library in the CSS files, I found that it was rather large and difficult to update.

I decided on the 15th of September 2015, as part of my own website restructure, I would build my own menu.

Getting started

It's so easy to get started with BalfBar now that it is fully implemented as a jQuery plugin.

First ensure you have jQuery 1.10 or later and a copy of the stylesheet:

HTML
...
<head>
    ...
    <script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
    <link href="balfbar.css" rel="stylesheet" type="text/css">
    ...
</head>
...
					

On the subject of stylesheets, I provide a compiled version of the style used on this sample page and indeed the one on my personal website, but you most likely want to compile the SCSS file so that it works better with your website.

Crucially, this is designed to be incredibly lightweight.

I think defering until the document is ready is the best way to load BalfBar, but that choice is yours. Continuing in the head element, open a new script and put the following code in it:

JavaScript
$(document).ready(function(){
    $("#menu").BalfBar({DesktopMenuType: "dropdown", MobileMenuType:"sidebar"});
});
					

Functions are bound within the plugin to specific events which will trigger automagically. There is no need for you to change any of this.

Sample

Version 1.2

In November 2017 I released version 1.2. This has modest changes to the system but it also removes quite a few things.

Firstly, logo-base is gone. No longer does BalfBar provide a hanging logo option as this can be done very easily with CSS anyway.

Secondly, I've removed the jQuery DesktopOptions and MobileOptions objects from the default options as it meant that an object with these values would need to be passed through complicating the system.

Thirdly, the fixed menu option can be set entirely from JavaScript. No longer is it limited to CSS. Also the mobile menu no longer needs to be fixed.

Finally, I added the mega menu option to the menu system. It's easy to use as all you need to do is change the DesktopMenuType value in the options to 'megamenu'.

License

BalfBar is, as with all of my projects in my Web Neutral Project, free to use. The source code is available on request, but by default, the file included is minified but non-minified source code can be given on request (I cannot be bothered updating my website with the latest each time).

Plans

I feel that BalfBar is pretty much finished now and will not need to add anything else to it. Let me know what you think in the comments.

Comments

Please do not abuse this comment system.

Site accessibility

A lot of the original functionalities that once existed here have been removed.

To use project mode, the window must be greater than 920 pixels in width.
Click here to disable Project Mode.
This site uses cookies to deliver its services, to personalise ads, to store preferences and to analyse traffic. Information about your use of this site is shared with other companies. By using this site, you agree to its use of cookies.
Contact me
Contact Jamie Balfour

Get in touch with me via this form.