Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UT Dropdown behaviour - am I alone?
Message
From
30/09/2001 10:37:17
 
 
To
29/09/2001 19:52:19
General information
Forum:
Level Extreme
Category:
Other
Miscellaneous
Thread ID:
00562301
Message ID:
00562334
Views:
19
>On my system the Archives dropdown goes down 3 entries to "Downloads" (as expected) but it also *opens* that link.
>
>Expected behaviour - dropdown value simply changes to "Downloads", link not opened.

Al,

That part is very normal. If you open the dropdown and click on an item, it opens the link (because of the OnChange=GoURL(this) that's in the definition of the dropdown) so you don't have to click a submit button or something. The thing is that when you scroll, it's a change, and therefore the javascript GoURL executes, which opens the link. Just create a dropdown on a form in VFP, put a messagebox in the InteractiveChange event and it will fire everytime you scroll. Same thing here!

You could argue that this makes the wheel completely useless, and I think you're right, but then again I don't like Java/Javascript/VBscript (the last one no longer beeing a problem since I'm running Linux). I tried turning all those things off, but then most sites don't work properly after that.
Sylvain Demers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform