Friday, 6 September 2013

Border Radius for IE

BorderHYPERLINK "http://pxtoem.com/" HYPERLINK "http://pxtoem.com/"RadiusHYPERLINK "http://pxtoem.com/" HYPERLINK "http://pxtoem.com/"forHYPERLINK "http://pxtoem.com/" HYPERLINK "http://pxtoem.com/"IE

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://malsup.github.com/jquery.corner.js"></script>
avascript:
$('.box').corner();
HTML:
<div class="box">Hello</div>
CSS:
box{
  width:150px;
  height:28px;
  padding:10px;
}

On Mouse Over show hid div Jqeury

On Mouse Over show hid div Jqeury

<!------on mouse over show----------->
$("#ADDropdownLink").mouseenter(function() {
      $("#ADDropdown").show();
}).mouseleave(function() {
      $("#ADDropdown").hide();
});
<!------on mouse over show----------->

Show and Hide function with Jquery

Show and Hide function with Jquery

Use after close head tag

<script>
$(document).ready(function(){
  $("#hide").click(function(){
    $("p").hide();
  });
  $("#show").click(function(){
    $("p").show();
  });
});
</script>


Use after in body tag

<div id="show">Show</div>
<div id="hide">Hide</div>
<p>Your Content is Showing</p>

Show and Hide function with element

Show and Hide function with element

<script type="text/javascript">
<!--
    function toggle_visibility(id) {
       var e = document.getElementById(id);
       if(e.style.display == 'block')
          e.style.display = 'none';
       else
          e.style.display = 'block';
    }
//-->
</script>

<a href="#" onclick="toggle_visibility('foo');">Click here to toggle visibility of element #foo</a>
<div id="foo">This is foo</div>

Show and Hide function with element you can use multiple ID.

HTML5 Script for IE

HTML5 Script for IE

<!--[if IE]>
  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->


Insert HTML5 Shiv Script after close head tag.

How to Import CSS in CSS

How to Import CSS in CSS

@import url("import1.css");

JQuery HTML script