2008/10/23

Some good things end, others, well...

I started this blog primarily because a friend of mine was using hers to promote her jewelery-making business. At the time she was following other hip and trendy bloggers who inspired her to look beyond her extracurricular work life and into her real life. That in turn inspired me, and well, this blog began. Shortly afterward, I recognized the usefulness of having my own blog dedicated to my work as a technical communicator, web programmer, and multimedia aficionado, and hence the idea to merge my business and personal sides was born. While I managed to move my Tablet PC Blogs pages into the new system, I didn't want to move this one. Many of the ideas I expressed here were so blogger-specific that it didn't make sense to move them elsewhere. This deep-thinking, tech-loving, writer, artist, musician, husband, father, and average joe now travels his headspace in a different world. Truly, Jake the Spud has left the building.

Labels: , , , , ,

2005/05/11

More fussin' with Blogger's mind

A friend of mine was having problems aligning inline images with space betwixt in blog posts using the blog composer. Some ideas we tossed around included:

  1. image tags one per line (in most cases should render with space betwixt)
  2. spacing out the images inline with space
  3. spacing out the images inline with  
  4.   

  5. defining inline style rules for the images
  6. setting the images in a table
  7. invisible spacer GIFs

I'm sure there are more methods to try, but most of our efforts were stripped out by blogger, namely the &nbsp; trick and the <style> temporary redefining CSS rules fix. I guess I could modify the template itself but where's the fun in that?

In practice the table allows for the content to scroll over the sidebar if necessary. Depending on desired effect, it works. I'm placing my bets that the inline style rule will work the best.

Other than that there is really nothing to report on my super-secret website project. Mac browsers actually work better at rendering certain things than PC. Unfortunately, Mac browsers under OS9 actually fall apart when loading flash movies because the flash always sits on top of all other content. Try navigating a dropdown menu behind the header bar. Eww.

Flash offers other weirdness as well, which warrants the possibility of a complete entry devoted to that.

Labels: , ,

2005/05/05

No Time Like the Present

After the last entry I really felt like turning off my computer and moving to some small rural community without electricity, running water, natural gas, or even a toilet. The non-technological hermit lifestyle became increasingly more appealing as I fought with getting a website to maintain basic functionality and appearance with minimal scripting on the two latest incarnations of IE on the Mac.

Web developers like myself hit pay dirt with the x library freely availalable from www.cross-browser.com. Michael Foster is a genius, and he gives away his code as a forum for sharing ideas, so long as any improvements or modifications to his library are also freely shared.

I should report to him the one small glitch I stumbled on while working on this project: IE/Mac 5.0 - 5.1.7 (the latest on OS9) doesn't seem to respond to the cross-browser variant of document.getElementsByTagName; or at least not when used within the function built to select all the elements by stylesheet class name. As sifting through tagname elements is probably the only DOM-based methods that all later generation browsers can handle fairly consistently, I broke down and used this method instead of the x function.

And voila: the website now has drop-down menus and rollover images, all triggered by a window.onload handler that finds elements of particular classes and assigns onmouseover and onmouseover event functions to them. Even on IE/Mac for OS9.

It's funny how Apple was so far advanced on the Mac for practically everything, including the integration of a classic OS9 interface within OSX, but IE/Mac 5.0 - 5.1 doesn't respond the same way as IE/Mac 5.2.

Next is to figure out some tricks to get Flash to display properly across platforms. Now even transparent areas block out the screen content behind them. That's not right.

The war isn't over yet.

Labels: ,

2005/04/26

Take My Mac, Please

A couple of entries below I alluded to a new project I'm on which is taxing both the Windows AND Macintosh sides of my brain, and it was really starting to make my head hurt. It's like the very notion I might not win my war against these browsers made me more determined to get it done. The browser war is hardly over, and if you think the casualties in this war are the specific browser manufacturers themselves you are sadly mistaken.

The common practice in standards-based web markup is to separate content from presentation, and to develop for the most compliant browsers first, adding hacks to fit the quirks of more rebellious browsers. That way we can use one style sheet with a couple of tweaks as opposed to a different stylesheet for each browser. However my problem was that while Mozilla Firefox and IE6 rendered my CSS/javascript code perfectly, Netscape 7 didn't. NS7 was the standard to base on, and it didn't work.

On the Mac, Safari was even worse. I had some hidden layers that appeared when you rolled your mouse over sections of the screen, but there seemed an invisible box in the middle of the screen obstructing the view when they popped up. Like what was up with that? At least ie5.2 worked not too badly. Strange, considering ie is supposed to be the rebellious middle child on all platforms.

I was just about ready to give up all hope and post a generic version of my lament to my favourite CSS forums, when in my quest to simplify my scripts I stumbled on the position: static descriptor. To this point I had only used absolute or relative. Little did I know that static is what I needed for this to work.

Armed with this new weapon, I regained my courage and waged war yet again, and with even more determination plugged in my position: static descriptors and I WAS VICTORIOUS. My CSS and javascript now worked on IE5.5 (wow), IE6, NS7, MozFF1.x, IE5.2/mac, AND Safari!

(*** BIG APPLAUSE, CHEERS, HOOTS HOLLARS, AND OTHER CELEBRATORY SOUNDS HERE ***)

But as I said earlier, the casualties in any war are rarely the leaders of the countries, but the civilians. Some (like me) who set out for battle, and others like yourself who are faced with rebuilding from the damage. The enemy wasn't aware the war was over and they lobbied yet another attack. Macintosh IE5.1 - my javscript doesn't work, and the positioning of certain elements looks plain terrible.

Well, time to suit up again...

Labels: , ,

2005/04/20

Quick & Dirty Metric Conversion

More options will come as I play with this. This was more a test of what blogger allowed me to post. I only do simple javascript-y things though, so I hope they don't lock out the little features they allow. I'm not dangerous. Honest!

Enter a value:
Select conversion:
Result:

Note: Result is calculated when you select a conversion method. If you wish to use the same conversion method on multiple conversions, click the result box for new calculation.jake the spud loads a function into browser memory

Labels: , ,

2005/04/19

A little test of Blogger's Capabilities

Okay. I tried to play a little game where I created a unit of measure converter that used javascript, and I tried to post it in a blog. Unfortunately, blogger.com is smart, and doesn't allow the <script> tag in posts. So I thought I'd get around it by writing my code inline based on user actions. Unfortunately, it couldn't post those either.

Then I realized that I may just be having difficulty with my web host mysteriously losing the ftp account I'd set up for blogger to use. We'll have to see how the support tech's experiment is going.

Note: I think this metric convertor thing is so cool, I'll give it its own blog entry. For now, enjoy this little inline javascript test:

Labels: , ,

2005/04/18

Why in the world do I stay up so late?

Today was an amazing day. Full of worship and revelation with lots of time invested in my family. After supper the computer time was mine. I found out that a css/dynamic javascript drop down menu script I hacked together doesn't work for Netscape 7. Strange, considering it worked well in Mozilla Firefox AND IE6. I was already told that it didn't work on a Mac at all, so I've got loads more work ahead of me.

Through the W3C validation pages I learned I forgot to close my </head> tag. How stupid was that? No wonder lots of browsers kakked.

So. The reminder is, I should STOP CODING WHEN I CAN BARELY KEEP MY EYES OPEN. I obviously worked too late when I hacked the parts together that I got sloppy. Of course, this rule does not apply when it comes to cleaning out my email folders or installing new blog software on my server. Those tasks can be done irrespective of my ability to see the screen clearly. Like now.

Labels: ,