Accessibility Guidelines News Feeds for Your ILC's Web Site
They can easily be customized to perfectly fit your site's needs.
Either your webmaster can do it, or we will for free! (just
)
Accessibility Guidelines in the News
|
<= FREE customizable news feed for your accessibility website =>
You can change:
the Title's size and color
the box's background color
the box's outline color and thickness
and more!
See instructions below.
|
Accessibility Guidelines in the News
|
Keep Your Visitors Informed
Webmasters! You can offer your visitors access to today's news articles from around the Internet about (or mentioning) Accessibility Guidelines.
You can use the code below to add this news box to your website.
Variables allow you to alter the width, the colors, and the number of news items, and whether descriptions are shown.
This way, you are able to make it fit perfectly into your site.
|
Here's the PHP code
Instructions:
1. Back up a copy of your web page's HTML code.
2. Copy and paste the code below into your page's HTML code where you want it to appear.
3. Adjust the variables to alter the size, colors, etc.
4. Upload the your page to your site.
5. IF it doesn't work. You'll need to add this code to your .HTACCESS file (after backup):
AddType application/x-httpd-php .php .html .htm
6. REMEMBER you must upload your .HTACCESS file as an ASCII file or bad things happen.
<!-- this NOOZBOY code is © 2006 by Freedom Works! Inc. All rights reserved. -->
<?php
$titlecolor="660000"; // use only the six-digit number to represent the title's color.
$titlesize="10pt"; // use to set the size of the title -- use either "pt" for points or "px" for pixels.
$bgcolor="eeeeee"; // sets the background color for the box
$pixelswide="280"; // how wide you want the box in pixels.
$boxcolor="cccccc"; // the color of the box's border
$borderthickness="1"; // the thickness of the box's border in pixels.
$textsize="9"; // the size of the text in pixels.
$textcolor="660000"; // the color of the text
$items=6; // the number of news items displayed. Most possible is 10.
$descriptions=0; // whether the descriptions show beneath the headlines. Options= 1 or 0 (yes or no).
// CHANGING ANYTHING BELOW THIS LINE MAY BREAK THE NEWSFEED
IF($descriptions==0) $spacing=1;ELSE $spacing="0";
echo '<div style="padding-left:5px;padding-top:6px;background-color:#'.$bgcolor.';width:'.$pixelswide.';border: solid '.$borderthickness.'px #'.$boxcolor.';font-size:'.$textsize.';color:#'.$textcolor.';font-family:Arial,Helvetica,san serif;">';
echo '<div align=center style="padding-right:5px;width:'.$pixelswide.'px;font-size:'.$titlesize.';color:'.$titlecolor.';font-family:Arial,Helvetica,san serif;font-weight:bold;">Accessibility Guidelines in the News</div><hr align=right>';?>
<script language=javascript src="http://ada-accessibility-guidelines.com/feeds/rss.php?url=http%3A%2F%2Fwww.ada-accessibility-guidelines.com%2Ffeeds%2Fdata%2Faccessguidelines.php&newpage=1
&desc=<? echo $descriptions; ?>&dts=<? echo $dates; ?>&maxfrom=<? echo $items; ?>&ts=6&maxto=<? echo $items; ?>&dlen=125&spc=<? echo $spacing; ?>"></script>
<? echo '<hr><table cellpadding=0 border=0 width='.$pixelswide.' align=center style="padding-bottom:6px;"><tr><td align=left valign=top width="30%"><a href="http://www.noozboy.com/" target="_blank"><img src="http://www.noozboy.com/images/current-news.jpg" alt="Current news" border=0></a></td>
<td valign=top align=right style="font-size:7pt;color:#999999;font-family:Arial,Helvetica,san serif;padding-right:5px;"> <a href="http://www.adaag.com/accessibility-guidelines" style="font-size:7pt;color:#999999;text-decoration:underline" target="_blank">Accessibility Guidelines</a></td></tr></table>';
?>
<!-- end news feed -->
Questions?
|
|