Is there any way i can change the toggle function or any of it’s other functions (fadein, fadeout, slidetoggle etc) to make it instead of changing the display to none, it keeps display as block but makes the z-index to -9999 to achieve the same effect? I need this because inside my div, i have scrollable content, and when the div is recalled, the scroll starts back at the top instead of where the user was last at. Or alternatively, is there a way to on postback to immediately scroll to a class with .imgactive?
Share
I think this snippet will give you some ide how to implment that function:
And a mini demo: http://jsfiddle.net/4NQXa/