Welcome Guest Search | Active Topics | Members | Log In | Register

executing adhoc javascript following page transition Options
rogers_c
Posted: Monday, November 28, 2011 12:27:07 PM
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.?
joe
Posted: Monday, November 28, 2011 3:55:33 PM

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
rogers_c
Posted: Monday, November 28, 2011 4:02:16 PM
Rank: Advanced Member

Joined: 9/21/2010
Posts: 33
Points: 99
Location: Richardson, Tx
sounds good. let's go with that, thanks!
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.