Created
May 1, 2011 10:36
-
-
Save nfreear/950400 to your computer and use it in GitHub Desktop.
Drupal 6 block to launch accessibility tools: the JISC/Southampton ATbar and WebAnywhere.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/**Drupal block to launch accessibility tools: JISC/Southampton ATbar and WebAnywhere. | |
* Drupal 6 input format: PHP code. | |
* | |
* @copyright (c) 2010 Nicholas Freear {@link http://freear.org.uk} | |
* @license http://opensource.org/licenses/bsd-license.php BSD License. | |
* @uses http://access.ecs.soton.ac.uk/ToolBar/ | |
* @uses http://wa.cs.washington.edu/ | |
*/ | |
?> | |
<a href= | |
"javascript:(function(){d=document;lf=d.createElement('script');lf.type='text/javascript';lf.id='ToolbarStarter';lf.text='var%20StudyBarNoSandbox=true';d.getElementsByTagName('head')[0].appendChild(lf);jf=d.createElement('script');jf.src='http://access.ecs.soton.ac.uk/ToolBar/channels/toolbar-stable/JTToolbar.user.js';jf.type='text/javascript';jf.id='ToolBar';d.getElementsByTagName('head')[0].appendChild(jf);})();" | |
><img | |
alt="Start JISC Techdis Toolbar Lite" | |
title="Start JISC Techdis Toolbar" | |
src="http://access.ecs.soton.ac.uk/ToolBar/content/toolbar/toolbarlauncher.png" | |
/></a> | |
<p><a href= | |
"http://webanywhere.cs.washington.edu/wa.php?starting_url=http%3A//freear.org.uk<?php | |
echo 0===strpos(request_uri(), '/admin') ? '/' : request_uri(); | |
?>" | |
title="Open this page in the Web Anywhere web-based screen reader" | |
style="background:url(http://webanywhere.cs.washington.edu/favicon.ico)no-repeat left; padding-left:20px;" | |
>WebAnywhere</a></p> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment