Josh Knutson

Pondering Life Away

excuses, excuses, excuses

Yes I realize that I am really behind on blogging lately, I could say a lot of reason of why but they are all excuses. Maybe my computer is just too far away from me sometimes. In any case I have been busy at work, busy at home it seems. Deer hunting is almost upon me which I am excited about. I keep meaning to throw up some code examples especially some xlst things which I have been working on but sometimes they don't work the best for me...especially when I am trying to run away from tables.

Oh at work I had to use stylevision and I want to know who makes a product to work with code where you can't actually edit the source. There were so many times where it was faster just to open the sps file in Textpad or Notepad++ and edit the elements in there. Since sometimes I think stylevision has its own mind and you have to bend to its will, which really isn't a good thing as creativity can be restricted.

On My website I removed the Other page but it still kinda exists but not its usual form. Since I wanted the more important links to be seen at first glance thats why you can now view my places on the web on the sidebar. I am still debating if I should do an update to the site. I am uncertain as what I should do, maybe I'll just grab a template from some other site.
Till next time

Blog Hijacked?!?

No, it hasn't been, I am just helping a friend out with the layout of a different blog for a customers site, he is asleep so now I am changing my blog around so that way I can at least see the results faster. Everything should return to normal after a day or so.

Arms Wide Open

I've been working on this blog entry for a while so bear with me for a bit.

The back story would be my current girlfriend that I have been dating for a while, whose name is Ashley, has become pregnant.

I have been thinking a lot of where my life will take me and if I am ready to fully take care of two people. I know how to take care of a child. Just the woman I am not sure if I know what to do. I know I just gotta keep strong and be what I can to take care of them the best that I can. Many things will change in a short time it seems. I just can't let the insecurities get the better of me that any father that isn't ready for it has. I am really excited, I just don't know if I can be the man I have to be. Within in my heart is so much hope for the future and I just have so many hopes that I can really do all the things expected of me.

A huge change for me is for one of the few times of my life I am so uncertain of the future and down right scared so many times that I almost think I could break down, but I know I won't because I just don't work that way. So much dedication flows through my bones right now that I know I can't be careless, now more than ever, but I know that if I do focus upon anything for too long I will get clumsy and start slipping. I realize things might be tough for Ashley and me for a while.
The sacrifices that I am trying to make is for the long run as I try to adjust to my current situation so I do apologize ahead of time for disappointing anybody out there. Anyone that knows me well enough will see that I get much joy of helping someone and same with entertaining children. Now I get the blessing of having one of my own and theres this strange comfort that comes over me that also calms me at the same time. Now to help change the world yet again, no matter how small it may seem.

Till next time with more code examples

trouble with favicons

Opera and FF typically will work when this issue arises but will not work within IE a lot of the times. Now lets for example start with something simple to which I will be using my site as an example as I normally do :o) we have a favicon that is somewhere in the head <link rel="icon" href="http://joshknutson.net/images/icons/ favicon.ico" type="image/x-icon" />'

This will not show up in IE but will show up in other browsers, so I then check Microsoft sites to see how they do it. My results: <link rel="icon" href="/s/wlflag.ico" /> from live.com <link rel="SHORTCUT ICON" href="http://hp.msn.com/global/c/hpv10/ favicon.ico" type="image/x-icon" /> from msn.com Now what could be the difference between what didn't work for me, but will work somehow for Microsoft. After fooling around this is what I tried

<link rel="shortcut icon" href="http://joshknutson.net/images/icons/ favicon.ico" type="image/x-icon" /> which works for some unexplainable reason unless I am just caching the results of playing around with it a few different times, this was tested within IE7 and seemed to have worked for me. If need be check out http://joshknutson.net/index.cfm to let me know if this doesn't work with ie6 and such

JavaScript Validation Thing

Just a little validation JavaScript function in case anyone else needs it. yes it was for some coldfusion, but no you I am not going to make it more generalized.
function ValidateDate(theDate)<br> {<br> EnteredDate = new Date(theDate).toDateString();<br> EffDate = new Date("#DateFormat(getARD.IPI_EffectiveDate,'mm/dd/yyyy')#"). toDateString(); PrevDate = new Date("#DateFormat(DateAdd('yyyy',-1,getArd.IPI_EffectiveDate), 'mm/dd/yyyy')#").toDateString();<br> <br> if(Date.parse(EnteredDate) &amp;lt; Date.parse (EffDate) &amp;amp;&amp;amp; Date.parse(EnteredDate) &amp;gt; Date.parse(PrevDate))<br> {<br> return true;<br> }else{<br> alert('Date must be less than the effective date of the policy and no more than a year before the effective date.');<br> $('Anniversary_Rating_Date').value = '';<br /> }<br /> }<br />

Road Trip to New Mexico

Add custom search engine on new Blogger Template

Rehash #1

Some people have asked to me how to add a search engine "ajaxcold style" into the new blogger template. Add this code where you want into your blogger template:

<form action="/search" id="searchthis" method="get">
<input id="search-box" name="q" onclick="this.select()" value="Search..." type="text">
<input id="search-btn" value="Find" type="submit">
</form>

Save your template and try it.

Older Entries Newer Entries