Hello,
I don't know where to put the <noscript> tags in the following Javascript, or any Javascript for that matter.
I need to make a site compliant with US Section 508 guidelines which requires <noscript> tags and comments.
I have very, very minimally used Javascript, but the client wants a few items of Javascript and I do need to code it to be accessible for the disabled.
Thanks.
pindky
Code follows:
<!-- Begin Send Page Javascript -->
<div class="bottombox" >
<script language="JavaScript" type="text/javascript">
<!-- Begin
function isPPC() {
if (navigator.appVersion.indexOf("PPC" != -1) return true;
else return false;
}
if(isPPC()) {
document.write('Send <a href=\"mailto:\?subject\=Take a look at this page I found, ' + document.title + '?body=You can see this page at: ' + window.location + '\" onMouseOver="window.status=\'Send your friends e-mail about this page\'; return true" TITLE="Send your friends e-mail about this page">this page<\/a> to a friend');
}
else { document.write('<a href=\"mailto:\?body\=I thought of you while I was visiting the Yesodot Website at I am forwarding you this page from the Yesodot site. This page is titled, ' + document.title + '. You can see this page at: ' + window.location + '\" onMouseOver="window.status=\'Send your friends e-mail about this page\'; return true" TITLE="Send your friends e-mail about this page">Send this page to a friend<\/a>');
}
// End -->
</script>
</div>
<!-- End of Script. Script Size: 1.54 KB -->
I don't know where to put the <noscript> tags in the following Javascript, or any Javascript for that matter.
I need to make a site compliant with US Section 508 guidelines which requires <noscript> tags and comments.
I have very, very minimally used Javascript, but the client wants a few items of Javascript and I do need to code it to be accessible for the disabled.
Thanks.
pindky
Code follows:
<!-- Begin Send Page Javascript -->
<div class="bottombox" >
<script language="JavaScript" type="text/javascript">
<!-- Begin
function isPPC() {
if (navigator.appVersion.indexOf("PPC" != -1) return true;
else return false;
}
if(isPPC()) {
document.write('Send <a href=\"mailto:\?subject\=Take a look at this page I found, ' + document.title + '?body=You can see this page at: ' + window.location + '\" onMouseOver="window.status=\'Send your friends e-mail about this page\'; return true" TITLE="Send your friends e-mail about this page">this page<\/a> to a friend');
}
else { document.write('<a href=\"mailto:\?body\=I thought of you while I was visiting the Yesodot Website at I am forwarding you this page from the Yesodot site. This page is titled, ' + document.title + '. You can see this page at: ' + window.location + '\" onMouseOver="window.status=\'Send your friends e-mail about this page\'; return true" TITLE="Send your friends e-mail about this page">Send this page to a friend<\/a>');
}
// End -->
</script>
</div>
<!-- End of Script. Script Size: 1.54 KB -->