Giter VIP home page Giter VIP logo

Comments (9)

jrmyio avatar jrmyio commented on May 23, 2024

Also looking for this...

from pnotify.

kimptoc avatar kimptoc commented on May 23, 2024

+1

from pnotify.

maxwowpow avatar maxwowpow commented on May 23, 2024

Definitely +1!
It's a NOTIFICATION, not a window with workable area, where one can click inside and do some meaningful actions (in comparison with pnotify form).
Created a pull #73. Cheers!

from pnotify.

hperrin avatar hperrin commented on May 23, 2024

I don't think this is the best solution. Rather than making another option, you could do something like this:

var notice = $.pnotify({
    text: "Click me to close.",
    closer: false,
    sticker: false
}).click(function(){ notice.pnotify_remove(); });

from pnotify.

hperrin avatar hperrin commented on May 23, 2024

I've added this as one of the demos, so anyone else seeking this feature will see how it can be done.

from pnotify.

hperrin avatar hperrin commented on May 23, 2024

Keep in mind that this prevents the user from copying the text inside the notice. If you're using the notices to display error messages, it may be nice to allow your users to pin the notices and to copy their text.

from pnotify.

kimptoc avatar kimptoc commented on May 23, 2024

Thanks

from pnotify.

chfw avatar chfw commented on May 23, 2024

Please note that since version 2.1, pnotify_remove() of a PNotify instance is renamed to remove()

from pnotify.

kafeltz avatar kafeltz commented on May 23, 2024

i like @hperrin solution, it makes sense as it seems like a peculiar solution

from pnotify.

Related Issues (20)

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.