#      #      #      #      #      #

Choose category

My articles [2]

Publisher

Main » Articles » My articles

wqw
// ==UserScript== // @id dc989f0a-f9e6-4507-ba5f-a0730a614553@http://forums.mozillazine.org/memberlist.php?mode=viewprofile&u=261941 // @name Auto zoom lone images // @version 2.5 // @namespace http://forums.mozillazine.org/memberlist.php?mode=viewprofile&u=261941 // @author Gingerbread Man // @description Automatically zoom small standalone images // @include http://*.jpg // @include https://*.jpg // @include http://*.gif // @include https://*.gif // @include http://*.png // @include https://*.png // @run-at window-load // ==/UserScript== var img = document.images[0]; var iw = img.width; var ih = img.height; var ir = iw / ih; function togglezoom() { if (img.width>iw||img.height>ih) { img.width = iw; img.height = ih; img.setAttribute("style","cursor:-moz-zoom-in"); } else zoomin(); } function zoomin() { var ww = window.innerWidth; var wh = window.innerHeight; if (iw
body { font-family: Arial; font-size: 11px; color: #ffffff; background: #202020 url(../../img/body_back.jpg) no-repeat top center fixed; background-size: cover; } #icons { position: absolute; bottom: 22%; right: 8%; width: 400px; height: 80px; z-index: 8; transform: rotate(-57deg); -ms-transform: rotate(-57deg); -webkit-transform: rotate(-57deg); -moz-transform: rotate(-57deg); } #contact { float: left; cursor: pointer; } img { max-width: 100%; height: auto; }
Category: My articles | Added by: gamex (2014-01-17)
Views: 363 | Rating: 0.0/0
Total comments: 0
Only registered users can add comments.
[ Sign Up | Login ]

Popular

The module is not installed