Facebook Friends

I got a facebook friend request the other day, and I’m trying to decide how to handle it.  For those that know me and my family, you will know who this is.  For the rest of you, I’ve removed the names to “protect the not-so-innocent”

The request came with the following text:

You told me once it wouldnt matter if [Sister's name] and I got divorc. we would always be friends….I hope the best for [Sister's name] and you. Just sending a request and if you accept would be great to have you as a FB friend.

To which I have started to pen a reply.  I haven’t sent it yet and I don’t know if I will.

I also remember (as a boy of 14 or 15) telling you that if you ever hurt my sister I’d kill you.  I’m beyond that and I realize that it wouldn’t serve any real purpose.  That, and my sister can take care of herself, she’s a strong person even if she doesn’t know it at times.

I do however take a very strong stand about my parents. “Borrowing” a chainsaw that you *GAVE* to my dad and then selling it.  Writing a check that could *never* be cashed and to top it off trying to write it out for “a little bit extra” so you could have cash in your pocket.

Well, those are just two things of the things I know about and my parents do not deserve that kind of treatment.  Now it’s obvious that mom and dad can take care of themselves. Dad didn’t need the chainsaw, he already has one.  And, on top of that he has sons that would come over in an instant with chainsaws in hand to do any work needed to be done.

The check, well, while mom and dad aren’t living a life of luxury, that check wasn’t needed for their survival.  They have enough money to buy what they need and if it came down to it, they’ve got six of us that would do everything in our power to provide for them if needed.

What is needed is the feeling that when someone tells them something that they are truthful about it.  That when someone borrows a chainsaw it will be returned.  That when someone writes them a check out, that they can go to the bank and cash it.  Not get a story about how it will “be there next week” or “be there in two days”.

So you claim someone screwed up.  Fine, but you shouldn’t have written a check when the money wasn’t there and you certainly shouldn’t have sold something that wasn’t yours.

As with all things, time changes things.  I had friends that I thought I’d never part with, people that would always be in my life.  But as life takes us in different directions and different paths there are times when you must say goodbye to those friends.  Be it that they are living a life that is different from your goals or have simply moved away and you’ve lost contact with over time.

So I said we’d always be friends.  I also said I’d kill you if you ever hurt my sister.  Some things are said without knowing what the future holds and people change.

I’ve got to say, it feels rather therapeutic to put this out there.

Posted in friend or foe, misc, Rants | Comments Off

CSS Genius at work.

And no, it’s not me.  Someone sent me a link to Matthew James Taylor’s “Equal Height Columns with Cross Browser CSS” post.  It’s a really smooth way to get equal height columns with different backgrounds working smoothly.

Since reading this first post, I’ve spent several hours reading through what he has on his site; some if it’s quite ingenious and I must say I’m quite jealous that I haven’t come up with some of the ideas myself.  And the best part of it all, it’s all there for download and use… not that an intelligent person could scrape the CSS and HTML to replicate what he’s doing anyhow, but it’s nice to know he’s willing to share.  So I encourage to go off and learn, be inspired.  I know I’m inspired and looking at doing a redesign based off of what I’ve read so far.  My hat’s off to you Matthew James Taylor.

Posted in CSS, HTML, Technology | Tagged , | Comments Off

Ah, the power of JavaScript

I was asked about creating a javascript that would place an image on a page based on the day of the week. Easy enough right? Well, it took some tinkering, but here it is (http://www.servergoon.com/samples/dow/). For this demonstration I created eight images, each with the number 0 – 7. However, since the javascript Date Object returns 0 – 6, you will never see the 7.

The code for this is relatively simple, as you can see if you look at the source for this file. In the head I’ve preloaded the image, which, from what I can tell is necessary. Second I’ve got all of the files I want and named them the same, with the exception of the digit indicating the Day of the Week. Hence the DOW (stands for Day Of Week) for the name followed by a digit followed by .jpg. This is so I don’t have to write out 8 (or 31 if you were ambitious enough to do this for each Day Of the Month) individual lines (actually it would be more like 16 lines). It also makes the code to replace the image much easier and shorter to write as well.

The JavaScript in the head of the document looks like:

<SCRIPT language="JavaScript">
<!--
if (document.images)
{
	document.pics = new Array();
	for (j=0; j<8; j++) {
		document.pics[j] = new Image;
		var imageName = "DOW" + j + ".jpg";
		document.pics[j].src = imageName;
	}
}

//-->
</SCRIPT>

The code for the image is below, notice the ID tag, this is VERY important.  Notice that there is no source file, so no image is loaded by default

<img id="DayOfWeek" src="" height="50px" width="50px" border="1"/>
<img id="DayOfWeek2" src="" height="50px" width="50px" border="1"/>

And finally, the code to replace the images in the HTML code.

<script type="text/javascript">
   var myDate = new Date();
   var DOW = myDate.getDay();
   document.getElementById('DayOfWeek').src = document.pics[DOW].src;
   document.getElementById('DayOfWeek2').src = document.pics[DOW+1].src;
</script>

One more thing to note is that the JavaScript that changes the image needs to come AFTER the image in HTML code. If not, it doesn’t know about the image and can’t replace it. The other option would be to put the code in the head of the HTML file and trigger it with a function call.

I hope you found this useful, I know I can think of uses for this.  As always your mileage may vary.

Posted in misc, Technology | Tagged | Comments Off

funerals

Just for the record, I hate funerals.

Death is a miserable fact of life and one that we all must face. I don’t look forward to the time when my Dad will pass away.  However, I have had the honor of living long enough to develop a good relationship with my dad. A good enough relationship with him that we’ve had the discussions about how he feels about prolonging life after the quality of life is gone. We’ve also had a discussion about funerals so what happened today really shouldn’t surprise me.

You see, my Aunt died recently, and today was her funeral. The person officiating the ceremony seemed a little nervous, perhaps it was his first funeral. At any rate, as he was wrapping up the ceremony, my father leaned over to a long time friend and said “When you officiate my funeral I want you to say ‘He lived fast, hard and enjoyed every minute of it… and then he died’” -edit- Just to be clear, my Dad doesn’t live fast, he’s one of the calmest people I know, thinking through things instead of spur of the moment actions.  My Dad doesn’t “live hard”, although I’m sure he’s experiences hard times.  But I do know my Dad has enjoyed his life and continues to do so. His statement was an indication of how much time he thought should be spent on a funeral. He told me one time that what he wanted in his obituary was simply a listing of born, husband of, father of and died. -edit-

There are many reasons I love my dad, and that is one of them.

Posted in life, misc, Rants | Tagged , , , | Comments Off

Rollover dynamic text with CSS

Ok, technically it’s not dynamic because you have to enter the text in the html so it’s not “created on the fly”.  This is still a cool feature if you wanted a list of terms and have the definition pop up on the page as the visitor rolls over the definition.  And the best part of this it’s pure CSS, no javascript.  Once again, this is dynamic so it scales to the size of the page and it has been tested and works on IE, Chrome, Safari, and Firefox on a Win7 box.  Your mileage may vary.

Without further ado, here’s the HTML and CSS as well as a link to a working example.
Continue reading

Posted in misc, Technology | Tagged , | Comments Off