Friday, 13 September 2013

Reinitalize twitter bootstrap scripts

Reinitalize twitter bootstrap scripts

I'm using twitter bootstrap 2.3 and I load my pages with ajax.
So when page loads, bootstrap is already loaded.
I have a callback when page loads, so I need some function now to
reinitialize bootstrap scripts.
For example affix function. When I load for example http://example.com, I
have there an affixed div. When I navigate to other page, this content
gets deleted and other content loads. Now when I go back to home.
bootstrap affix is not working.
Any suggestions?

No comments:

Post a Comment