Whooooooooooow very nice indeed....

I was looking for a 'Microsoft look alike' roll over button.

Go to www.microsoft.com hover a little around in the menu on the left and see what I mean. I Asked a very experienced C# programmer (the kind that makes fun of us VB programmers) for help.

Wel he couldn't help me either so Hit the RETINKIFY button on the VB.NET context menu and found someting very nice.

In the Styles you can add the hover property like this :

.menu

{
border-right: whitesmoke 1px solid;
border-top: whitesmoke 1px solid;
font-weight: normal;
font-size: x-small;
text-transform: none;
border-left: whitesmoke 1px solid;
color: dimgray;
border-bottom: whitesmoke 1px solid;
font-family: Tahoma;
background-color: whitesmoke;
text-align: center;
text-decoration: none;
}

.menu:Hover
{
border-right: black 1px solid;
border-top: black 1px solid;
font-weight: normal;
font-size: x-small;
vertical-align: baseline;
text-transform: none;
border-left: black 1px solid;
cursor: hand;
color: black;
border-bottom: black 1px solid;
font-family: Tahoma;
background-color: darkgray;
text-align: center;
text-decoration: none;
}

When you are not hovering .menu is used and when you hoover .menuHover is used. What I don't know is if there are more : tricks like :CLICK or whatever.... Anoybody of the Wasabi Guru's know the answer ????

I am sure you all knew this but I see a lot of control.properties.add(“onmouseover“,“bla bla java stuff to change backround color“) that's not needed.........

 

Published 06-11-2004 12:12 PM by Patrick Wellink
Filed under:

Comments

# re: Whooooooooooow very nice indeed....

Friday, June 11, 2004 1:25 PM by Patrick Wellink
First off, I rolled over the floor, laughing, because of your funny post. And thanks for calling me a "very experienced C# programmer". :)

But seriously, I can't remember your question and deleted the emails, but I must've wrongly interpreted your question. I can't remember you asking this or I would've come up with an answer. If you could email our conversation again, I'd be happy to look into it again! :)

Any, if you only refer to the block that surrounds your choice, you copied that from my onto your own blog! And if you want menus, check out dhtmlcentral.com

Finally, if everything goes well, we'll order Infragistics tools (www.infragistics.com) for a project and we'll be able to use it on other projects as well. So if your question is business related, you can use it as well! :)

# re: Whooooooooooow very nice indeed....

Friday, June 11, 2004 2:43 PM by Patrick Wellink
Indeed I see what you mean....
it is the same menu like stuff used on wasabi....

Now I see that I copied it from your style sheet.......

But I never realised it was that easy

# re: Whooooooooooow very nice indeed....

Friday, June 11, 2004 3:04 PM by Patrick Wellink
So we notice some things:

- You asked a totally different question to me via email
- I DO know the answer
- You're not paying attention to your blog and/or do things you do yourself! ;)

Even?! ;)

# re: Whooooooooooow very nice indeed....

Friday, June 11, 2004 3:05 PM by Patrick Wellink
Oh, and btw, in the Microsoft menu there's the ability that items that have been chosen, are selected after page's refresh, if I'm not mistaken

# re: Whooooooooooow very nice indeed....

Friday, June 11, 2004 3:50 PM by Patrick Wellink
Simple CSS stuff, pff....

Every technical consultant of the former RTSD1 unit should know this...
Why else were we called a "web development" unit?

# re: Whooooooooooow very nice indeed....

Friday, June 11, 2004 3:52 PM by Patrick Wellink
If you want to see CSS taken to its extreme (almost), take a look at http://www.csszengarden.com/

# re: Whooooooooooow very nice indeed....

Friday, June 11, 2004 4:09 PM by Patrick Wellink
Yes I know now that CSS is powerfull, But Dennis, I Asked you the same......

But i thought you had to add the onmouse stuff. An dthat is why i wanted to put it in a usercontrol.

But the properties.add is not needed if you do it the right way.

And Ernst, I really don't know why we are called "Web Developement" unit.

Maybe because we browse the web a lot about devolpement ?