SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Mar 2000
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have to get the functionalty like the Hotmail Signup page. When one selects the Country, the page refreshes and the corresponding States for that Country and the time Zone is loaded on to the page. I have to implement the same on my site using ASP and MSAccess. Can somebody please help me out??.

    Thanx in advance.

  2. #2
    SitePoint Enthusiast
    Join Date
    Jun 2000
    Location
    Leeds, UK
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If it's a drop-down menu your using, you could just load another HTML page, with that TIME/DATE AND COUNTRY into the document, although this would take sometime if you have lots of countries, working out the GMT offset etc. But if you want to spend sometime revising it, that would do the trick:

    I took the time to prepare a basic example..

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>

    &lt;SCRIPT language=JavaScript&gt;
    &lt;!--
    function formHandler(form){
    var URL = form.page.options[form.page.selectedIndex].value;
    window.location.href = URL; }
    --&gt;&lt;/SCRIPT&gt;

    &lt;FORM name=form&gt;
    &lt;SELECT name=page onchange=formHandler(this.form) size=1&gt;
    &lt;OPTION selected value=" "&gt;United Kingdom&lt;/OPTION&gt;
    &lt;OPTION value=US.html&gt;United States&lt;/OPTION&gt;
    &lt;OPTION value=Japan.html&gt;Japan&lt;/OPTION&gt;
    &lt;/SELECT&gt;
    &lt;/FORM&gt;

    [/code]

    You would have to do the same with the Time offset, and just replace the links and text.

    I'm sure you could find a cgi script somewhere which would do it for you, but i'm not the greatest at that, so speak to someone like Wayne Luke or TWTCommish.

    Maybe you could try http://www.cgi-resources.com they might have something such as that, but be prepared to pay for it.

    Hope that helps, good luck

    Hell.

  3. #3
    Freelance Web Designer KeithMcL's Avatar
    Join Date
    Oct 1999
    Location
    Dublin, Ireland
    Posts
    1,125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Another place to look for a script that might do the same thing is http://www.hotscripts.com

    Regards,

    ------------------
    KeithMcL
    www.webmasterswork.com
    #1 source for web developer jobs online


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •