first commit
This commit is contained in:
27
templates/site/contrast.php
Normal file
27
templates/site/contrast.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<div id="contrast">
|
||||
<a href="#">
|
||||
<i class="fa fa-adjust"></i>
|
||||
</a>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$( function()
|
||||
{
|
||||
$( 'body' ).on( 'click', '#contrast a', function()
|
||||
{
|
||||
$.ajax(
|
||||
{
|
||||
type: 'POST',
|
||||
cache: false,
|
||||
url: '/ajax.php',
|
||||
data:
|
||||
{
|
||||
a: 'contrast'
|
||||
},
|
||||
success: function( data )
|
||||
{
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user