moliri / foodly

0 stars 1 forks source link

[UI: all] add navigation (menu button and pane) to all pages #28

Open moliri opened 10 years ago

moliri commented 10 years ago

Working with Daniel who created the initial pane

moliri commented 10 years ago

Know how to replicate panes on each page and how to have them link to the appropriate pages. Will show Peiying so she can learn how.

moliri commented 10 years ago

So the issue with the favorites button not working has to do with this line in index.html: < li style="white-space: normal !important"> < a href="" id="favList"> My Favorites < /a > < /li >

And this function in the js:

    $('#favList').click(function() {
    data = backendGetRecipe(user_id, fillRecipeListArr);  
    $.mobile.changePage('#recipeList');

The panels are numbered as introPanel1...introPanel5 in the HTML to avoid the pages from looping into one another, but each panel uses favList. If someone could look into this, that would be great!