Hello,

   My objective is to have a mouse over effect in the menubar or toolbar.

    I have a css code for having mouse over effect. It runs fine when used
using html. How to have same effect in page created using WT .
If we need only class gmenu  , setStyleClass("gmenu"); would suffice the
purpose.
But here there multiple gmenu defined with different tag "gi".

css code is given below,

.gmenu{
    background: url(menubg_bg.gif) repeat-x; /*tab background image path*/
}

.gmenu gi{
    float:left;
}

.gmenu gi a{

    padding:0 0 0 16px; /*Padding to a*/
  }

.gmenu gi a b{
    padding: 0 10px 0 0px; /*Padding of menu items*/
}

.gmenu gi.current a, .gmenu gi a:hover{
    background: url(menubg_hover_left.gif) no-repeat; /*left tab image
path*/
}

.gmenu gi.current a b, .gmenu gi a:hover b{
    background: url(menubg_hover_right.gif) no-repeat right top; /*right tab
image path*/
}

Advance thanks .
-- 
With Regards,
Sabir
+91 9895365676


Success is mostly in the attitude. “I always felt that my greatest asset was
not my physical ability, it was my mental ability.”
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to