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
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load | |
If ((Request.UserAgent.IndexOf("AppleWebKit") > 0) Or (Request.UserAgent.IndexOf("Unknown") > 0) Or (Request.UserAgent.IndexOf("Chrome") > 0)) Then | |
Request.Browser.Adapters.Clear() | |
End If | |
End Sub |
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
$.ajax({ | |
type: "GET", | |
url: serviceUrl, | |
success: function (response) { | |
$("#" + nocnok_ad_container).html(response); | |
}, | |
failure: function (error) { | |
alert('Error:\n' + JSON.stringify(error)); | |
} | |
}); |
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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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
//parameter or returns an empty string | |
jQuery.getURLParameter = function(name) { | |
return decodeURI( | |
(RegExp(name + '=' + '(.+?)(&|$)').exec(location.search) || [, ''])[1] | |
); | |
}; |
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($) { | |
ko.bindingHandlers.script = { | |
update: function (element, valueAccessor, allBindingsAccessor, viewModel, bindingContext) { | |
var options = ko.utils.unwrapObservable(valueAccessor()); | |
if(options.path != ''){ | |
$(element).html("<script src='" + options.path + options.parameters + "'></script>"); | |
} | |
} | |
}; |
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
<a class="accordion-toggle" data-toggle="collapse" | |
data-parent="#accordion2" href="#collapseOne" | |
data-bind="toggleCollapseText: {openedText: '@GetText("AdvancedOptions") ▲', closedText: '@GetText("AdvancedOptions") ▼'}"> | |
@GetText("AdvancedOptions") ▲ | |
</a> |
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 getOptionGroup = function(jsonList){ | |
var group; | |
var groups = {}; | |
var indexGroup = 0; | |
var optionsGroup = []; | |
$.each(jsonList, function(index, item){ | |
group = jsonList[index].group; | |
if(!(group in groups)) | |
groups[group] = []; | |
var option = {id: jsonList[index].id, name: jsonList[index].name}; |
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 id="text" type="text" value="http://jindo.dev.naver.com/collie" style="width:80%" /><br /> | |
<div id="qrcode"></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
<input id="text" type="text" value="http://jindo.dev.naver.com/collie" style="width:80%" /><br /> | |
<div id="qrcode"></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
<div class="navbar navbar-inverse navbar-fixed-top"> | |
<div class="container"> | |
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse"> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
</button> | |
<a class="navbar-brand" href="#">Responsive Image</a> | |
<div class="nav-collapse collapse"> | |
<ul class="nav navbar-nav"> |