Created
September 29, 2013 21:24
-
-
Save mdinstuhl/6756674 to your computer and use it in GitHub Desktop.
When I was your age we didn't HAVE no fancy prototypes or jquerys!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function mnuRollover(mnuName){ | |
mnuName.style.color = 'red'; | |
mnuName.style.cursor = 'hand'; | |
} | |
function mnuRollout(mnuName){ | |
mnuName.style.color = 'darkred'; | |
mnuName.style.cursor = 'default'; | |
} | |
function mnuOnClick(pageName){ | |
var sPageName; | |
sPageName = pageName; | |
window.location = sPageName; | |
} | |
function switchPic(picName){ | |
var sPicName; | |
sPicName = "/images/" + picName + ".jpg"; | |
imgProfile.src = sPicName; | |
} | |
function noPic(){ | |
imgProfile.src = "/images/nopic.jpg"; | |
} | |
function mnuS_Rollover(mnuName){ | |
mnuName.style.fontWeight = 600; | |
mnuName.style.cursor = 'hand'; | |
} | |
function mnuS_Rollout(mnuName){ | |
mnuName.style.fontWeight = 400; | |
mnuName.style.cursor = 'default'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment