This file contains hidden or 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
$("input").each(function(){ | |
var val = $(this).attr("placeholder"); | |
$(this).attr("value", val); | |
}); |
This file contains hidden or 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
$("input").on("focus", function(){ | |
var elem = $(this).attr("value"); | |
$(this).attr("value", ""); | |
}); |
This file contains hidden or 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
$("input").on("focusout", function(){ | |
var val = $(this).attr("placeholder"); | |
$(this).attr("value", val); | |
}); |
This file contains hidden or 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
$("input").each(function(){ | |
var val = $(this).attr("placeholder"); | |
$(this).attr("value", val); | |
}); | |
$("input").on("focus", function(){ | |
var elem = $(this).attr("value"); | |
$(this).attr("value", ""); | |
}); |
This file contains hidden or 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 BrowserDetect = | |
{ | |
init: function () | |
{ | |
this.browser = this.searchString(this.dataBrowser) || "Other"; | |
this.version = this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || "Unknown"; | |
}, | |
searchString: function (data) | |
{ |
This file contains hidden or 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
<div id="gmap" class="" data-adress="Company, Street, Zip, City" data-lat="5.2135123151" data-lng="10.2131212"></div> | |
<div class="_mapWindow"> | |
<strong>Something</strong> | |
<p> | |
Text Text<br /> | |
FoooBaaaar | |
</p> | |
</div> |
This file contains hidden or 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
<ul class="tabs"> | |
<li><a href="" data-pagenumber="1"></a></li> | |
<li><a href="" data-pagenumber="2"></a></li> | |
<li><a href="" data-pagenumber="3"></a></li> | |
<li><a href="" data-pagenumber="4"></a></li> | |
</ul> | |
<div data-page="1"></div> | |
<div data-page="2"></div> | |
<div data-page="3"></div> |
This file contains hidden or 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
Scroll: { | |
init: function() { | |
App.Scroll.calcScroll(); | |
App.Scroll.onScroll(); | |
}, | |
calcScroll: function() { |
This file contains hidden or 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 iOSversion() { | |
if (/iP(hone|od|ad)/.test(navigator.platform)) { | |
var v = (navigator.appVersion).match(/OS (\d+)_(\d+)_?(\d+)?/); | |
return [parseInt(v[1], 10), parseInt(v[2], 10), parseInt(v[3] || 0, 10)]; | |
} | |
} | |
var ver = iOSversion(); | |
if (ver[0] >= 7 && ver[0] < 8) { |
OlderNewer