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/24

We Walk By Faith And Not By Sight

I'm growing more aware of what 2 Cor 5:7 says to me. About this time last year it felt like in all my praying God kept silent. But my Jesus is faithful. I continued to press in even though it felt He was ignoring me and He showed up. Now when I pray I sense His loving presence right here with me.

Labels: ,

2005/04/21

I'm Gonna Be In Pictures

Well... has this ever been an eventful year so far! And it's only just beginning. I was commenting that I can't believe it's already the end of April, but wow. Not only do I find myself in the middle of a web project that is taxing every cell of both sides of my brain (Windows AND Macintosh) but at my day job I was asked to join three of my co-workers as staff trainers, teaching end users how to order goods on our new ordering system.

So on the day we went to be trained as trainers, a guy in communications snapped a few pics of the session. Because of intellectual property rules their department needs to obtain model releases for all photos depicting specific individuals. This brings a flurry of emotions.

On the one hand, the I-type in me feels a sense of gratification that I am in one of the selected photos for the article being printed about the trainers. On the other hand, I was mortified to see how fat I look in print. Fortunately, the D-type in me gets over this stuff relatively quickly, so this entry is much ado about nothing.

For more information, check out the following links:

In addition to the disclaimer in the sidebar, I am not affiliated with Crown Financial, though I have followed their daily radio broadcasts since they merged with Christian Finanical Concepts. I was really surprised that I didn't hear of Larry Burkett's death in 2003, and that I had to find it on a website while searching for these links.

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: , ,

...And yet I can't turn away...

OK. I admit it. I'm addicted to coffee from Starbucks. (funny how their name wasn't in my phone's dictionary. I'll have to add it). If you're in a generous mood I only drink toffee-nut long americanos with room for cream. Usually large sizes. Ha! Beat the line today.

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: ,

2005/04/17

Delight yourself also in the Lord, and

He shall give you the desires of your heart. (Psalm 37:4) - I always thought that meant as I fell in love with Jesus He would make all my dreams come true. Today through Pastor Cheryl God showed me He first must replace those dreams and desires with His, and then He moves to make them happen.

Labels: , ,

And God created them male and e-mail

This blogging thing is too cool. The day after I set up my first blog site, the server went down. Blogger.com were fixing a bunch of things and it caused some server glitches. Now they've fixed it, and I even got a personal response to my support request about emailing blogs. So... let's see if their little helper trick worked. Because, well, I'm male. Males like toys. Email is a toy. To be able to email and have my writing posted immediately is a very male-thing to do.

Edit after the post: Yep. It worked, but the line breaks looked really funny. I'll have to reconfigure the emails to work with it

Labels:

2005/04/14

Sweet Serenity

I am so proud of myself. After the last 7 months in our Celebrate Recovery program I finally got the idea to commit the entire Serenity Prayer to memory. Not the 4-line version. Not the version extended with the gruesome "stash the bodies" talk. The real one, that in all its simplicity expresses profound truth unlike any other text.

God, grant me the serenity to accept the things that I cannot change, the courage to change the things I can and the wisdom to know the difference. Living one day at a time, enjoying one moment at a time, accepting hardship as a pathway to peace. Taking, as Jesus did, this sinful world as it is and not as I would have it.

Trusting that You will make all things right if I surrender to Your will, so that I may be reasonably happy in this life and supremely happy with You forever in the next. Amen.

Usually attributed to Reinhold Neibuhr (1926), but this site explains how Neibuhr came across the quote.

As I write these words I am reminded that with each day comes the freedom to make sense out of the chaos of yesterday. Why should I wait on tomorrow? Today's as good a day as any.

Labels: , , ,