jQuery contextMenu plugin и IE 6
в общем есть такой плагин jQuery contextMenu
для него пишу такой код $.contextMenu({ selector: 'map', build: function($trigger, v) { // this callback is executed every time the menu is to be shown // its results are destroyed every time the menu is hidden // e is the original contextmenu event, containing e.pageX and e.pageY (amongst other data) return { callback: function(key, options) { if(key=="op1"){ var u, w, t; u = v.target; // console.dir(u.textContent); t = j.stations[u.id.slice(2)]; if (!t) { return } codeAddress(t.n); } }, items: { "op1" : {name: "показать на карте", icon: "marker"}, "op2": {name:"Инфо",disabled: true,icon: "info" } }}; } }); в ie 8 и выше все нормально но в ie7 меню при правом клике не выпадает подскажите что сделать |
Может пора в след за Google отказаться от IE6,7? Много времени можно потратить на адаптацию отдельных jQuery плагинов...
|
Часовой пояс GMT +3, время: 09:56. |