January 28, 2008, 11:15 PM
Recently asked on Yahoo! Answers:
Showing a Larger picture from a Thumbnail - How to include the Title?
I have followed the steps from http://www.dougv.com/blog/2007/02/07/sho…
using the iFrame version, but cannot get the image on click to display the title used in the img tag.
i.e 
Using the Addendum: information posted the title that gets displayed is ‘image_02.jpg’ when I want ‘Image Name’ to be displayed.
Anyone know the best way to do this?
A few changes to the original script take care of this request quite handily, and it also allows me the opportunity to make some improvements to the original script:
- Modern Web browsers support the onclick event for any DOM element, so there’s no need to assign the onclick event to a hyperlink; we can add it directly to the thumbnails.
- We should preload the full-size images so that there isn’t a significant delay between when the thumbnails have been clicked and the full-size image shows.
- To allow the script to pull images from any location, I’ve removed the part of the script that sets a path and concatenates the relevant image to that path.
Let’s get to it. As always, I will have a working demo and code you can download at the end of this entry.
Continue reading ‘Showing A Larger Image From A Thumbnail OnClick Via JavaScript / DOM Revisited’ »
January 28, 2008, 8:05 PM
On his radio show today, Jim Rome interviewed former Green Bay Packers offensive lineman Jerry Kramer, whose “Gridiron Greats” initiative means to help retired NFL players who face financial and medical problems.
Kramer is a legend for a reason. He’s also a great interview and, from what I can tell, a very sincere, very charitable and very honest man. But his heart, and his facts, are totally misplaced in his criticisms of the NFL Players Association, as well as the NFL itself, for what he perceives as their inaction, indifference and, seemingly, enmity on the issue of helping out players who helped build the league.
I’m not going to get too specific on that in this post. Rather, I want to address Kramer’s main argument against the NFLPA in his interview: the notion that the current Collective Bargaining Agreement should have given something to the retired players.
Continue reading ‘Other People Don’t Need To Lose In Order For You To Win: An Essay On The Fallacies Of Gridiron Greats, Part 1’ »
January 28, 2008, 4:51 PM
User Name: gooddeals18
Product Purchased: SEALED SUBX1 Sirius Universal BOOMBOX SUB-X1 Boom Box (250206485011)
Product As Advertised: Yes
Shipped Quickly: Yes
Customer Service: Great
Considering that these boom boxes — into which you plug your Sirius satellite radio receiver — retail for about $100, I knew the only way it made sense to get one was to look on eBay. And sure enough, I found this item for $50.
I couldn’t be happier with the purchase. Great communication from the seller. I bought it around 7 p.m. and it was on its way with a tracking number by 10 a.m. the next day. It arrived in three days in great shape and exactly as advertised.
All in all, a wonderful transaction and one of those rare big eBay sellers who actually gives a hoot about customer service and treats your order like it was their order. Highly recommended.
January 1, 2008, 12:29 AM
Recently asked on Yahoo! Answers:
How do I set Windows XP to rename same named files when in same directory?
I’m putting thousands of images and other files in the same folder so that I can sort from that folder, I want to keep all the versions that I may have the same file name with different names when I put them in that folder. If I can I would also like to leave the () out of the new rename. I’ve seen other computers that do the renaming automatically, this would save me time from the current setting in which it asks with each file if I want to overwrite it and if it doesn’t overwrite it just leaves the file where it was before without putting it in!
This is simple enough to do if you have a little knowledge of VBScript; in this case, as it pertains to the Windows Scripting Host (or whatever Microsoft calls it these days).
Basically, a few lines of VBS can quickly get all the files in a directory, maintain their current sort order, rename them to be 100 percent unique, and move those files from whatever directory they are currently in to wherever we want them to go.
Let’s do it. As always, code you can download appears at the end of this listing.
Continue reading ‘A Windows Shell Script To Automatically Rename And Move Images To A New Folder’ »