Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Default Time Zone Offset
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Default Time Zone Offset

 Post Reply Post Reply Page  <12
Author
thekiwi View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 23 November 2003
Location: New Zealand
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote thekiwi Quote  Post ReplyReply Direct Link To This Post Posted: 11 December 2003 at 3:22pm
Originally posted by cooper 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
Back to Top
cooper View Drop Down
Newbie
Newbie


Joined: 01 September 2003
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote cooper Quote  Post ReplyReply Direct Link To This Post Posted: 11 December 2003 at 11:53pm
Yes! Thank you!!!
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.