milov.nl

Interaction design • webdevelopment • web art • photography

November 2001

Incremental zoom bookmarklets: !ZoomInIn and !ZoomOutOut (drag to Links-bar). Works best in IE5 (IE6 won't resize positioned elements). Source:

javascript:if(!document.z){void(document.z=1);}void(document.z*=2);void(document.body.style.zoom=document.z);void(document.body.parentNode.style.zoom=document.z);

javascript:if(!document.z){void(document.z=1);}void(document.z*=0.5);void(document.body.style.zoom=document.z);void(document.body.parentNode.style.zoom=document.z);

Update: I forgot, pup already made these.



pup wrote on 2001/11/06:
bwaha!


milov wrote on 2001/11/06:
We were using 'm here to see if background-images of two adjacent table cells lined up... Ah, the joy of Netscape4 testing...


pup wrote on 2001/11/06:
the zoom out has a factor of 2. should be 0.5.


pup wrote on 2001/11/06:
also, since i upgraded to ie6 here at work, they do nothing on pages that have positioned content (here, tastylog, etc), but normal table-layout pages are fine (cnn, yahoo, etc).


23JUL wrote on 2001/11/07:
It doesn't really work on your page, Milo. ;-)


milov wrote on 2001/11/07:
Argh, I noticed... Worked fine in IE5.5 at work, but not in IE6 here, coz of my positioned content (like pup said). Maybe the trick is to loop thru all the elements and set zoom properties for each one...


Bob wrote on 2001/11/07:
More cool (albeit nerdy) bookmarklets at http://www.sam-i-am.com/work/bookmarklets/dev_debugging.html


ljubo wrote on 2006/05/17:
helo my nemn is ljubo 14 yers old i leav in swe thts all ican say