Issue
I am building a multi-page mobile application that will be run offline but it needs to be able to search for pages within itself for users to navigate around the application easy. So far everything I see online for advice about this involves or Jquery menu, and both to the best of my knowledge perform searches online with servers. What is the best advice for the element to use or direction to go for me to build a search bar where users enter a search and a list of items that are the available pages within the app appear so that the user can select on the results and navigate to those pages quickly? I am completely new and fumbling my way though this, I appreciate any help I can get
Solution
I would add a json object like:
{
pages: [
'home': '/home',
'options': '/options',
'etc': '/etc'
]
}
and use that as your data for your search to return from. Not incredibly clean, but serves the purpose.
Answered By - G_H Answer Checked By - David Marino (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.