We are using Jira 6.1 and our default Company browser is IE 8.0 . I want that only users that still use IE with Jira will see the Announcementbanner. Is this possible. If yes, how?
IE conditional comments work fine in the announcement banner, eg:
<!--[if IE 8]> <div style="background-color: #FFFF00; padding: 2px; text-align: center; color: black;"> <strong>IE8</strong> - I wouldn't let my dog use IE8, get a better browser. </div> <![endif]-->
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I came across this thread trying to do this for IE 11.
This is the JavaScript I came up with.
<script>
//detects if user uses Internet Explorer 11 and displays a message
var ua = window.navigator.userAgent;
var trident = ua.indexOf('Trident/');
if (trident > 0) {
document.write('Type your custom message here.');
}
</script>
I'm not a developer, so this may be an inelegant solution. But, it works for us! It shows just the announcement to IE 11 users.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rob,
You could try using javascript in the announcement banner so it only shows up when the browser is IE.
But as I don't have any decent javascript experience I wouldn't have a clue about which javascript you need exactly.
I did find the following question that might help you on your way:
https://answers.atlassian.com/questions/104845/javascript-works-in-announcement-banner-but-not-when-in-web-resource-module
Best regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.