View Single Post
  #5   Spotlight this post!  
Unread 30-01-2004, 02:30
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Re: Picture resize in IE6

I have a couple of "IE Power toys" from way back. (I think that's the right name.) They allow me to right click on any image, and zoom in or out. I downloaded them from Microsoft. I'll see if I can find them again, and let you know.

[Edit]
I found it. It's Web Accessories for Internet Explorer 5.

Note: The last time I checked, there was a bug in zoomin and zoomout. It's easily fixable, though. After installing, you need to edit zoomin.htm and zoomout.htm. (On my system they are installed in c:\windows\web.)

In zoomin, replace the following lines:
Code:
	h = parentwin.event.srcElement.height * 2;
	parentwin.event.srcElement.height = h;

	w = parentwin.event.srcElement.width * 2;
	parentwin.event.srcElement.width = w;
with:
Code:
	h = parentwin.event.srcElement.height * 2;
	w = parentwin.event.srcElement.width * 2;

	parentwin.event.srcElement.height = h;
	parentwin.event.srcElement.width = w;
And in zoomout, these lines:
Code:
	h = parentwin.event.srcElement.height / 2;
	parentwin.event.srcElement.height = h;

	w = parentwin.event.srcElement.width / 2;
	parentwin.event.srcElement.width = w;
with:
Code:
	h = parentwin.event.srcElement.height / 2;
	w = parentwin.event.srcElement.width / 2;

	parentwin.event.srcElement.height = h;
	parentwin.event.srcElement.width = w;
Without these changes, the picture's aspect ratio gets messed up when you zoom in and out.
[/Edit]
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me

Last edited by Greg Ross : 30-01-2004 at 03:02.
Reply With Quote