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
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>Untitled Document</title>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
- <script src="jquery.cycle.lite.min.js" type="text/javascript"></script>
- <script type="text/javascript">
-
- $(document).ready(function(){
-
- $('#bg_containers').cycle({
- fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
- });
-
- });
- </script>
-
- <style type="text/css">
-
- body {
- padding:0;
- margin:0;
- background-color: rgb(0,0,0);
- }
- #content {position:relative;max-width:100%; height:100%; margin:0; z-index:999; padding:270px 0 0;} img {max-width:100%}
- #text_box {background:#000; color:#ffffff; padding:10px; margin:0 auto; width:100%;}
-
- /* classes to work with cycle plugin for BG images */
- #bg_containers {max-width:100%; margin:0;}
- #bg_containers div {width:100%; height:683px; margin:0 auto;}
- #bg_containers .bg1 {background:url(1.jpg) no-repeat;}
- #bg_containers .bg2 {background:url(2.jpg) no-repeat;}
- #bg_containers .bg3 {background:url(3.jpg) no-repeat;}
- </style>
- </head>
- <body>
- <table width="750" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td align="left" valign="top">
- <table width="1024" border="0" cellspacing="0" cellpadding="0">
-
- <tr>
- <td>
-
- <div id="bg_containers">
-
- <div class="bg1"> </div>
- <div class="bg2"> </div>
- <div class="bg3"> </div>
- </div>
- </td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- </tr>
- </table>
- </body>
- </html>