View Single Post
  #18  
Old 05-22-2003, 12:11 PM
  BoomBoomBap's Avatar 
BoomBoomBap BoomBoomBap is offline
 

Senior Member
  
Join Date: Nov 2002
Location: San Francisco
Posts: 184
 

Default

Just a quick note

the following:

<script>
all the original content
</script>
<noscript>
{ include file="nojava.tpl" }
</noscript>

is NO GOOD

Instead, the following is recommended:

Code:
<noscript> <center><table bgcolor="#FFFFFF" width="100%"><tr><td align=center> <FONT COLOR="#FF0000" SIZE="-1">*** ERROR *** JAVASCRIPT IS REQUIRED TO USE THIS SITE! Please CLICK HERE for further instructions </FONT> </td></tr></table> </center> </noscript>


It seems the include file is read into the source code of the document regardless of whether or not the user has Javascript support. Although the information will not be shown to the user it will still appear in the source which is simply a waste of bandwidth. Instead of using an include file I recommend linking to a static HTML file. If you like, feel free to use mine (optimized, added to, and edited from somewhere else mentioned earlier on in this topic). http://www.boomboombap.com/no_javascript.html
__________________
Site 1 > XCART LIVE 3.4.12

Site 2 > XCART LIVE 4.0.17
Reply With Quote