javascript - Unable to make a SO floating effect for browsing messages in jQuery -


I am interested in the floating effect of SO when pressing the latest link:

If you look at that page and view the source, then you You can see what they are doing.It is actually a javascript of 10 lines, which scrolls the section that you want to sort when you click on the link:

  $. ScrollTo ("# answer-table", 400);  

Then this Using PI, calls with the given href on the encrypted link of jQuery:

Then the function specified for the callback, changes the entire div that you simply scroll with the result:

var domelement = $ (results);. $ ("# Answer-table") html; domelement;

The actual tab style will change only the color By specifying a different class of links for Used to be. It is also not in the order at all in which the things are done but it is very close.

Please tell me anyway how the site of stack overflow works,


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -