How do you clear a gradient?

I'd like to show a gradient on hover.over and then remove it on hover.out. Is there a clean way to do that?

Ex:
$('.navbarItem').hover(
 function () {
  $(this).gradient({ from: 'efefef', to: 'dddddd' });
 },
  function () {
  // What goes here?
 }
);

Thanks a lot,
Alex

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 5 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.