JOIN DEVPPL

It looks like you are new here. If you want to get involved, click on Join below!



css and Jquery


D

keyboard_arrow_up
0
keyboard_arrow_down


First Post Mark as Spam dorajones
Posts: 2 - Registered: 2013-08-19 17:47:01

I'm trying to manipulate the css code with Jquery but i'm not success with this code in website,

function(event) {

if (event.type == "mouseenter") {

$(".link_empresasite").stop(true,false).animate(

{background-Position:"right 0px",font-color:"#000"},
370

);
$(this).stop(true,false).animate(

{backgroundPosition:"right -58px",font-color:"#FFFF12"},
370

);

}


Somebody can check what is wrong?

you can see all the code at www.empresasite.com.br/estilos.css




J

keyboard_arrow_up
1
keyboard_arrow_down


Reply #1 Mark as Spam joaomatias
Posts: 5 - Registered: 2013-08-24 17:38:26

What version of jQuery are you using?




R

keyboard_arrow_up
0
keyboard_arrow_down


Reply #2 Mark as Spam Rasmus Lindström
Posts: 32 - Registered: 2015-12-20 08:38:02

I would suggest using another animation technique than jQuery's, eg CSS transitions or a VelocityJS which is very simple to integrate with jQuery.






JOIN DEVPPL

It looks like you are new here. If you want to get involved, click on Join below!




MENU
Advertising