A Pen by Mustafa Omar on CodePen.
This file has been truncated, but you can view the full file.
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
[ | |
{ | |
"sc": "NDLS", | |
"en": "NEW DELHI", | |
"hi": "नई दिल्ली", | |
"ps": true, | |
"ec": "NEW DELHI", | |
"hc": "नयी दिल्ली", | |
"se": "DELHI", | |
"sh": "दिल्ली", |
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
import { NgModule } from "@angular/core"; | |
//Angular Material Components | |
import { MatCheckboxModule } from "@angular/material"; | |
import { MatButtonModule } from "@angular/material"; | |
import { MatInputModule } from "@angular/material/input"; | |
import { MatAutocompleteModule } from "@angular/material/autocomplete"; | |
import { MatDatepickerModule } from "@angular/material/datepicker"; | |
import { MatFormFieldModule } from "@angular/material/form-field"; | |
import { MatRadioModule } from "@angular/material/radio"; |
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
body { | |
background: red; | |
} | |
ul li, ol li { | |
float: left; | |
} | |
ul li a, ol li a { | |
font-size: 14px; | |
} |
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
/*-------------------------------------- | |
Name : HR Unique Class Adder | |
Functionality : Add unique class on all pages dynamically | |
Inventor : Md Hidaytullah Rahmani | |
----------------------------------- */ | |
$(document).ready(function(){ | |
var currentUrl=window.location.pathname; | |
var pageName = currentUrl.split("/").pop(); |
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
//Md Hidaytullah - Web Designer and UI Developer | |
$(document).ready(function() { | |
var myTargetPath = "/website-main/allergy.html"; | |
if(window.location.pathname==myTargetPath) | |
{ | |
$('.about-us').addClass('allergy-page'); | |
} | |
//alert(window.location.pathname); |
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
/*For Equal height for all screen*/ | |
//Md Hidaytullah - Web Designer and UI Developer | |
$(window).resize(function() { | |
$('.home-article').height($(window).height() - 100); | |
}); | |
$(window).trigger('resize'); |
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
//Md Hidaytullah - Web Designer and UI Developer | |
$(document).ready(function(){ | |
var biggesthei = 0; | |
$(".equal-height").each(function(){ | |
if( $(this).height() > biggesthei ) | |
{ | |
biggesthei = $(this).height() |
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
//Hidayt Rahman - UI Developer | |
//Custom Parallax effect | |
$(window).bind("load resize scroll",function(e) { | |
var y = $(window).scrollTop(); | |
$(".bg").filter(function() { | |
return $(this).offset().top < (y + $(window).height()) && $(this).offset().top + $(this).height() > y; | |
}).css('background-position', '0px ' + parseInt(-y / 9) + 'px'); | |
}); |