-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathmylib-buildquery.asp
167 lines (139 loc) · 4.3 KB
/
mylib-buildquery.asp
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<%
Dim bAdjacent, bAjax, bAjaxForm, bAjaxLink, bArray, bAudio, bBorder, bBookmark, bCenter, bClass, bCollections, bContextClick, bCookie, bCoverDocument, bCrumb, bDirectX, bDispatch, bDOM, bDOM0, bDrag, bEase, bEvent, bEvery, bFilter, bFlash, bForEach, bForm, bFullscreen, bFX, bGetHTML, bHelp, bHTML, bImage, bImport, bLocationQuery, bMap, bMargin, bMaximize, bMousePosition, bMouseWheel, bOffset, bOpacity, bOverlay, bPlugin, bPosition, bPreload, bPresent, bQuery, bRegion, bRequester, bRollover, bScroll, bSerialize, bSetAttribute, bShow, bSize, bSome, bStatusBar, bScript, bScrollFX, bStyle, bStyleSheets, bText, bUpdater, bViewport, bObjects, bDollar
Dim bXHTMLSupport
Dim strVersion
strVersion = "1.0"
Dim bEdit
bEdit = (Request.QueryString("action") = "edit")
Function CheckSetting(strName)
If bPersistent And Not bEdit Then
If Not IsNull(Request.Cookies("build")) Then
If Request.Cookies("build").HasKeys Then
CheckSetting = Request.Cookies("build")(strName) = "on"
Exit Function
End If
End If
End If
If Request.QueryString(strName) <> "" Then
CheckSetting = True
Response.Cookies("build")(strName) = "on"
Else
CheckSetting = False
Response.Cookies("build")(strName) = ""
End If
Response.Cookies("build").Expires = DateAdd("d", 30, Now())
End Function
bXHTMLSupport = CheckSetting("xhtmlsup")
bAjax = CheckSetting("ajax")
If bAjax Then
bRequester = CheckSetting("requester")
End If
bArray = CheckSetting("array")
If bArray Then
bEvery = CheckSetting("every")
bFilter = CheckSetting("filter")
bForEach = CheckSetting("foreach")
bMap = CheckSetting("map")
bSome = CheckSetting("some")
End If
bBookmark = CheckSetting("bookmark")
bPlugin = CheckSetting("plugin")
If bPlugin Then
bAudio = CheckSetting("audio")
bFlash = CheckSetting("flash")
End If
bCookie = CheckSetting("cookie")
If bCookie Then
bCrumb = CheckSetting("crumb")
End If
bDOM = CheckSetting("dom")
If bDOM Then
bCollections = CheckSetting("collections")
bQuery = CheckSetting("query")
If bQuery Then
bObjects = CheckSetting("objects")
bDollar = CheckSetting("dollar")
End If
bScript = CheckSetting("script")
bSetAttribute = CheckSetting("setattribute")
If bSetAttribute Then
bImport = CheckSetting("import")
End If
bStyleSheets = CheckSetting("stylesheets")
bText = CheckSetting("text")
End If
bEvent = CheckSetting("event")
If bEvent Then
bContextClick = CheckSetting("contextclick")
bHelp = CheckSetting("help")
bMouseWheel = CheckSetting("mousewheel")
bRollover = CheckSetting("rollover")
bDispatch = CheckSetting("dispatch")
bMousePosition = CheckSetting("mouseposition")
bDOM0 = CheckSetting("dom0")
End If
bForm = CheckSetting("form")
If bForm Then
bSerialize = CheckSetting("serialize")
End If
bImage = CheckSetting("image")
If bImage Then
bPreload = CheckSetting("preload")
End If
bStatusBar = CheckSetting("statusbar")
bStyle = CheckSetting("style")
If bStyle Then
bClass = CheckSetting("class")
bBorder = CheckSetting("border")
bMargin = CheckSetting("margin")
bDirectX = CheckSetting("directx")
bFX = CheckSetting("fx")
If bFX Then
bEase = CheckSetting("ease")
End If
bOpacity = CheckSetting("opacity")
bPresent = CheckSetting("present")
bShow = CheckSetting("show")
bPosition = CheckSetting("position")
bSize = CheckSetting("size")
End If
bHTML = CheckSetting("html")
bLocationQuery = CheckSetting("locationquery")
bOffset = CheckSetting("offset")
bScroll = CheckSetting("scroll")
bViewport = CheckSetting("viewport")
If bOffset Then
bRegion = CheckSetting("region")
End If
' Combinations
If bPosition And bSize And bOffset Then
bAdjacent = CheckSetting("adjacent")
bOverlay = CheckSetting("overlay")
End If
If bViewport And bPosition Then
bCenter = CheckSetting("center")
If bSize Then
bCoverDocument = CheckSetting("coverdocument")
bFullscreen = CheckSetting("fullscreen")
bMaximize = CheckSetting("maximize")
End If
End If
If bScroll And bFX Then
bScrollFX = CheckSetting("scrollfx")
End If
If bScroll And bMousePosition And bPosition Then
bDrag = CheckSetting("drag")
End If
If bRequester And bHTML Then
bUpdater = CheckSetting("updater")
End If
If bRequester And bForm And bDOM Then
bAjaxForm = CheckSetting("ajaxform")
End If
If bRequester And bEvent And bDOM Then
bAjaxLink = CheckSetting("ajaxlink")
End If
If bHTML And bDOM Then
bGetHTML = CheckSetting("gethtml")
End If
%>