Jump to content

Archived

This topic is now archived and is closed to further replies.

aboyandhisrobot

Javascript Magnifier

Recommended Posts

hey, im using [a href=\"http://persistent.info/files/20040508.magnifier/\" target=\"_blank\"]http://persistent.info/files/20040508.magnifier/[/a] and i want to edit it a little to make the magnifier box into more of a rectangle shape. does anyone know how to do that? the code is in the source.

thanks!

Share this post


Link to post
Share on other sites
If you want your magnifier to be rectangler, change line 171 to the following:
[code]this.style.width = (this.size+this.size*0.5) + "px";[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.