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
$(".myBox").click(function(){ | |
window.location=$(this).find("a").attr("href"); | |
return false; | |
}); |
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
void indentedOutput(ostream &outStream, const char *message, bool &newline) | |
{ | |
while (char cur = *message) { | |
if (newline) { | |
outStream << " "; | |
newline = false; | |
} | |
outStream << cur; | |
if (cur == '\n') { | |
newline = true; |
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
.bdi{ | |
direction: rtl; | |
unicode-bidi: embed; | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
border: 1px solid darken($base-color, 20%); | |
text-shadow: 0 -1px 0 darken($base-color, 10%); | |
@include box-shadow(inset 0 1px 0 lighten($base-color, 20%)); |
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
function switchClass(){ | |
var delay = 2000; | |
var colors = new Array ("red", "grey", "green", "blue"); | |
var i = 0; | |
setInterval(function(){ | |
$('span').removeClass(colors[i]); | |
i++; |
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
if($.browser.msie){//if it's Microsoft Internet Explorer | |
alert($.browser.version);//Browser version | |
} |
NewerOlder