Solved

how can I set an image in a Alertify.js notification (Growl)?

Posted on 2014-10-02
3
438 Views
Last Modified: 2014-10-04
Dear Experts,

I'm wondering on how to set an image as background-image in the notification (log) of Alertify.js.

Actually the Growl is like this:
growlactually.png
And I want to set a background-image to look something like this:
desiredgrowl.png
Thanks in Advance.

Best Regards.
0
Comment
Question by:Conrado ZAVALA
3 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 40358241
Try this :
.alertify-logs {
    background-image: url(picture-with-right-size.jpg) no-repeat;
}

Open in new window

0
 
LVL 11

Expert Comment

by:Murfur
ID: 40359056
What leakim971 said, but I think you mean the div with class of .ajs-message
0
 

Author Closing Comment

by:Conrado ZAVALA
ID: 40361283
Thank you very much.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question