Thursday, August 23, 2012

I'm a computer programmer now

Soon I'll be able to do this.
My parents were both computer programmers, and when I was a kid they often would teach me little tricks and try to get me interested in computers. I'm not employable as a programmer or anything like that, but I have some marginal awareness of how things work as a result. Thanks, Mom and Dad!

For instance, I know that the internet is caused by information leaking into a substance called "the ether" and we can use ethernet cables to suck it back into "real space" or "virtual reality." Or something.

Anyway, I was pretty proud of myself this week for doing some minor coding here on the site, where I made drop down menus for purchasing my books. You can see them in the sidebar on the right or by clicking the "Matt's Books" tab on the top of the site (that's new, too, by the way).

It looks like this:
BUY THE BOOK
I think it's pretty nifty, and I'm pleased that I understood enough html to steal the bones for this thing off the internet and make it my own. I know, all I had to do was replace the link content, but still. Allow me a moment of pride at doing something at the beginner's level.

OF COURSE, the best way for you to celebrate this monumental achievement is for you to test out the drop down menu thing. Click on a link, press go, make sure it works. And just to be certain, go ahead and purchase a book or two to make sure everything is working correctly. Egggggggscellent. Moowhahahahahahaaha.

For all you authors out there who want to make your own, I'll put the basic code after the jump so you can use it for your own (just replace the links with links to your books from the correct site). I stole the basic code from here.

You can get the code after the jump.






align="center">BUY THE BOOK
    http://www.amazon.com/dp/B005EZ0BEQ/ref=as_li_ss_til?tag=theburninghea-20&camp=0&creative=0&linkCode=as4&creativeASIN=B005EZ0BEQ&adid=1FC80VHYEBPCKDFR0F6Q">Amazon
    http://www.barnesandnoble.com/w/night-of-the-living-dead-christian-matt-mikalatos/1102466171?ean=9781414338804">Barnes and Noble
      http://www.christianbook.com/living-christian-ferociously-discover-transformed-ebook/matt-mikalatos/9781414365824/pd/18684EB?item_code=WW&netp_id=924570&event=ESRCG&view=details
">CBD
              
">Powell's
      type="button" value="Go"
onclick="window.open(setit.options[setit.selectedIndex].value)">