No. This is not a web app. My app is a multimedia processong and publishing tool. It is in cocoa. I use web view only for easy rendering of a group of objects in my app.
so even though I have a local html file, with <a href> links to the image or video objects, I need to open the obj in my own panel for editing/publishing when the user clicks on the link from the WebView. On Tuesday, August 3, 2010, John Joyce <jjo...@apple.com> wrote: > This is not a Cocoa question. > What you are describing is simply a (local) web application. > This can all be done via JavaScript, CSS, HTML and something like > PHP/Perl/Python/Ruby. > > > On Aug 3, 2010, at 12:17 AM, Wayne Shao wrote: > >> Hi, >> >> I'd like to present some HTML content in WebView. >> >> The HTML content is from a local file, with references to some local images >> and a few <a href> hyperlinks. >> >> However, I want to override the click of all hyperlinks in the page so that >> I open it within my application. >> When the user clicks on a hyperlink, I do not want the link content to be >> displayed in WebView. Instead, I want to do some processing >> and present relevant information in another view in my application. >> >> How shall I do this? The delegates in WebView are not helpful. >> >> -- >> W. Shao >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> Please do not post admin requests or moderator comments to the list. >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >> >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/cocoa-dev/jjoyce%40apple.com >> >> This email sent to jjo...@apple.com > > -- W. Shao _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com