The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Problem with drop-down menu links
Rgon
post May 24 2007, 01:55 PM
Post #1





Group: Members
Posts: 2
Joined: 24-May 07
Member No.: 2,901



I wrote the code as follows to generate a drop down menu, and open a new window displaying to correct page. This works just fine on Firefox, but in IE does not open anything, and just returns an error on page message.

Here is what I've written:
<FORM name="guideform">
<SELECT name="guidelinks">
<OPTION SELECTED value="Documents/testpass.html">Test
<OPTION value="documents/testpass2.html">PDF Test
</SELECT>
<INPUT type="button" name="go" value="View Page" onClick="window.open(document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value,'Title','width=300, height=200, resizable=yes, scrollbars=yes')"></FORM>

By the way, I have found myself forced to work through MS Office Live on this, so this is on a page in the .aspx format. I can't say I'm sure that it makes a difference, but there you are.
Any help on what I need to do to get this working in IE would be very helpful. Thanks.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Rgon
post May 25 2007, 03:47 PM
Post #2





Group: Members
Posts: 2
Joined: 24-May 07
Member No.: 2,901



Nevermind about this one.
I figured out how to fix this.
Thanks.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th April 2024 - 10:57 AM