scale images with window AND do not allow saving of images

scale images with window AND do not allow saving of images

Hi,

I have used this code to disallow copying and saving of image from a slideshow. But I can't get this to work in combination with that the images also scale with the window size when made smaller. Any help please anyone...?

Eddy

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <title>Untitled Document</title>

  6. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
  7. <script src="jquery.cycle.lite.min.js" type="text/javascript"></script>
  8. <script type="text/javascript">
  9.  
  10. $(document).ready(function(){
  11.  
  12.     $('#bg_containers').cycle({
  13. fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
  14. });
  15.  
  16. });
  17. </script>
  18.  
  19. <style type="text/css">
  20.  
  21. body {
  22. padding:0;
  23. margin:0;
  24. background-color: rgb(0,0,0);
  25. }
  26. #content {position:relative;max-width:100%; height:100%; margin:0; z-index:999; padding:270px 0 0;} img {max-width:100%}
  27. #text_box {background:#000; color:#ffffff; padding:10px; margin:0 auto; width:100%;}
  28.  
  29. /* classes to work with cycle plugin for BG images */
  30. #bg_containers {max-width:100%; margin:0;}
  31. #bg_containers div {width:100%; height:683px; margin:0 auto;}
  32. #bg_containers .bg1 {background:url(1.jpg) no-repeat;}
  33. #bg_containers .bg2 {background:url(2.jpg) no-repeat;}
  34. #bg_containers .bg3 {background:url(3.jpg) no-repeat;}
  35. </style>
  36. </head>

  37. <body>
  38. <table width="750" border="0" cellspacing="0" cellpadding="0">
  39.         <tr>
  40.           <td align="left" valign="top">
  41. <table width="1024" border="0" cellspacing="0" cellpadding="0">
  42.        
  43.   <tr>
  44.     <td> 
  45.  
  46. <div id="bg_containers"> 
  47.         
  48. <div class="bg1"> </div>
  49. <div class="bg2"> </div>
  50. <div class="bg3"> </div>

  51. </div>
  52. </td>
  53.   </tr>
  54. </table></td>
  55.         </tr>
  56.     </table></td>


  57.   </tr>
  58. </table>

  59. </body>
  60. </html>