Hi Bruce,
Just tested this with an iPad and it is not working. Looking at the User-Agent string that is coming in from the iPad, the IsMenuTouch() method isn't able to correctly match for an iPad.
IsMenuTouch currently looks for:
instring('ipad ',self._useragent,1,1)
...but the User-Agent string of this particular iPad was:
User-Agent: Mozilla/5.0 (iPad; CPU OS 7_1 like Mac OS X) AppleWebKit...
I think you may want to remove the space in each of the 'instring' check of this method so they look like:
instring('ipad',self._useragent,1,1)
Regards,
Trent