-
-
Save hughfdjackson/1703648 to your computer and use it in GitHub Desktop.
sendoushi - pastebin.com/JzGNVwCB
This file contains hidden or 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
| void function(){ | |
| var InstM=jQuery('#InstitutionalM'); | |
| var SolutM=jQuery('#SolutionsM'); | |
| var DevM=jQuery('#DevelopersM'); | |
| InstM.subname=jQuery('#InstitutionalSM'); | |
| SolutM.subname=jQuery('#SolutionsSM'); | |
| DevM.subname=jQuery('#DevelopersSM'); | |
| var AllSubMenu=jQuery('#InstitutionalM,#SolutionsM,#DevelopersM'); | |
| AllSubMenu.click(function(){ SubMenusFnc(this); }); | |
| function SubMenusFnc(el){ | |
| current=jQuery(el); | |
| alert(current.subname); | |
| AllSubMenu.each(function(){ | |
| //alert(current.subname); | |
| }); | |
| } | |
| }() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment