jquerymobile and chartbeat
Hi, do you have any experience of successful integration of chartbeat inside jquerymobile?
i've tried
- $('#page_3232').live('pageshow',function(event){
- try {
- $('#page_3232').find('div[level="2"] a[href="' + window.location.hash.replace("#", '') + '"]').addClass('ui-btn-active');
- $('#page_3232').find('div[level="1"] a[href="' + window.location.hash.replace("#", '') + '"]').addClass('ui-btn-active');
- document.title = "My new document title";
- loadChartbeat();
- var pageTracker = _gat._getTracker("XXX");
- pageTracker._trackPageview();
- } catch(err) {
- }
but it isn't working very well, do you have any idea about it?