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
<!-- | |
Sets the value back to select | |
Understands selected attribute | |
Arrow control works | |
TODO: optgroup, size,… (I haven't had need for those yet – if you had and want to share please contact me) | |
--> | |
<select class="selectlike"> | |
<option data-html="<b>Fancy text with HTML and styles</b>">Not so fancy fallback text</option> | |
</select> |
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
/* Ondrej Slamecka 2012 */ | |
/** | |
* @param success Callback called on success | |
* @returns bool | |
*/ | |
google.maps.Map.prototype.useGeolocation = function(success, failure) | |
{ | |
if(typeof success === 'undefined') | |
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
/** | |
* Returns styleProperty of given element | |
*/ | |
function getStyle(el, styleProperty) | |
{ | |
if (el.currentStyle) | |
return el.currentStyle[styleProperty]; | |
else if (window.getComputedStyle) | |
return document.defaultView.getComputedStyle(el,null).getPropertyValue(styleProperty); | |
} |
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
<?php | |
/** | |
* TexyCache - class for caching Texy! results | |
* ------------------------------------------- | |
* | |
* Using Texy! the great web text markup-language processor by David Grudl (http://davidgrudl.com) | |
* For more information please visit http://texy.info | |
* | |
* @author Ondrej Slamecka, 2010 | |
* @license New BSD license (see http://texy.info/en/licence) |
NewerOlder