Homepage » My Releases, Web Development » Auto Zoom Icons v0.1

Auto Zoom Icons v0.1

By Jonathan + July 14th, 2005

I’m sure the first thing you noticed when you saw all the photos I’ve been posting is the little "zoom" icon in the bottom-right corner…because hot women can be distracting ;-) 

I wrote a simple little javascript to add that icon automatically whenever an image links to another image on my page.  All it does is scan the page for anchor tags, check if they contain only an image tag, and add the icon in such a way that it overlaps.  I’m too lazy to attach it to the document.onload events so make sure you add it at the bottom of your page :)

Enjoy! 

Download

4 Comments at "Auto Zoom Icons v0.1"

X January 18th, 2006 (#)

She fine!

emi March 19th, 2006 (#)

ja

Chris February 8th, 2007 (#)

Hey Jay, just thought I’d say what’s up and tell you that I’m going to make good use use of your little javascript. We met last week at Firkins… Micheal had invited me and I was sitting across from you while we were there :) I like the blog!

ciao!

Chris

Jonathan February 9th, 2007 (#)

It’s “Jonathan” actually, but glad you found the script useful :) I’ll see you at future Firkin-ians!

Comment Now!

Name* Email* Blog / Website

Latest Posts

C#: Returning an array via webservice with derived classes November 20th, 2008

C#: Returning an array via webservice with derived classes

Here’s a neat little thing I learned today. I was writing a WebMethod for a WebService I’m working on for ScribbleLive. The return type[...] Read the rest »