User:Rick/Globe

From OpenStreetMap Wiki
Jump to navigation Jump to search

If we (happen to) want a globe appearing on the end of any link to the slippy map, to make it obvious where it's going, putting this in main.css (I put it after the [href ^="mailto:"] part and it worked), will make it appear automatically

#bodyContent a[href ^="theURLofTheSlippyMap.org"] {
	background: url(link_icon.gif) center right no-repeat;
	padding-right: 18px;
}
You could also add the icon to templates which have map-links (e.g. Template:Place and there should be another template for inline links to the slippy map) Ojw 13:27, 1 October 2006 (BST)