Sammlung
This commit is contained in:
29
Sammlung/Praktikum/4/js/nav.js
Normal file
29
Sammlung/Praktikum/4/js/nav.js
Normal file
@ -0,0 +1,29 @@
|
||||
// ----------------------------------------------
|
||||
// litnav.js
|
||||
// ----------------------------------------------
|
||||
|
||||
// ----------------------------------------------
|
||||
FORUM.Nav_cl = Class.create({
|
||||
|
||||
// ----------------------------------------------
|
||||
initialize: function () {
|
||||
this.render_px();
|
||||
this.initHandler_p();
|
||||
},
|
||||
|
||||
render_px: function (data_opl) {
|
||||
$('#idNav .clLinkToLogout').hide();
|
||||
},
|
||||
|
||||
initHandler_p: function () {
|
||||
$("#idNav").on("click", "a", function (event_opl) {
|
||||
var action_s = $(event_opl.target).attr('data-action');
|
||||
FORUM.es_o.publish_px('ContentChanged', [action_s, null]);
|
||||
|
||||
event_opl.stopPropagation();
|
||||
event_opl.preventDefault();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// EOF
|
Reference in New Issue
Block a user