Captured Technology - Blog
By Steve Patterson on
4/23/2009 5:03 PM
Changing your BlogSpot Blog to DoFollow
I have casually been running a Blogspot blog for some time mostly for linking back to my main web sites. Until today I hadn't taken the time to find out how to alter the blog from a nofollow blog to a dofollow blog. At first it seemed like altering the layout HTML would be all that was necessary but there were no nofollow tags in the code. Then I came across Tips for Blogspot which showed the needed flag 'Expand Widgets'. After selected this checkbox and replacing the two rel="nofollow" with rel="external", I was set.
|
By Steve Patterson on
4/10/2009 1:26 PM
JavaScript OnMouseOver for Firefox I wrote a fairly simple JavaScript line to modify the size of an image when there is a OnMouseOver event. And then wrote a similar line of JavaScript to reduce the size back to normal on the OnMouseOut event. The only problem is the JavaScript didn't work on FireFox although it was great with Internet Explorer. After some research I found that using the 'this' object was needed with FireFox. So I adjusted my code to also have the events in the image object itself. Here is the code:
|
By Steve Patterson on
4/9/2009 11:12 AM
Updating a Table Without Firing the Trigger Having a Trigger on a SQL Server table is a great feature that can keep data in sync and update records automatically when needed but what about those cases where you want to run an update command and don't want the trigger to fire. I came across a situation where an update timestamp on a record was being displayed on a web page and I wanted a specific date to show up. The easiest way to fix this issue was to disable the trigger, update the update timestamp on the record, and then enable to trigger. Here is the code:
|
By Steve Patterson on
4/1/2009 1:59 PM
Collapsing and Expanding HTML Code When in need of a quick way to expand and collapse HTML code on the client without posting back to the server of your web application, utilize the tag with a style and some Javascript. Start with the style display set to either none or block and then interchange these two setting based upon a hyperlink click event.
|
|