50 users online (1 members and 49 guests)  

Thread: I'm still...


  Results 1 to 9 of 9
  1. #1
    allstarr
    allstarr's Avatar
    Guest

    Post I'm still...

    lost on the topic of the pull down menus. I looked at the script your using on your page, and I'm confused. I can't see a url to any of the places that you stated after the <option value=> thing, please can you give me the code. The code you gave me earlier didn't work on the web or my hard drive.

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Post

    Refer back to the script I gave you, not the script that is generated on these cgi pages.

    You will have to be more specific as to what your problem is.

    Dave

  3. #3
    allstarr
    allstarr's Avatar
    Guest

    Post

    Ok. It won't work. Web or hardrive. This link is something that other people can't get to, but I made it just now.
    http://www.angelfire.com/anime2/allstarr/Testing.html

    It says there's an error.

  4. #4
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Post

    inside the head you have

    <!-- Begin
    function formHandler(form){
    var URL = document.form.site.options[document.form.site.selectedIndex].value;
    window.location.href = URL;}
    // End -->
    </SCRIPT>


    should be
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    function formHandler(form){
    var URL = document.form.site.options[document.form.site.selectedIndex].value;
    }
    // End -->
    </SCRIPT>

    notice after the line
    window.location.href = URL;

    you have placed { on the same line
    it must be on the next line.

    This is the only problem I see with a quick glance.

    Dave

  5. #5
    allstarr
    allstarr's Avatar
    Guest

    Post

    Still, nothings changed. Like I said in our last conversation on this, it says [document.location.web] is not an object. (something to that sort.) That part I just mentioned is in the head somewhere.

  6. #6
    allstarr
    allstarr's Avatar
    Guest

    Post

    This is what your bottom "Hop To" looks like.
    <td align=right NOWRAP>
    <FONT SIZE="2" FACE="arial">
    <FORM ACTION="http://www.ahfb2000.com/cgi-bin/forumdisplay.cgi" METHOD="GET">
    <INPUT TYPE="HIDDEN" NAME="action" VALUE="topics">
    <B>Hop to: </B><SELECT NAME="number">
    <OPTION value="">Select a Forum
    <OPTION value="">
    <OPTION value="">List of Forums:
    <OPTION value="">
    <OPTION value="9">General Discussion
    <OPTION value="2">HTML Help
    <OPTION value="3">Scripts
    <OPTION value="4">Multimedia
    <OPTION value="5">Graphics
    <OPTION value="6">Site Promotion
    <OPTION value="7">Web Hosting
    <OPTION value="8" SELECTED>E-Commerce
    <OPTION value="10">Show it off!
    <OPTION value="11">Report problems
    </SELECT><INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="Go"></FORM></FONT></TD>

    How did you get those to link to different places? When I tryed it, they all linked to the <for action="http://www.blah.com"> thing.

  7. #7
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Post

    1: I have already said not to refer to the code that is used on these CGI genrtaed pages.

    2:After hearing it enough that it does not work, I decided to show you that it does work if you follow the directions as were posted at http://www.ahfb2000.com/ubb/Forum2/HTML/000019.html

    I created a blank HTML document and added the code as outlined, it works perfect. http://www.ahfb2000.com/pulldownmenu.html

    Dave

  8. #8
    allstarr
    allstarr's Avatar
    Guest

    Post

    What is different in the two codes? This one works, but the other one is the exact thing, but it doesn't.

  9. #9
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Post

    both codes work, one a little differently, and I do not expect you to be able to get the ENTIRE code. I have given you the working code for the last 2 months, I am lost as to what the problem is.

    Dave