Click to See Complete Forum and Search --> : question about custom search


faheja
12-03-2006, 03:17 PM
Hey everyone.. Well first off this is what im trying to do..

I have on my web server a bunch of pages with numbers.. like for ex.

blahblah.com/1.html
blahblah.com/2.html
blahblah.com/3.html
blahblah.com/4.html

ok? and now comes to my problem. I have this blank page that i have a text box and a button that says go..

when they type in 1, or 2..

i want it to just direct it to that page...

can someone point me in the right diection on how to go with this? I can do it in flash but really dont want to. Maybe javascript? or will even html handle it?


thanks!

KDLA
12-04-2006, 08:52 AM
Might be easier if you used a drop down box:

<label for"menu">Pick Your Page:</label>
<select id="menu" onchange="window.location=this.value;">
<option selected="selected">Select</option>
<option value="http://blahblah.com/1.html">Page 1</option>
<option value="http://blahblah.com/2.html">Page 2</option>
<option value="http://blahblah.com/3.html">Page 3</option>
<option value="http://blahblah.com/4.html">Page 4</option>
</select>You won't need the "Go" button to make this work.

faheja
12-04-2006, 12:49 PM
Might be easier if you used a drop down box:

<label for"menu">Pick Your Page:</label>
<select id="menu" onchange="window.location=this.value;">
<option selected="selected">Select</option>
<option value="http://blahblah.com/1.html">Page 1</option>
<option value="http://blahblah.com/2.html">Page 2</option>
<option value="http://blahblah.com/3.html">Page 3</option>
<option value="http://blahblah.com/4.html">Page 4</option>
</select>You won't need the "Go" button to make this work.


thanks for the help.. I ended up just making a database.. and making the site in php..

i didnt want to have to see the other pages in a drop down, kinda hidden thing. but it will help someone out.

THANKS!