Template:Userpage/Fixed image/doc

This template can be used on user and user talk pages to display an image that will remain in the same position even when the page is scrolled. Parameters:
 * one unnamed parameter, the only required one - if the image is uploaded to this wiki, use the file name. Otherwise, use a direct URL to the image (must be on one of the sites in this list), and use the  and   parameters instead of   (see below for an example). (Currently,   is not working.)
 * top - the distance (in px) between the image and the top of the page.
 * right - the distance (in px) between the image and the right side of the page.
 * bottom - the distance (in px) between the image and the bottom of the page.
 * left - the distance (in px) between the image and the left side of the page.
 * size - allows you to resize the image. Defaults to full size. Can be specified by width or height.

You can hide all images that use this template by adding the following to your CSS: /* Hide Template:Fixed image */ .fixed-image-template {display:none;}

You can make all such images hideable on click by adding the following to your javascript: //Removing fixed images on click $(".fixed-image-template").click(function {   $(this).hide(500, function  { $(this).remove; }); });