The following code is my attempt to pop up a message to any user visiting the page (Which is only for IE users).
<script src="jquery.reject.js"></script>
<script>
$(document).ready(function() {
$.reject({
reject: { all: true },
header: 'Internet Explorer is NOT Supported!',
paragraph1: 'You will not be able to blah blah blah.',
paragraph2: 'Please choose one of the browsers below for this to function.',
closeMessage: 'Note: You can still blah blah blah.'
});
return false;
});
</script>
What is wrong with the code? There are no syntax errors, but nothing happens when the page is loaded.
Thank you.
EDIT: Line 4, fixed to what it currently is. Still fails though.
return false, but apart from that it looks okay (assuming that the plug-in itself advises that particular layout/functions and so forth.