开发者

JQTouch with JSON-Template or any other dynamic HTML generator: indexing child divs

开发者 https://www.devze.com 2023-01-07 22:08 出处:网络
Flat HTML files work fine with JQTouch. JQTouch goes out and indexes all the child divs. The problem is that using JSON-Template to dynamically builds the divs from after a page load, so JQTouch index

Flat HTML files work fine with JQTouch. JQTouch goes out and indexes all the child divs. The problem is that using JSON-Template to dynamically builds the divs from after a page load, so JQTouch indexing doesn't happen, so navigation between divs doesn't happen.

Does anyone have any suggestions?

With other JS functions, converting standard functions to JQuery functions has worked, 开发者_开发知识库but I'm not excited about touching the JQTouch library.

function foo(){

becomes

$.fn.foo = function() {

Any tips?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号