Skip to content

Change the right property dynamically #46

Description

@ednerbertao

Hi all !

I am trying to change the right property dynamically but it not works fine.

The code

function fv() {
if ($('#fv').css('display') == 'none') {
$('#container').animate({"right":"250px"}, 700);
$('#fv').show('fast');
}
else {
$('#container').animate({"right":"0px"}, 700);
$('#fv').hide('fast');
}
}

I tried the same code in another div and it works fine.

What I need to do ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions