Thread: I'm still...
Results 1 to 9 of 9
-
02-02-2001, 05:23 PM #1
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.
-
02-02-2001, 05:46 PM #2
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
-
02-02-2001, 08:01 PM #3
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.
-
02-02-2001, 10:24 PM #4
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
-
02-03-2001, 03:55 PM #5
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.
-
02-03-2001, 04:11 PM #6
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.
-
02-03-2001, 04:24 PM #7
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
-
02-03-2001, 08:30 PM #8
What is different in the two codes? This one works, but the other one is the exact thing, but it doesn't.
-
02-03-2001, 10:35 PM #9
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