Changing a tire in the rain. This ought to set the mood for the day. Actually the air feels great!
Month: September 2010
jquery challenge of the day
And now for something completely different…
Let’s say you have a table that could have infinite rows. The table has an id but none of the other elements (ie. we won’t be traversing by id). The column to the furthest right of the row has an anchor tag in the for of an <a href> There are no other anchors on that row. What I want to do is when the anchor tag is clicked, have the <a href> text in the row above the clicked on turn bold and only that <a href>. Sample table:
<table id="tbl">
<thead>
<tr>
<th>col 1 label</th>
<th>col 2 label</th>
</tr>
</thead>
<tbody>
<tr>
<td>one</td>
<td>sometext <a class="tt" href="#">link</a></td>
</tr>
<tr>
<td>two</td>
<td>moretext <a class="tt" href="#">link</a></td>
</tr>
<tr>
<td>three</td>
<td>differenttext <a class="tt" href="#">link</a></td>
</tr>
<tr>
<td>four</td>
<td>othertext <a class="tt" href="#">link</a></td>
</tr>
</tbody>
</table>
So, if I click the link in row three, I want the text "link" in row two to become bold. This is using jquery and traversing this is kicking me hard.
I have a crush on her
My love for Cathy is so large
That in trying to carry it
I find myself crushed.
Stone me
I feel like I need medication
I need tranquilization.
State of Me
I’m so stressed that I’ve maintained a headache for about two weeks. There needs to be some serious downtime in the near future.
I cannot get my inner voice to be silent. I wish I could turn off my brain.
Best Wife in the World
Cathy really knows how to lift my spirits. I’m so fortunate to have her as my best friend and life long partner!
Walking Dead
Somewhere along the path
I died
But did not know enough
To stop walking.
From the mouths of babes
Evan, 5 years old: "A rainbow is my favorite color."
Today is Labor Day
Ergo, I labor.
Of Grasshoppers
Student: I am alone.
Master:
Living large
I will do everything big!
For no success should go unnoticed
No voice unheard
No risk taken without chance of harm
No conditional love
No joy mundane
And no mistake can ever be small.
It’s a gorgeous day outside!
So I think I’ll spend this holiday weekend Sunday in the dusty windowless basement writing code.
Let’s talk SEO and domain names
Say for more than half a decade (really its been a decade) Cathy has blogged as DomesticPsychology.com and she has. Let’s say on a whim she decides she would rather be blogging as CathyMcCaughan.com (in reality she hasn’t..this is simply a working example). Currently http://CathyMcCaughan.com forwards to http://domesticpsychology.com/. To complicate things, let’s say they are registered at 2 different registrars so DNS is handled by two different organizations.
Many options exist for moving a domain name. What is the best way to make http://cathymccaughan.com/ the primary url for Cathy’s website instead of http://domesticpsychology.com/ without losing the search engine rankings or readership and without creating broken links?