aboyandhisrobot Posted April 5, 2006 Share Posted April 5, 2006 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! Quote Link to comment https://forums.phpfreaks.com/topic/6690-javascript-magnifier/ Share on other sites More sharing options...
wildteen88 Posted April 6, 2006 Share Posted April 6, 2006 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] Quote Link to comment https://forums.phpfreaks.com/topic/6690-javascript-magnifier/#findComment-24453 Share on other sites More sharing options...
aboyandhisrobot Posted April 6, 2006 Author Share Posted April 6, 2006 perfect....just what i needed thanks! Quote Link to comment https://forums.phpfreaks.com/topic/6690-javascript-magnifier/#findComment-24467 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.