Giter Site home page Giter Site logo

jquery-purr's People

jquery-purr's Issues

close class attribute is specified as className rather than class

In line 60 of the code, the close element class attribute is specified as 
className rather than class. Thus, the css for the close element does not get 
applied.

Code snippet from jquery.purr.js:
        function notify ()
        {   
            // Set up the close button
            var close = document.createElement( 'a' );
            $( close ).attr(    
                {
                    className: 'close',
                    href: '#close',
                    innerHTML: 'Close'
                }
            )
                .appendTo( notice )
                    .click( function ()
                        {
                            removeNotice();

                            return false;
                        }
                    );



Original issue reported on code.google.com by [email protected] on 14 Jul 2013 at 6:07

Not working with jquery 1.9.x

What steps will reproduce the problem?

1. Just use your example from here with jquery 1.11.x

2. You will get: [Error] TypeError: 'undefined' is not an object (evaluating 
'jQuery.browser.msie')
    notify (jquery.purr.js, line 78)
    purr (jquery.purr.js, line 52)
    (anonymous function) (jquery.purr.js, line 173)
    each (jquery.min.js, line 2)
    each (jquery.min.js, line 2)
    purr (jquery.purr.js, line 171)
    (anonymous function) (purr-example.html, line 50)
    dispatch (jquery.min.js, line 3)
    handle (jquery.min.js, line 3)

3. $.browser have been removed from 1.9


What version of the product are you using? On what operating system?

latest from your page (here)

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 4 Jul 2014 at 5:03

Attach to top level document even when called from iframe

What steps will reproduce the problem?
1. If the code is being called from within an iframe the stacking order is hard 
to manipulate and therefore the message could show underneath an element in the 
iframe's parent.

To fix this you can change the line:

$( 'body' ).append( cont );

to:

$('body', window.top.document).append( cont );

This will make sure the html is attached to the top level of the document.

Original issue reported on code.google.com by [email protected] on 25 Apr 2011 at 12:23

Enhancement Suggestion: use jquery-purr when webkitNotifications not available

What steps will reproduce the problem?

I want to be able to use the webkitNotifications interface so it will use 
webkitNotifications on Google Chrome and jquery-purr on all browsers that do 
not yet support webkitNotifications.

What is the expected output? 

if (!window.webkitNotifications) window.webkitNotifications = notifierAdapter;

...

n = 
window.webkitNotifications.createNotification('http://www.greasemonkey.cn/favico
n.ico', 'Car Checkup', 'Time for the following services: Oil Change, Tire 
Pressure Check, Check Doors, etc');
n.show();

What version of the product are you using? On what operating system?
Latest version, on Windows (should also work on any system that jQuery works on)

Please provide any additional information below.

See attached file for version 0.1

Should I fork jquery-purr and create jquery-webkitnotifications-purr or join 
jquery-purr as a developer?

Original issue reported on code.google.com by [email protected] on 27 May 2011 at 11:41

Attachments:

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.