Git Product home page Git Product logo

jquery-lavalamp's People

Contributors

jtnix 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jquery-lavalamp's Issues

selectedLava doesn't apply when menu is collapsed?

Hi,

I'm using LavaLamp with twitter bootstrap. On big screens (when the menu is visible) it works like a charm. But on mobile devices (when the menu is collapsed), when I click on the hamburger icon, the selected item is not styled.

I didn't find what's the problem, for now. If someone's got an idea...

(...).lavaLamp is not a function error

Hello I got the following error not sure what happen
$(...).lavaLamp is not a function

I'm using JQuery 1.11
this is what I used to call LavaLamp
$(".uk-navbar-nav").lavaLamp({speed: 700});

also is there a way to change the color of backLava to different color when hover on different 'li'?

Thank you

<li> width calculation error when using webfonts

Hi,
great work with lavalamp!

Just a minor issue: if you use webfonts (instead of Arial, Verdana ecc..) in menu items Lavalamp fails calculating

  • width so the backLava element initial position is not correct.

    You can see this here:
    http://www.misurastevia.it/idx/29/ricette

    I solved the problem using Jquery before Lavalamp init to calculate and assign the actual width to each

  • element so Lavalamp can get it right:

    $j( ".header .menunav ul li" ).each(function(index) {
        // set 'li' width to solve custom font width error
        elemWidth = $j(this).css('width');
        $j(this).css( "width",elemWidth );
    });
    
    // init lavalamp
    $j(".header .menunav ul").lavaLamp({ 
        fx: "easeOutQuart", 
        speed: 700
    })
    

    I'm using Lavalamp 1.4 and, jquery 1.8.3

    Alessio

  • 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.