> I have a row of icons and the idea is when you mouseover, a popup > (<p>) appears below it and then when you mouseout, it fades again.
There are a lot of plugins that do this, like tooltip, cluetip and jtip. Did you want to do something special? > $(nowPopup).css({left: leftPxS}); The closure is working as it should, but there is only one nowPopup variable and by the time any of the mouseover/mouseout events fire it is the same value for all the elements you've attached it to. Definitely take a look at one of the tip plugins.