Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Nep

HTML Transparency with <select> Dropdown

This topic is 5170 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was wondering if it was possible to make a html dropdown menu using <input id="searchText" maxlength="256" value="" onFocus="this.filters.alpha.Opacity=''75''" onBlur="this.filters.alpha.Opacity=''25''" onkeypress="if(event.keyCode==13) { submit(this.value); }"> </div> <!-- STYLE SHEET PART --> #searchmenu { position:absolute; left: 6px; bottom: 5px; filter: Alpha(opacity=35); } #searchmenu select { font: 9x Tahoma; color: black; background-color: white; filter: Alpha(opacity=35); } #searchmenu option { font: 9x Tahoma; color: black; background-color: white; filter: Alpha(opacity=35); } #searchmenu input { font: 9x Tahoma; color: black; background-color: white; width: 95px; height: 16px; filter: Alpha(opacity=35); } The menu still remains completely opaque. Also, on a side note, what is the syntax to alter the button used in the dropdown?

Share this post


Link to post
Share on other sites
Advertisement
Using MS-only extensions? shame shame!

you might find a hint here though:

http://lists.w3.org/Archives/Public/www-style/2001Mar/0161.html

Share this post


Link to post
Share on other sites
Its for an Active Desktop
so MS-only doesn''t matter too much in this case

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!