…continued
How to Link to S&T's Interactive Sky ChartSimple Graphical Links
A graphical link is identical to a text link, except that instead of link text (i.e., words) you use an image (via an <img> tag). When a user clicks on the image, he or she goes to the corresponding URL, which in this case will point to S&T's Interactive Sky Chart preset to a particular observing location for this evening at 9 p.m. local time.
Here's the earlier example using a small Sky & Telescope logo instead of the words "Tonight's Sky over Toledo, Ohio." As before, this is for latitude 41.67°N, longitude 83.57°W, in the Eastern time zone (5 hours west of Greenwich), during summer:
lat=+41.67&lng=-83.57&timezone=-5&dst=on&">
<img src="http://media.skyandtelescope.com/images/smalllogo.gif" width="55" height="40"
border="0" alt="S&T's Interactive Sky Chart"></a>
Once again the HTML shown above breaks onto multiple lines; make sure that in your own HTML everything runs together, i.e., that there are no hard line breaks (carriage returns) or extraneous spaces. Please make sure you include border="0" (zero) in your <img> tag; otherwise the S&T logo will probably appear with a thick blue line around it, which we don't want.
Here is the active graphical hyperlink built as described above:
This example pulls a graphic from the SkyandTelescope.com Web server. You may do that if you wish, but it won't work if our server goes down, which sometimes happens. It makes more sense to copy our graphics to your own server and pull them from there by specifying the correct path in the "src" part of your <img> tag. To copy any of the graphics on this page to your own computer, right-click (on a PC) or click-and-hold (on a Mac) your mouse button, then choose the "Save picture as" (or similar) option from the menu that pops up.
Here are two more S&T logos and another graphic you may use for your links::
If you need an S&T logo of a different size, or if you have any questions about the use of our proprietary graphics on your Web site, please send an e-mail to weblinks@SkyandTelescope.com.
The remainder of this article tells how to find your latitude, longitude, and time zone and explains how to use additional parameters to create more complex, elaborate links to our sky-chart applet.


