locked
Converting a href to app navigation

    Question

  • Hello,

    I'm developing a app to pull in content from remote json feeds. I'm able to successfully display html content within the app, which is not aproblem.

    My website, for example, is http://www.xyz.com.

    When I pull in content, I want all links going to http://www.xyz.com/* to become /pages/articleItem/articleItem.html and pass along a data item containing a single bit of data which is 'weblink'. Weblink will be the original href of the link (so http://www.xyz.com/blah/blah/blah).

    Any idea on how to accomplish this in Javascript?

    Joe

    Friday, August 24, 2012 11:39 AM

Answers