function init() { //========================================================================================== // if supported, initialize TransMenus //========================================================================================== // Check isSupported() so that menus aren't accidentally sent to non-supporting browsers. // This is better than server-side checking because it will also catch browsers which would // normally support the menus but have javascript disabled. // // If supported, call initialize() and then hook whatever image rollover code you need to do // to the .onactivate and .ondeactivate events for each menu. //========================================================================================== if (TransMenu.isSupported()) { TransMenu.initialize(); // hook all the highlight swapping of the main toolbar to menu activation/deactivation // instead of simple rollover to get the effect where the button stays hightlit until // the menu is closed. cida012.onactivate = function() { document.getElementById("cida012").className = "hover"; }; cida012.ondeactivate = function() { document.getElementById("cida012").className = ""; }; programms013.onactivate = function() { document.getElementById("programms013").className = "hover"; }; programms013.ondeactivate = function() { document.getElementById("programms013").className = ""; }; services014.onactivate = function() { document.getElementById("services014").className = "hover"; }; services014.ondeactivate = function() { document.getElementById("services014").className = ""; }; partnership016.onactivate = function() { document.getElementById("partnership016").className = "hover"; }; partnership016.ondeactivate = function() { document.getElementById("partnership016").className = ""; }; } } if (TransMenu.isSupported()) { var ms = new TransMenuSet(TransMenu.direction.down, 1, 0, TransMenu.reference.bottomLeft); var cida012 = ms.addMenu(document.getElementById("cida012")); var programms013 = ms.addMenu(document.getElementById("programms013")); var services014 = ms.addMenu(document.getElementById("services014")); var partnership016 = ms.addMenu(document.getElementById("partnership016")); cida012.addItem("History","history.php"); // - 0 - num: 0 cida012.addItem("Mission","mission.php"); // - 0 - num: 1 cida012.addItem("Structure","structure.php"); // - 0 - num: 2 cida012.addItem("Staff","staff.php"); // - 0 - num: 3 programms013.addItem("Transparency of the local government and civic participation ","transparency.php"); // - 5 - num: 0 var programms01311 = programms013.addMenu(programms013.items[0]); programms01311.addItem("Civil Transparency Center ","transpcenter.php"); // - 0 - num: 0 programms01311.addItem("Hundred eyes, hundred ears ","tvalidakuri.php"); // - 0 - num: 1 programms01311.addItem("Civic Participation in Kvemo Kartli Decision-Making Process","participation.php"); // - 0 - num: 2 programms01311.addItem("Transparency and Civil Participation in Budget Policy of the Self-governed City of Rustavi","selfgovernment.php"); // - 0 - num: 3 programms01311.addItem("Strengthening the Role of Rural Associations in Democratic Processes in Georgia (STAGE)","stageeng.php"); // - 0 - num: 4 programms013.addItem("Promoting the development of local independent media ","indenpendentmedia.php"); // - 4 - num: 1 var programms01312 = programms013.addMenu(programms013.items[1]); programms01312.addItem("Kvemo Kartli Media Center ","mediacenter.php"); // - 0 - num: 0 programms01312.addItem("Integration – through Information Accessibility","integration.php"); // - 0 - num: 1 programms01312.addItem("Independent Media for Free Election in Kvemo Kartli","independentmedia.php "); // - 0 - num: 2 programms01312.addItem("Independent Media for Civil Development in Kvemo Kartli","mediafordevelopment.php"); // - 0 - num: 3 programms013.addItem("Promoting the development of youth policy","youth.php"); // - 2 - num: 2 var programms01313 = programms013.addMenu(programms013.items[2]); programms01313.addItem("Promoting the development of youth policy","youth1.php"); // - 0 - num: 0 programms01313.addItem("Information Accessibility for the Civil Right of Education","informationaccessibilityy.php"); // - 0 - num: 1 services014.addItem("Newspapaer ","newspapaertimer.php"); // - 0 - num: 0 services014.addItem("Kvemo Kartli Media Center ","kvemokartlimediacenter.php"); // - 0 - num: 1 services014.addItem("News Agency RegInfo","infoagencyreginfo.php"); // - 0 - num: 2 partnership016.addItem("Partners","partners.php"); // - 0 - num: 0 partnership016.addItem("Donors","donors.php"); // - 0 - num: 1 TransMenu.renderAll(); }