add_action('admin_init', 'get_user_info');
function get_user_info(){
global $current_user;
get_currentuserinfo();
}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
padding : 0; | |
margin : 0; | |
} | |
menu:after { | |
content: ' '; | |
display: block; | |
width : 0; | |
height : 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body{ | |
background-color: #DDD; | |
} | |
.accslide { | |
width: 600px; | |
height: 300px; | |
border: 1px solid black; | |
margin: 0 auto; | |
overflow: hidden; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<div>1</div> | |
<div>1</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> | |
<script> | |
jQuery10 = jQuery; | |
$.noConflict(); // remove $ | |
</script> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.tbl{ | |
display: table; | |
width: 100%; | |
} | |
.tblc{ | |
display: table-cell; | |
} | |
html,body,.tbl,.tblc{ | |
height: 100%; | |
vertical-align: middle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html,body{ | |
padding: 0; | |
margin: 0; | |
height: 100%; | |
} | |
.box { | |
position: absolute; | |
top: 0; | |
bottom: 0; | |
left: 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.grids > * { | |
outline: 1px dashed gray; | |
} | |
.grids > * > * { | |
outline: 1px dashed lightblue; | |
} | |
.grids > * > * > *{ | |
outline: 1px dashed blue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* based on http://www.red-team-design.com/how-to-create-slick-effects-with-css3-box-shadow*/ | |
/* --------------------------- */ | |
body { | |
background-color: #a9a9a9; | |
} | |
span { | |
font-family: verdana; | |
font-size: x-large; | |
} |