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
.binary-image { | |
width: 96px !important; | |
border-radius: 50% | |
} | |
protected string getAppearenceBackground() { | |
return (Utility.FixValue<string>(PageProvider.MainProvider.DataProvider.Item["APPEARENCE_BACKGROUND_COLOR"].GetValue())).ToString().Replace(double.NaN.ToString(), ""); | |
} | |
protected string getAppearenceBackgroundFontColor() { |
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 putFull = (PageState == FormStateEnum.Navigation); | |
if (!this.IsPostBack) | |
{ | |
ClientScript.RegisterStartupScript(this.GetType(), "AdjustFileUploader", string.Format("<script>setTimeout(\"AdjustFileUploader('{0}');\", 100);</script>", putFull.ToString())); | |
} | |
else | |
{ | |
AjaxPanel.ResponseScripts.Add(string.Format("setTimeout(\"AdjustFileUploader('{0}');\", 100);", putFull.ToString())); | |
} |
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 AdjustFileUploader(putFull) { | |
var j$ = jQuery.noConflict(); | |
if (putFull.toLowerCase() == "true") { | |
j$("#GMultiMedia1_ImagePanel").addClass("full"); | |
} else { | |
j$("#GMultiMedia1_ImagePanel").removeClass("full"); | |
} | |
} |
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
.NameLabel { | |
display: none !important; | |
} | |
#GMultiMedia1_BorderPanel { | |
border-color: black; | |
border-style: solid; | |
border-width: 1px; | |
border-radius: 10px; | |
padding-top: 15px; |
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
<div | |
id="GMultiMedia1_BorderPanel" | |
style="position: relative; top: 0px; left: 0px; width: 100%; height: 270px" | |
> | |
<div id="GMultiMedia1_ImagePanel" style=" | |
border-width: 1px; | |
border-style: solid; | |
text-align: center; | |
position: relative; | |
top: 0px; |
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 LoadingIFrame(IFrameElement, IFrameLoadingElement) { | |
var $j = jQuery.noConflict(); | |
$j(document).ready(function () { | |
var iframe = document.querySelector("#" + IFrameElement); | |
var image = document.querySelector("#" + IFrameLoadingElement); | |
new MutationObserver((mutations) => { | |
mutations.some((mutation) => { | |
if ( |
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 LoadingIFrame(IFrameElement, IFrameLoadingElement) { | |
var $j = jQuery.noConflict(); | |
$j(document).ready(function () { | |
var iframe = document.querySelector('#' + IFrameElement); | |
var image = document.querySelector('#' + IFrameLoadingElement); | |
new MutationObserver((mutations) => { | |
mutations.some((mutation) => { | |
if (mutation.type === 'attributes' && mutation.attributeName === 'src') { |
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
new MutationObserver((mutations) => { | |
mutations.some((mutation) => { | |
if (mutation.type === 'attributes' && mutation.attributeName === 'src') { | |
iframe.parentElement.style.display = 'none'; | |
image.parentElement.style.display = 'block'; | |
return true; | |
} | |
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
Sem Arrow Functions. | |
new MutationObserver(function(mutations) { | |
}).observe(iframe, { | |
atributes: true, | |
atributeFilter: ['src'], | |
attributeOldValue: 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
new MutationObserver((mutations) => { | |
mutations.some((mutation) => { | |
}).observe(iframe, { | |
atributes: true, | |
atributeFilter: ['src'], | |
attributeOldValue: true | |
}); |
NewerOlder