Hi All,

I would like to ask how will I set the left value of my currently
selected list.

such that:

var a = getViewportWidth();
var b = getMouseXPosition(e);
var list_width = 150;

var c = b + list_width;

if(c > a) {
    //HOW TO: CODE FOR ADJUSTING LEFT VALUE OF SELECTED LIST
}else{
   //NO CHANGES TO BE DONE HERE.
}

[IMG]http://i605.photobucket.com/albums/tt139/borgymanotoy/problem.gif
[/IMG]

Reply via email to