> From: Dan Eastwell
> The thinking behind it is not to add the button images using 
> javascript, so that if you don't have javascript, you don't 
> have useless and confusing buttons.

You can still generate the code on the server. Just use this code in <head>:

   <style type="text/css">
      img.increment, img.decrement { display: none; }
   </style>

   <script type="text/javascript">
      document.write( '<style type="text/css"> img.increment, img.decrement
{ display: inline; } <\/style>' );
   </script>

My gut sense is that you'll get a more responsive page this way instead of
trying to optimize the JavaScript code.

-Mike

Reply via email to