I want to use gritters but they don't work, they are going to the bottom of the page with no style. I call it from a function in jquery using this:
$.gritter.add({
title: "Sucesso",
text: "O Administrador " + $nome + " foi adicionado com sucesso.",
fade: true,
speed: "fast"
});
Am I doing it wrong, I've tried other stuff, but didn't work. I'm using this template http://www.eakroko.de/flat/components-elements.html, and I have called the js script.
You must be forgetting to include the gritter.css file. I'd have to see your full page to help more but this is how I use it and it works fine for me...
include jQuery and jQuery UI first (jQuery UI is not required for gritter but I use it for other stuff)
then include gritter css and jss
then you can use gritter.
If that doesn't work then double check your css and make sure you don't have conflicting style definitions. To do that, set your gritter to NOT fade away, then in Chrome you can right-click on the gritter message, then select inspect element, then you will be able to view all its applied styles.