Home > cross-browser compatibility

Javascript window.location.hash

Javascript window.location.hash returns the value of URL that comes after "#"For ex.             https://mundrisoft.com/tech-bytes/wp-admin/post-new.php#searchtermwindow.location.hash will return "#searchterm" in browsers IE 11, Edge and Chrome  and Mozilla For an empty hash URL:          https://mundrisoft.com/tech-bytes/wp-admin/post-new.php#window.location.hash will return"#" -> Chrome, Mozilla, IE 11"" -> EdgeSo, keep this little

This Article is TAGGED in , , , . Read more

IE-8 Border Radius

How to use border radius for IE-8?HTMLWe can use the ie-css3 file which is a .htc(HTML Component file) file. Just put the file in root folder and can be used as follows: div { height: 100px; width: 100px; -webkit-border-radius: 10px ; -moz-border-radius: 10px ; border-radius: 10px ; behavior: url('ie-css3.htc'); background-color: #0072AE; background: #0072ae; /* Old browsers */ }  Note: Please

This Article is TAGGED in , , , , , . Read more