You are currently looking at the Updated Mini Slide Navigation post which was published on Friday, October 10th, 2008 at 8:59 PM.

This is Stephen Clark's website. It is coming to you live from New Jersey USA. This is essentially a digital outlet for him to share his thoughts, perspective and interests. It is also where he talks a bit too much about his beloved Boston Red Sox. This site looks best in Firefox. If you are not using it, you are missing out.

Ads

Updated Mini Slide Navigation


So I’ve finally gotten around to “officially” updating the Mini Slide Navigation mashup that I did two and a half years ago. When I created the mash up back then, I was just hacking around and was completely un-prepared for the attention and positive accolades that this idea received. What was really cool was that two people – Rob Glazebrook and Brian McAllister – built on the work I did and made the navigation even better by making the page locator “snap back” to the page you are currently on.

So this time, I’ve taken what Rob and Brian did, and built on top of that. With my new version, I’ve incorporated some PHP into the mix, to enable the navigation be an used as a “virtual include” on your site, so you to centrally manage the navigation and have one change/addition cascade throughout the whole site. Through PHP, I’ve also enabled the navigation to indicate the proper area of the site two directories deep, and realistically, it could handle more if needed.

So go on over to the demo page and check it out. One note: I’m still learning PHP, so if the method that I used is way too novice or considered a pseudo-hack, please be gentle with me.

October 10th, 2008  •  View Comments  •   • 



Ads
  • MarcusT

    Nice script, but I can’t for the life of me work out how to make the nav strip centered instead of left-aligned… can you shed any light on this? Thanks!

  • MarcusT

    Nice script, but I can’t for the life of me work out how to make the nav strip centered instead of left-aligned… can you shed any light on this? Thanks!

  • http://www.sgclark.com Stephen Clark

    Check out Brian McAllister’s demo from a year or two ago when he made some improvements to the original mash up I did. He did a centered version of the navigation.

  • http://www.sgclark.com Stephen Clark

    Check out Brian McAllister’s demo from a year or two ago when he made some improvements to the original mash up I did. He did a centered version of the navigation.

blog comments powered by Disqus