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
-webkit-border-radius: 2px; | |
-moz-border-radius: 2px; | |
-ms-border-radius: 2px; | |
-o-border-radius: 2px; | |
border-radius: 2px; | |
background-clip: padding-box |
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
var kmlUrl = '[url]'; | |
var kmlOptions = { | |
suppressInfoWindows: true, | |
preserveViewport: false, | |
map: theMap | |
}; | |
var kmlLayer = new google.maps.KmlLayer(kmlUrl, kmlOptions); | |
kmlLayer.setMap(theMap); // the name of thye map |
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
geoXml = new geoXML3.parser({ | |
map: theMap, | |
processStyles: false, | |
suppressInfoWindows: true, | |
singleInfoWindow: true, | |
afterParse: useTheData | |
}); | |
geoXml.parse('[kmlfile]'); | |
function useTheData(doc) { |
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
/* Cross browser transparency */ | |
.transparent_class { | |
filter:alpha(opacity=50); | |
-moz-opacity:0.5; | |
-khtml-opacity: 0.5; | |
opacity: 0.5; | |
} |
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
opacity: 0.7; | |
filter: alpha(opacity=70); | |
-moz-opacity: 0.7; | |
-khtml-opacity: 0.7; |
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
/* This is a linear gradient that will go from: | |
very light grey (#EEE) at the top, | |
to medium grey (#BBB) at the bottom | |
*/ | |
.grey_gradient { | |
/* Graceful fallback for unsupported browsers */ | |
background: #ccc; | |
/* Firefox 3.6+ */ | |
background-image: -moz-linear-gradient(top, #eee, #bbb); | |
/* Webkit (Safari 4+, Chrome) */ |
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
$varobj = get_the_terms( get_the_ID (), "judet" ); | |
foreach($varobj AS $key => $value ) | |
{ | |
$arr[] = $value->name; | |
} | |
/* | |
stdClass Object | |
( | |
[term_id] => | |
[name] => |
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
var str = "Hello World!"; | |
var res = str.toUpperCase(); |
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 add_element(content, element, type,id) { | |
jQuery(element).append(jQuery('<' + type + ' id="'+id+'">').append(content)); | |
} |
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
var str = "Visit Microsoft!"; | |
var res = str.replace("Microsoft","W3Schools"); |
OlderNewer