문제

My need is as following:

  • I have an iOS mobile phone with a webview component.
  • I use the webview to show my facebook page feeds on the app with Likebox
  • All works fine but when a user clicks on the links from the likebox it leaves the webpage and get redirected to facebook which is normal BUT I WOULD LIKE TO DISABLE THAT FEATURE

Can any body help ?

I can do any work arround using: PHP, jQuery

ideally I would like to keep like button working

도움이 되었습니까?

해결책

You could use jquery to intercept the clicks on any link in that div and then have them return false, right?

$('#likebox a').click(function() { return false; });

Maybe?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top