Basic View Navigation Question

3 posts, 0 answers
  1. Christopher
    Christopher avatar
    5 posts
    Member since:
    Apr 2012

    Posted 10 May 2012 Link to this post


    I have a simple mobile app that consists of four tabStrip items which, in their respective views, contain scollable lists.  I can't wrap my head around navigating from a list-view item link to a content page.  The problem is when I click the link nothing happens --no transitions, zilch.  Here's my code:

    // Sample TabStrip View containing a slightly modified list item link to a div
    <div data-role="view" id="tabstrip-generes" data-title="Generes" data-layout="mobile-tabstrip">
    <ul data-role="listview">
    <a class='km-listview-link' src='#filmA'>Film A</a>

    // Desired view to navigate to
    <div data-role="view" id="filmA">
    Film Details, etc.  Basic content page; this single view will be repopulated with content depending upon what list-item link item is clicked then shown.

    // Bottom Tab Strip
    <div data-role="layout" data-id="mobile-tabstrip">
        <header data-role="header">
            <div data-role="navbar">
                <span data-role="view-title"></span>
                <a data-align="right" data-role="button" class="nav-button" href="#index">Index</a>

        <div data-role="footer">
            <div data-role="tabstrip">
                <a href="#tabstrip-home" data-icon="contacts">Home</a>
                <a href="#tabstrip-generes" data-icon="history">Generes</a>
                <a href="#tabstrip-search" data-icon="favorites">Search</a>
                <a href="#tabstrip-news" data-icon="settings">News</a>

    Any help would be appreciated.

  2. Petyo
    Petyo avatar
    2437 posts

    Posted 11 May 2012 Link to this post


    You have used src instead of href attribute.  

    All the best,
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Christopher
    Christopher avatar
    5 posts
    Member since:
    Apr 2012

    Posted 11 May 2012 Link to this post

    Wow -- MANY apologies for that question; I did not notice that :)  Works great now.  
Back to Top