Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<noscript>goes where?</noscript>

Status
Not open for further replies.

pindky

Programmer
Apr 26, 2002
101
US
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=&quot;bottombox&quot; >&nbsp;
<script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot;>

<!-- Begin
function isPPC() {
if (navigator.appVersion.indexOf(&quot;PPC&quot;) != -1) return true;
else return false;
}
if(isPPC()) {
document.write('Send <a href=\&quot;mailto:\?subject\=Take a look at this page I found, ' + document.title + '?body=You can see this page at: ' + window.location + '\&quot; onMouseOver=&quot;window.status=\'Send your friends e-mail about this page\'; return true&quot; TITLE=&quot;Send your friends e-mail about this page&quot;>this page<\/a> to a friend');
}
else { document.write('<a href=\&quot;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 + '\&quot; onMouseOver=&quot;window.status=\'Send your friends e-mail about this page\'; return true&quot; TITLE=&quot;Send your friends e-mail about this page&quot;>Send this page to a friend<\/a>');
}
// End -->
</script>
</div>
<!-- End of Script. Script Size: 1.54 KB -->
 
at the end after the script!
<!-- Begin Send Page Javascript -->
<div class=&quot;bottombox&quot; >
<script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot;>

<!-- Begin
function isPPC() {
if (navigator.appVersion.indexOf(&quot;PPC&quot;) != -1) return true;
else return false;
}
if(isPPC()) {
document.write('Send <a href=\&quot;mailto:\?subject\=Take a look at this page I found, ' + document.title + '?body=You can see this page at: ' + window.location + '\&quot; onMouseOver=&quot;window.status=\'Send your friends e-mail about this page\'; return true&quot; TITLE=&quot;Send your friends e-mail about this page&quot;>this page<\/a> to a friend');
}
else { document.write('<a href=\&quot;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 + '\&quot; onMouseOver=&quot;window.status=\'Send your friends e-mail about this page\'; return true&quot; TITLE=&quot;Send your friends e-mail about this page&quot;>Send this page to a friend<\/a>');
}
// End -->
</script>
<noscript>

</noscript> I help at your own risk, if I brake it sorry! But if I fixed it, let me know.[thumbsup2]
admin@onpntwebdesigns.com
 
good to do something like this. or have a hyperlink out etc...
<NOSCRIPT><I>Your browser is not JavaScript-enabled.
These buttons will not work.</I></NOSCRIPT>
I help at your own risk, if I brake it sorry! But if I fixed it, let me know.[thumbsup2]
admin@onpntwebdesigns.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top