Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UT Dropdown behaviour - am I alone?
Message
De
30/09/2001 10:37:17
 
 
À
29/09/2001 19:52:19
Information générale
Forum:
Level Extreme
Catégorie:
Autre
Divers
Thread ID:
00562301
Message ID:
00562334
Vues:
20
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform