Структурирования информации с помощью PHP и MySQL
GetSelection
this.SaveSelection CState SaveSelection
function CState RestoreSelection()
if (this.selection) this.selection.select()
function CState GetSelection()
var oSel this.selection
if ( oSel)
oSel idEditbox.document.selection.createRange()
oSel.type idEditbox.document.selection.type
return oSel
function CState SaveSelection()
g state.selection idEditbox.document.selection.createRange()
g state.selection.type idEditbox.document.selection.type
function CPopup Init()
var sz
HTML ID popup
STYLE
document.styleSheets.defPopupSkin.cssText
n
document.styleSheets.popupSkin.cssText
/STYLE
SCRIPT function IMAGELoaded(w) parent. IMAGELoaded(w,self) /SCRIPT
BODY
ONSCROLL return false SCROLL no TABINDEX -1
ONSELECTSTART return event.srcElement.tagName INPUT
DIV ID puRegion
TABLE ID header
TR
TH NOWRAP ID caption /TH
TH VALIGN middle ALIGN RIGHT DIV ID close ONCLICK parent. CPopup Hide()
L CLOSEBUTTON TEXT
/DIV /TH
/TR
/TABLE
DIV ALIGN CENTER ID content /DIV
/DIV /BODY
/HTML
idPopup.document.open( text/html , replace )
idPopup.document.write(sz)
idPopup.document.close()
function CPopup InsertDatabound(eSelect)
if (eSelect.selectedIndex 0)
var sElemName eSelect.options[eSelect.selectedIndex].text;
var iLen sElemName.length
sElemName
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 |


