Giter Club home page Giter Club logo

notificationstyles's People

Contributors

botelho avatar crnacura avatar crookedneighbor avatar imanmh avatar marcintabaka avatar ofca avatar xiao-jing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

notificationstyles's Issues

creating stacks

It seems that is not possible to create stacks of notification, right now all the notifications are overlapped each other.

Any hint?

Integrate SASS

Could you integrate a Sass Version? Because I use bower to install this feature and sass for compiling.

Thumbslider div is never destroyed on notification dismiss

The thumbslider notification div is created on notification init, when close is called the notification closes but its div is never destroyed. The below code stays in the wrapper in which it was created:
<div class="ns-box ns-other ns-effect-thumbslider ns-type-warning ns-show"><div class="ns-box-inner"><span class="ns-close"></span></div>

Also, when notification.show(); is called multiple times, multiple divs are created and none of them are destroyed on close.

Tested rest of the notifications, div is destroyed in that case.

Minify CSS

I can not minify css, someone had the same problem?

Notification processing should finish then load the page

Hi,

i'm currently using your notification style on the web app we are developing. and i seem to have trouble.

I'm using the loading circle and applied it on yii2, it's for adding questions and the notification message will show on the loading circle.

SCRIPT 1

<?php
    $this->registerJs(
        '(function() {
            var svgshape = document.getElementById( "notification-shape" ),
					bttn = document.getElementById( "notification-trigger" );
        
                bttn.disabled = false;
                
                bttn.addEventListener( "click", function() {
                var notification = new NotificationFx({
                    wrapper : svgshape,
                    message : "'.Html::encode($model->_message).'",
                    layout : "other",
                    effect : "loadingcircle",
                    ttl : 15000,
                    type : "notice",
                    onClose : function() {
							bttn.disabled = false;
						}
					});
                    
                    notification.show();
                    
//                    this.disabled = true;
                    
                    } );
			})();
        '
    );
  ?>

The structure is the same with a normal scripting style, so I hope it's understandable.
Aside from this code, I have this pre loader script,

SCRIPT 2

(function($){
    $(window).load(function() {
        $(".tloader").fadeOut("slow");
    })
})(jQuery);

Now the SCRIPT 2 is messing up with my loading circle, it doesn't finish loading it.

maybe you can help me do something about the loading circle? like letting it finish to load first before the SCRIPT 2 loads?

By the way, thanks for this widget! ๐Ÿ‘

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.