Jump to content

button tag


Mousetrap

Recommended Posts

<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.

Link to comment

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>

Link to comment

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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...