Sha256: d79247ace9155744172a9c7d09293ade82f203e1881161e80a78592578e2664d
Contents?: true
Size: 1.11 KB
Versions: 1
Compression:
Stored size: 1.11 KB
Contents
/* * @File Name : pageFormAdmin.js * @Company Name : Mindfire Solutions Private Limited * @Creator Name : Vikram Kumar Mishra * @Date Created : 2012-07-05 * @Date Modified : * @Last Modification Details : * @Purpose : To handle menu related stuff */ $(document).ready(function(){ // assigning DOM element li in a variable var menuLi = $('.pages-menu-li'); /* * @params : None * @return : None * @purpose : initializing the functions call to bind events with DOM element */ var initialize = function(){ //function call to add tab menuLi.hover(showInnerItem); } // end initialize function /* * @params : None * @return : None * @purpose : To show nested menu items */ var showInnerItem = function(){ var childUl = $(this).find('ul') childUl.css('display: block'); }; //function call to initialize all the methods required when document is ready initialize(); }); //end ready function
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mcms_pages-0.0.1 | app/assets/javascripts/menuPage.js |