Mouse Hover Javascript

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Mouse Hover Javascript as PDF for free.

More details

  • Words: 92
  • Pages: 2
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <style> .Item { cursor: hand; font-family: verdana; font-size: 20; font-style: normal; background-color: blue; color: white } .Highlight { cursor: hand; font-family: verdana; font-size: 20; font-style: italic; background-color: white; color: blue } <SPAN class=Item>Milk <SPAN class=Item>Cookies <SPAN class=Item>Eggs <SPAN class=Item>Ham <SPAN class=Item>Cheese <SPAN class=Item>Pasta <SPAN class=Item>Chicken <SCRIPT> function rollon() { if (window.event.srcElement.className == "Item") { window.event.srcElement.className = "Highlight"; } } document.onmouseover = rollon;

function rolloff() { if (window.event.srcElement.className == "Highlight") { window.event.srcElement.className = "Item"; } }

Related Documents

Mouse Hover Javascript
November 2019 3
Hover Tank
November 2019 7
Mouse
April 2020 20
Mouse
May 2020 17
Mouse
November 2019 34
Mouse
April 2020 12