cooper wrote:
This part?
<td width="50%" valign="top" class="text" background="<% = strTableBgImage %>"><select name="serverOffSet"> <option value="+" <% If strTimeOffSet = "+" Then Response.Write("selected") %>>+</option> <option value="-" <% If strTimeOffSet = "-" Then Response.Write("selected") %>>-</option> </select> <select name="serverOffSetHours"><%
'Create list of time off-set For lngLoopCounter = 0 to 24 Response.Write(VbCrLf & " <option value=""" & lngLoopCounter & """") If intTimeOffSet = lngLoopCounter Then Response.Write("selected") Response.Write(">" & lngLoopCounter & "</option>") Next %> </select> <% = strTxtHours %></td>
I don't see what to change. Could you help me (I was able to figure it out in older versions... just not this one).
|
Thats the code for displaying it, but there are variables use to monitor the values
To get the timeoffset to default to different values than + and 0 just edit common.asp and set the values to something like:
intTimeOffSet = 8
strTimeOffSet = "-"
Then when someone goes to register it will be prefilled with those values. Is that what you were meaning?
Edited by thekiwi