+Mousetrap Posted September 6, 2006 Share Posted September 6, 2006 <select name="target"> <option value="url" selected>SELECT</option> <option value= "http://www.geocaching.com/seek/cache_details.aspx?guid=0884d739-d9c4-4811-a31a-f3181a7df65e"> puzzle</option> <option value= "http://www.geocaching.com/seek/cache_details.aspx?guid=bb3c0a05-688a-4408-9a01-94c715579c19"> dejavu</option> <option value= "http://www.geocaching.com/seek/cache_details.aspx?guid=62b55ae0-d433-4d7f-bc3e-c09fe2fb960e"> farther back</option></select> <form><input type="image" src="gobutton2.gif" width="26" height="26" border="0"></form> Any programmers out there?? I am trying to place a select button on a cache page leading other cachers to some of my other cache pages. The above program ALMOST works. I have 3 selections: PUZZLE, DEJAVU,and FARTHER BACK. the images appear on the cache page but when I make a selection, it returns to the page I have the button on. It will not go the the selected page. Also, the "GO" button works but does not show as a go button. I am not a programmer. The program was copied from the web with my modifications. Can anyone point out what is wrong hare?? Thanks. Quote Link to comment
+the hermit crabs Posted September 6, 2006 Share Posted September 6, 2006 The images appear on the cache page but when I make a selection, it returns to the page I have the button on. It will not go the the selected page. Also, the "GO" button works but does not show as a go button. Not sure about the first question, but for the second: try putting the full URL of the "Go" button image (rather than just "gobutton2.gif"). Quote Link to comment
+Lil Elephants Posted September 6, 2006 Share Posted September 6, 2006 This works... <select id="myURL" name="myURL"> <option value="url" selected>SELECT</option> <option value= "http://www.geocaching.com/seek/cache_details.aspx?guid=0884d739-d9c4-4811-a31a-f3181a7df65e"> puzzle</option> <option value= "http://www.geocaching.com/seek/cache_details.aspx?guid=bb3c0a05-688a-4408-9a01-94c715579c19"> dejavu</option> <option value= "http://www.geocaching.com/seek/cache_details.aspx?guid=62b55ae0-d433-4d7f-bc3e-c09fe2fb960e"> farther back</option> </select> <a href="java script:document.location=document.Form1.myURL.value;">Go</a> Quote Link to comment
+Mousetrap Posted September 6, 2006 Author Share Posted September 6, 2006 This works... <select id="myURL" name="myURL"> <option value="url" selected>SELECT</option> <option value= "http://www.geocaching.com/seek/cache_details.aspx?guid=0884d739-d9c4-4811-a31a-f3181a7df65e"> puzzle</option> <option value= "http://www.geocaching.com/seek/cache_details.aspx?guid=bb3c0a05-688a-4408-9a01-94c715579c19"> dejavu</option> <option value= "http://www.geocaching.com/seek/cache_details.aspx?guid=62b55ae0-d433-4d7f-bc3e-c09fe2fb960e"> farther back</option> </select> <a href="java script:document.location=document.Form1.myURL.value;">Go</a> Thanks for the reply. Well--it almost works. Closest I've gotten so far. I get "page cannot be found" but that's pretty darn good. Now just gotta find out why the page can't be found. I'm wondering if geocaching.com recognizes java script. Should, shouldn't it?? Again--thanks. Ed Quote Link to comment
+Lil Elephants Posted September 6, 2006 Share Posted September 6, 2006 Weird... I'm not sure how it got there but remove the space between "java" and "script" so it is all one word. Quote Link to comment
+Mousetrap Posted September 6, 2006 Author Share Posted September 6, 2006 Weird... I'm not sure how it got there but remove the space between "java" and "script" so it is all one word. YES!! THAT GOT IT. Man I've been working on that for a week. Thanks again--whoever you are. Ed Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.