x
x
x
x
Only portrait mode is currently supported - please rotate your device.
HTML |
---|
<!-- LOADING SPINNER -->
<div id="cover"><div class="loader"></div></div>
<script>
AJS.$("#full-height-container").css("overflow", "hidden");
AJS.$(window).on('load', function() {
AJS.$("#full-height-container").css("overflow", "unset");
$("#cover").hide();
});
</script>
<style>
#main-content > p {
display: none;
}
.general-sidebar-content .general-image-wrapper{
width: 200px!important;
height: 200px!important;
}
.general-sidebar-content .general-image-wrapper img{
object-fit: contain;
}
#cover {
position: fixed;
height: calc(100% - 100px);
width: 100%;
top:61px; left: 0;
background: var(--secondary-color);
z-index:9999;
display: flex;
justify-content: center;
align-items: center;
padding-bottom: 100px;
}
.loader {
border: 5px solid #f3f3f3;
-webkit-animation: spin 1s linear infinite;
animation: spin 1s linear infinite;
border-top: 5px solid #555;
border-radius: 50%;
width: 50px;
height: 50px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style> |
HTML |
---|
<script> AJS.toInit(function(){ let searchIcon = $('.lipifo-search')[0]; $('.aui-button.search')[0].innerHTML = ""; $('.aui-button.search')[0].append(searchIcon); $("form.aui.custom-user-search-form").on("submit", function(){ var checkExist = setInterval(function() { if ($('.inside-table-cell.field-value a').length) { // change href attr to be this site's mentor prof link $("#custom-user-search-results-table a").each(function() { if (this.href.includes("/~")) { let email = this.href.split("/~").pop(); console.log(email); this.href = "/display/MSCOM/Company+Page?company=" + email; } }); clearInterval(checkExist); } console.log("does not exist"); }, 100); // check every 100ms }); }); </script> |
...
OneValley