Rank: Advanced Member
Joined: 9/21/2010 Posts: 33 Points: 99 Location: Richardson, Tx
|
Hey guys,
Due to various little things, I am trying to identify a way to run javascript following the transition between screens on v2.3 (and v3.0 would be handy for future projects, if it is differant).
Basically, I need to disable tel: links in the case of iPads (given the nature of this site, those links may be programatic or content driven) and I need to do some analytics/usage tracking stuff on each "page".
Also, do you guys have API documentation for the ME client-side object, etc.?
|
 Rank: ME Staff
Joined: 1/12/2009 Posts: 279 Points: 408 Location: VA
|
In 2.3 the ME namespace is pretty simple. It is more robust in 3.0, but still not very open. This is something that we are spending a lot of time on for the next release.
I can send you an unminified version of 2.3 ME.js and show you where to put your changes. What you can do is copy the method that you need to augment and put it in a JS file in your theme. That method will overwrite the default from the base ME.js file.
-joe
|
Rank: Advanced Member
Joined: 9/21/2010 Posts: 33 Points: 99 Location: Richardson, Tx
|
sounds good. let's go with that, thanks!
|