Skip to content

Instantly share code, notes, and snippets.

@smart
Created August 25, 2010 02:27
Show Gist options
  • Save smart/548724 to your computer and use it in GitHub Desktop.
Save smart/548724 to your computer and use it in GitHub Desktop.
void CRhodesApp::navigateToUrl( const String& strUrl)
{
#ifdef OS_MACOSX
if (strUrl == canonicalizeRhoUrl("/jqtouch"))
{
String longMan = "$('.content .navbar_link').trigger('tap')";
rho_webview_execute_js(longMan.c_str(), 0);
return;
}
#endif
rho_webview_navigate(strUrl.c_str(), 0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment