Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
9
rated 0 times [  12] [ 3]  / answers: 1 / hits: 17432  / 11 Years ago, tue, august 27, 2013, 12:00:00

is it possible to change the possition of gritter? Or even better bind it to an element such as a span or a div?



Ive tried:



        $.gritter.add({
title: 'Dashboard',
text: 'Field updated!',
time: 2000,
position: 'center'
});


(also tried with buttom, top ect) but the position remain unchanged


More From » jquery

 Answers
1

Change position by css like left and top position:



$(#gritter).css('left',100px);
$(#gritter).css('top',20px);

[#76104] Monday, August 26, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
harleyaleenag

Total Points: 678
Total Questions: 121
Total Answers: 105

Location: Papua New Guinea
Member since Thu, Jul 9, 2020
4 Years ago
harleyaleenag questions
Thu, May 5, 22, 00:00, 2 Years ago
Wed, Aug 19, 20, 00:00, 4 Years ago
;