PhamNgocTan.com demo
Tuesday, November 26, 2013
Monday, November 18, 2013
demo selection error
www.phamngoctan.com demo một vài selection error mà coder hay gặp phải
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<script type="text/javascript">
<!--
jQuery(document).ready(function(){
jQuery(".testClick").click(function(){
var href_contact = "{root}";
href_contact = href_contact+"contact/ajax?sendId=1";
console.log(href_contact);
$.ajax({
type: "POST",
url: href_contact,
cache: false,
success: function(data)
{
alert(data);
}
});
});
});
//-->
</script>
<div class="contact_form">
<h1>Contact form</h1>
<a href="javascript:void(0)" class="testClick">Click to send ajax</a>
</div>
Demo thay đổi màu phần được chọn theo class
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
<style> .pink::selection { background: #DDA9A9; color: white; } .pink::-webkit-selection { background: #DDA9A9; color: white; } .pink::-moz-selection { background: #DDA9A9; color: white; } .green::selection { background: #33E41B; color: white; } .green::-webkit-selection { background: #33E41B; color: white; } .green::-moz-selection { background: #33E41B; color: white; } </style> <div class="pink"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries </div> <p class="green">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries</p>
Demo thay đổi màu phần được chọn cho toàn bộ trang
www.phamngoctan.com demo selection
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries1 2 3 4 5 6 7 8 9 10 11 12 13 14
<style> ::selection { background: #57755D; color: white; } ::-webkit-selection { background: #57755D; color: white; } ::-moz-selection { background: #57755D; color: white; } </style>
Subscribe to:
Posts (Atom)