- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
var idTa; //id of the textarea (param to makeWhizzyWig)
//OTHER GLOBALS
var oW, sel, rng, papa, trail, ppw, wn=window; //Whizzy contentWindow, current sel, range, parent, DOM path, popwindow;
var sels='';
var buts='';
var vals=new Array();
var opts=new Array();
var dobut=new Array();
//...
w('<div style="width:'+taWidth+'" onmouseover="c(\''+idTa+'\')"><div id="CONTROLS'+idTa+'" class="wzCtrl" unselectable="on">');
//...
function c(id) {//set current whizzy
if (id=="" || whizzies.join().indexOf(id)=='-1') return;
if (id!=idTa){
idTa=id;
try {oW=o("whizzy"+id).contentWindow;} catch(e){alert('set current: '+id);}
if (oW) {if(oW.focus)oW.focus();wn.status=oW.document.body.id; }
}
}
//...
guest 25.02.2010 14:59 # −7
guest 25.02.2010 17:23 # +3
nil 26.02.2010 11:38 # 0
Или хотя бы про Лужкова?
guest 26.02.2010 11:49 # +1
turdman 26.02.2010 13:15 # 0
nil 26.02.2010 15:12 # 0
Казалось бы, при чем тут Лужков?
guest 25.02.2010 16:22 # 0