Div estatico con css

http://ryanfait.com/position-fixed-ie6/

CSS

* {
    margin: 0;
}
html, body {
    height: 100%;
    overflow: auto;
}
.wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: auto;
}
.box {
    position: fixed;
    left: 10px;
    top: 180px;
}
* html .box {
    position: absolute;
}

HTML:

<html>
    <head>
        <link rel="stylesheet" href="yo.css" />
    </head>
    <body class="abc">
  
        <div class="wrapper">
            <p>All of your website content should be here.</p>
   <br>
         <p>All of your website content should be here.</p>
   <br>
         <p>All of your website content should be here.</p>
   <br>
         <p>All of your website content should be here.</p>
   <br>
         <p>All of your website content should be here.</p>
   <br>
  
  
        </div>
        <div class="box">
            <p>This box is fixed.</p>
        </div>
    </body>
</html>

Invocar PHP con GET mediante jQuery

Este ejemplo hace un submit de tipo GET mediante ajax:


Página html:

<form id='form1'>

<input type='text' size='4' name='item1' />
<input type='text' size='4' name='item2' />
<input type='submit' size='4' id='grabar' value='guardar' />

</form>


<script>
$(document).ready(function() {
$("#form1").submit(function() {
Grabar();
});
});

function Grabar()
{
dataString = $("#form1").serialize();

jQuery.ajax({
  type: "GET",
  url: "grabar.php",
  data: dataString,
  contentType:"text",
  dataType:"text",
  cache: false,
  success: function(response) {    
 alert(response);
  },
  error: function(xx) {
return "";
  }
});
}

</script>


Página PHP:


<?php
echo $_GET['item1'];
?>

Como activar un puerto usb deshabilitado

Para deshabilitarlo:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
Start = 3


Para habilitarlo:



HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
Start = 4