I am creating an information kiosk to display production information. The screen will be on constantly. While the information contained within a large table will be refreshed periodically, I want to pass a line through the screen periodically to reduce the screen burn effect. I found this code, and it's exactly what I want to do, but I cannot get it to work:
I created a very simple html page.When I check the developer console, I get the following error: ReferenceError: $ is not defined.
I am new to JavaScript, and I have been trying to figure out how to incorporate the code into my page.
var $burnGuard = $('<div>').attr('id','burnGuard').css({
For this bit of code above, do I have to specify either 'div' or make a div in my page and give an id? Does the page also have to include a link to jQuery? Any help would be appreciated.