Структурирования информации с помощью PHP и MySQL
Display(szType)
var oRenderer, szCacheKey PopupRenderer. szType
oRenderer g state.aCache[szCacheKey]
if (oRenderer.autoSize)
idPopup.document.all.puRegion.style.pixelHeight document.all.idPopup.style.pixelHeight idPopup.document.all.puRegion.offsetHeight
idPopup.document.all.puRegion.style.pixelWidth document.all.idPopup.style.pixelWidth idPopup.document.all.puRegion.offsetWidth 50
document.all.idPopup.style.pixelLeft (document.body.clientWidth - idPopup.document.all.puRegion.offsetWidth) / 2
else
idPopup.document.all.puRegion.style.pixelHeight document.all.idPopup.style.pixelHeight document.body.clientHeight - idToolbar.offsetHeight- document.all.idMode.offsetHeight-20
idPopup.document.all.puRegion.style.pixelWidth document.all.idPopup.style.pixelWidth document.body.clientWidth - 50
document.all.idPopup.style.pixelLeft 25
document.all.idPopup.style.zIndex 2
idPopup.focus()
function CPopupRenderer(szType)
this.szType szType
this.elCurrent this.oDocument null
this.ResetContext CPopupRenderer ResetContext
this.GetCaption CPopupRenderer GetCaption
this.GetHTML CPopupRenderer GetHTML
this.autoSize true
this.OnMouseOver new Function()
this.OnKeyDown CListPopupRenderer GenericOnKeyDown
switch(szType)
case formatblock :
case font :
case fontsize :
this.OnMouseOver CListPopupRenderer OnMouseOver
this.OnKeyDown CListPopupRenderer OnKeyDown
case BackColor :
case ForeColor
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |


