June 2004 - Posts

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.........

 

Posted by Patrick Wellink with 7 comment(s)
Filed under:

Compiling .NET code on-the-fly

I Was looking for an ASP web control that looked like the Microsoft menu. See www.microsoft.com But then I stumbled into this very interesting article....

Sometimes it is useful to add some programmability to your projects, so that a user can change or add logic. This can be done with VBScript and the like, but what fun is that when .NET allows us to play with the compiler? Obviously, your compiled "script" is going to be much faster than interpreted VBScript or Jscript.

See the complete article Here

Posted by Patrick Wellink with 3 comment(s)
Filed under:

Reread post about GUID's

For everyody who's interested,

Chris Jarvis has posted some comments on the GUID story.
He tested the search speeds and fund out that a GUID is also a slow datatype in he indexes.
See original post : http://sphear.demon.nl/weblogs/wellink/archive/2004/03/15/598.aspx 

 

 

Posted by Patrick Wellink with 4 comment(s)