Link to MSUToday
To link to MSU Today Online, use the following guidelines/images.
If you are using a text only link, please use the words, "MSU Today Online."
If you are using an image as a link, please use the image to the right. If you are using a Macintosh, click and hold on the image, then choose "Download image to disk." If you are on a PC, right click on the image and choose "Save image to disk."
Also, we appreciate you not putting us in framesets! If you have any questions or would like some assistance with linking to MSU Today Online from your web site, please contact tech@ur.msu.edu.
Put MSUToday headlines on your page
The easiest way to get MSUToday headlines on your page is to include the following HTML code whereever you would like the headlines to appear:
<script language="javascript" src="http://msutoday.msu.edu/msutoday.js" type="text/javascript">
</script>
That will create a box identical to the following:
Customizing the headlines
There are currently nine settings you may wish to modify:
N - show News headlines
R - show Research headlines
A - show Athletics headlines
H - show headers (e.g. "News")
I - show icons
T - show title (180 pixel wide image)
P - show smaller title and "Provided by" (177 pixel wide image)
D - double-space the headlines
O - open all links in a new browser window
F - show only the first headline for each subject
You may select any combination of these options just by changing the src attribute of the script tag. For example, the code
<script language="javascript" src="http://msutoday.msu.edu/msutoday.NRP.js" type="text/javascript">
</script>
displays only the News and Research headlines as:
To double-space these headlines, you would just add a "D" to the src attribute, so the tag would become:
<script language="javascript" src="http://msutoday.msu.edu/msutoday.NRPD.js" type="text/javascript">
</script>
CSS styles
The HTML generated by the JavaScript file uses the following two CSS classes:
MSUTodayHeader
MSUTodayTitle
So if you are using CSS (Cascading Style Sheets) on your page, you may wish to define these classes.
RDF headlines
If you would like more control over how your site displays MSUToday headlines, you may be interested in the RDF file for MSUToday.
|