HighTechTalks DotNet Forums  

Re: xp style control - Drop Down

ASP.net Building Controls microsoft.public.dotnet.framework.aspnet.buildingcontrols


Discuss Re: xp style control - Drop Down in the ASP.net Building Controls forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Vidar Petursson
 
Posts: n/a

Default Re: xp style control - Drop Down - 07-05-2003 , 11:02 AM






Hi

I dont know if such a control exists but its not hard doing it
simply use a div with display=none and toggle it, In Explorer you
can add visual filters and stuff also

Basic toggle example

<div onclick="toggle('myDiv')">Toggle</div>

<div id="myDiv" style="display:none">
CONTENT HERE
</div>

function toggle(sElementID){
if(document.getElementById)
{
var e = document.getElementById(sElementID);
if(e!=null)
{
e.style.display = ( e.style.display == "none") ? "block" : "none";
}
}
}

More info
http://msdn.microsoft.com/library/de...ence_entry.asp

--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"Pablo Pecora" <pablo.pecora (AT) itau (DOT) com.ar> wrote

Quote:
xp style control - Drop Down

I'm looking for an Windows XP Style Web Control, like the one I attaching
here...
(The drop down that appears in the Windows Explorer)






Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.